Commit Graph

13 Commits

Author SHA1 Message Date
uwe 7a3a96c13a ching(6): Fix formatting. .Pp is not .br
The man returns to the proper path.  Auspicious.
2022-08-19 00:40:20 +00:00
dholland 7229854715 this already passes WARNS=5 2013-08-11 03:27:02 +00:00
plunky 9f61b80465 NULL does not need a cast 2011-08-31 16:24:54 +00:00
dholland f59d107e64 sprinkle static 2009-08-12 05:35:44 +00:00
dholland a1be1bdddd Set WARNS=4 here. This got missed on my previous WARNS sweep in games.
Everything appears to compile ok with WARNS=4 anyway though.
2009-06-04 06:51:11 +00:00
mrg acc852a217 more MKSHARE == no fixes:
- move installation of atf pkg-config files out of share/atf/
- don't install spell or ching share files
- update some directory entries to not have 'share' tag

now my MKLINT=no MKSHARE=no MKPROFILE=no builds work again.
2008-10-30 21:37:55 +00:00
lukem 2fe2731d3f Remove the \n and tabs from the __COPYRIGHT() strings. 2008-07-20 00:52:39 +00:00
wiz a2b9f45e1c Quote macro. 2005-07-05 08:48:47 +00:00
wiz 0dab3b253e Sort sections. Use mdoc macros. Reformat. 2005-07-02 10:46:21 +00:00
wiz 2f511b7404 Removing trailing spaces. 2005-07-02 10:40:50 +00:00
martin 844e014ade Initialize lnum and unum to avoid a "might be used uninitialized"
warning.
2005-06-30 13:44:48 +00:00
perry 2442385313 missing paragraph break from the original 2005-06-30 13:34:29 +00:00
perry 5175ead765 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
2005-06-30 13:30:33 +00:00