try to make sure that path-addrs always have <angle brackets>
[unix-history] / usr / src / games / ching / ching.6
CommitLineData
d1938e6a
KB
1.\" Copyright (c) 1993
2.\" The Regents of the University of California. All rights reserved.
54a34ee9 3.\"
a98b8d37
KB
4.\" %sccs.include.proprietary.roff%
5.\"
d1938e6a 6.\" @(#)ching.6 8.1 (Berkeley) %G%
36cc81c3 7.\"
5a28fe5a 8.TH CHING 6 ""
36cc81c3
KM
9.AT 3
10.SH NAME
204c0584 11ching \- the book of changes and other cookies
36cc81c3 12.SH SYNOPSIS
07b20fd6 13.B ching
36cc81c3 14[ hexagram ]
36cc81c3
KM
15.SH DESCRIPTION
16The
17.I "I Ching"
18or
19.I "Book of Changes"
204c0584
KM
20is an ancient Chinese oracle that has been in use for centuries
21as a source of wisdom and advice.
36cc81c3
KM
22.PP
23The text of the
24.I oracle
204c0584 25(as it is sometimes known) consists of sixty-four
36cc81c3 26.I hexagrams,
204c0584
KM
27each symbolized by a particular arrangement of six straight (\-\-\-)
28and broken (\-\ \-) lines. These lines have values ranging
29from six through nine, with the even values indicating the broken lines.
36cc81c3 30.PP
204c0584 31Each hexagram consists of two major sections. The
36cc81c3 32.B Judgement
204c0584
KM
33relates specifically to the matter at hand (E.g.,
34\*(lqIt furthers one to have somewhere to go.\*(rq) while the
36cc81c3 35.B Image
204c0584
KM
36describes the general attributes of the hexagram and how they apply
37to one's own life (\*(lqThus the superior man makes himself strong
36cc81c3
KM
38and untiring.\*(rq).
39.PP
204c0584
KM
40When any of the lines have the values six or nine, they are moving lines;
41for each there is an appended judgement which becomes significant.
42Furthermore, the moving lines are inherently unstable and
43change into their opposites; a second hexagram
44(and thus an additional judgement) is formed.
36cc81c3 45.PP
204c0584
KM
46Normally, one consults the oracle by fixing the desired question
47firmly in mind and then casting a set of changes (lines)
48using yarrow\-stalks or tossed coins. The resulting hexagram
49will be the answer to the question.
36cc81c3 50.PP
204c0584 51Using an algorithm suggested by S. C. Johnson, the UNIX
36cc81c3 52.IR oracle " simply reads"
204c0584
KM
53a question from the standard input (up to an EOF)
54and hashes the individual characters in combination with the
55time of day, process id and any other magic numbers which happen to be lying
56around the system. The resulting value is used as the seed
57of a random number generator which drives a simulated coin\-toss divination.
36cc81c3
KM
58The answer is then piped through
59.BR nroff " for formatting"
204c0584 60and will appear on the standard output.
36cc81c3 61.PP
204c0584
KM
62For those who wish to remain steadfast in the old traditions,
63the oracle will also accept the results of a personal divination using,
64for example, coins. To do this, cast the change and then type the
65resulting line values as an argument.
36cc81c3 66.PP
204c0584
KM
67The impatient modern may prefer to settle for Chinese cookies; try
68.IR fortune (6).
36cc81c3
KM
69.SH "SEE ALSO"
70It furthers one to see the great man.
71.SH DIAGNOSTICS
72The great prince issues commands,
73.br
74Founds states, vests families with fiefs.
75.br
76Inferior people should not be employed.
77.SH BUGS
78Waiting in the mud
79.br
80Brings about the arrival of the enemy.
81.PP
82If one is not extremely careful,
83.br
84Somebody may come up from behind and strike him.
85.br
86Misfortune.