Subject: CVS commit: src/games/ching
To: None <source-changes@NetBSD.org>
From: Perry E. Metzger <perry@netbsd.org>
List: source-changes
Date: 06/30/2005 13:30:33
Module Name:	src
Committed By:	perry
Date:		Thu Jun 30 13:30:33 UTC 2005

Added Files:
	src/games/ching: Makefile Makefile.inc
	src/games/ching/castching: Makefile castching.c
	src/games/ching/ching: Makefile ching.6 ching.sh hexagrams macros
	src/games/ching/include: ching.h
	src/games/ching/printching: Makefile pathnames.h printching.c

Log Message:
ching(6) -- The Book of Changes, not seen in BSD since 4.4BSD.

The C code is a complete rewrite done by Guy Harris for 4.4BSD and is
not the original from v7 at all. Unfortunately, the data file itself,
without which the rest isn't useful, was not freed until Caldera
released all of 32v a few years ago, so it was not in 4.4lite.

The data file, the ching nroff macros, and the driver script are under
Caldera or Caldera+Berkeley copyright.

I've partially redone the driver script from 4.4 (there was no point
in using a temporary file for the hexagram), which was already
partially redone from 32v. (As an aside, it is nutty that the script
needs a copyright so many times longer than the code.)

I've renamed "cno" to "castching", "phx" to "printching", (the
traditional names were opaque), and put them in /usr/libexec/ching
instead of the v7 /usr/games/ching.d. The data file and nroff macros
are in /usr/share/games/ching


To generate a diff of this commit:
cvs rdiff -r0 -r1.1 src/games/ching/Makefile src/games/ching/Makefile.inc
cvs rdiff -r0 -r1.1 src/games/ching/castching/Makefile \
    src/games/ching/castching/castching.c
cvs rdiff -r0 -r1.1 src/games/ching/ching/Makefile \
    src/games/ching/ching/ching.6 src/games/ching/ching/ching.sh \
    src/games/ching/ching/hexagrams src/games/ching/ching/macros
cvs rdiff -r0 -r1.1 src/games/ching/include/ching.h
cvs rdiff -r0 -r1.1 src/games/ching/printching/Makefile \
    src/games/ching/printching/pathnames.h \
    src/games/ching/printching/printching.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.