Files
BSDGames/ChangeLog
joey 03272d67da Initial revision
git-svn-id: file:///srv/svn/joey/bsdgames-trunk@5086 a4a2c43b-8ac3-0310-8836-e0e880c912e2
1999-09-08 23:56:51 +00:00

3148 lines
91 KiB
Plaintext

1998-09-24 Joseph Samuel Myers <jsm@octomino.demon.co.uk>
* Version 2.5.
* bsd-games.lsm, bsd-games-non-free.lsm: Update.
* Paul Janzen has checked with the original author, and it turns
out the the BSD licence applies to boggle and obsoletes the old
one, so boggle can go in the main bsd-games package.
* boggle/README: Update accordingly.
* boggle/README.linux, boggle/Makefrag: Update accordingly. No
longer need to include uuencoded patch.
* boggle/boggle/helpfile: Update accordingly.
* INSTALL: Update accordingly.
* NEWS: Update accordingly.
* PACKAGING: Update accordingly.
* README, README.non-free: Update accordingly.
* bsd-games.lsm, bsd-games-non-free.lsm: Update accordingly.
* TODO: Update accordingly.
* THANKS: Update accordingly.
1998-09-23 Joseph Samuel Myers <jsm@octomino.demon.co.uk>
* NEWS: Update.
* trek/main.c: Make Mother uid_t.
* hunt/hunt/hunt.c: Don't declare errno.
* hunt/huntd/hunt.h: Don't declare errno - include <errno.h>
instead.
* factor/Makefrag: Define _GNU_SOURCE, for isblank().
* number/Makefrag, primes/Makefrag: Likewise.
* With glibc 2.1, various headers can be included with an
__need_foo preprocessor define to make them only define some
particular symbols; this interacts badly with multiple inclusion
protection on the header wrappers in bsd-games. Therefore, we
must not protect wrapper headers against multiple inclusion, but
instead make sure they are safe to be included multiple times and
only protect local bits that need it.
* include/signal.h: Don't protect against multiple inclusion -
only protect the sig_t definition that needs it.
* include/stdlib.h: Don't protect against multiple inclusion.
* include/stdio.h: Don't protect against multiple inclusion.
* include/termios.h: Don't protect against multiple inclusion.
* include/sys/cdefs.h: Don't protect against multiple inclusion.
* include/sys/ttydefaults.h: Don't protect against multiple
inclusion.
* dm/dm.c: Don't include <nlist.h> - it isn't needed, and doesn't
exist with some glibc versions.
* INSTALL: Minor changes.
1998-09-15 Joseph Samuel Myers <jsm@octomino.demon.co.uk>
* atc/Makefile.bsd, atc/extern.h, atc/input.c, atc/main.c,
backgammon/backgammon/backgammon.6.in,
backgammon/common_source/back.h, backgammon/common_source/fancy.c,
backgammon/common_source/save.c, backgammon/common_source/subs.c,
backgammon/teachgammon/tutor.h, banner/banner.c,
battlestar/extern.h, battlestar/save.c, boggle/boggle/extern.h,
caesar/caesar.c, canfield/canfield/canfield.c,
cribbage/cribbage.h, dm/dm.c, factor/factor.c, fish/fish.c,
fortune/datfiles/fortunes, fortune/fortune/fortune.c,
fortune/strfile/strfile.c, gomoku/gomoku.h, hunt/hunt/hunt.c,
hunt/huntd/hunt.h, mille/mille.h, number/number.c, pig/pig.c,
primes/primes.c, quiz/quiz.c, robots/robots.h, rogue/rogue.h,
sail/extern.h, snake/snake/snake.h, tetris/tetris.c,
tetris/tetris.h, worm/worm.c, worms/worms.c, wump/wump.c: Update
from NetBSD-current of 1998-09-14.
* atc/games/ATC_Scores, sail/:file, sail/:scene, sail/:ship,
sail/:specs, trek/board.x: Removed (unused, and removed in
NetBSD-current of 1998-09-14 in response to PR bin/6083).
1998-09-14 Joseph Samuel Myers <jsm@octomino.demon.co.uk>
* adventure/done.c, adventure/extern.h, adventure/io.c,
adventure/main.c, adventure/setup.c, adventure/subr.c,
adventure/vocab.c, arithmetic/arithmetic.c: Update from
NetBSD-current of 1998-09-14.
* mille/move.c: Remove unused Movenames[] array.
* mille/comp.c, mille/mille.h, mille/extern.c, mille/move.c,
mille/save.c, mille/print.c: Use const where appropriate.
* robots/robots.h: #undef S_BONUS before defining.
* mille/mille.h: #undef S_* constants before defining.
* atc/def.h: #undef S_* constants before defining.
* hunt/hunt/connect.c, hunt/huntd/hunt.h, hunt/hunt/main.c,
hunt/hunt/playit.c, hunt/huntd/answer.c, hunt/huntd/draw.c,
hunt/huntd/faketalk.c, hunt/huntd/get_names.c,
hunt/huntd/pathname.c, hunt/huntd/terminal.c, hunt/huntd/driver.c:
Use const where appropriate.
* hangman/extern.c, hangman/hangman.h, hangman/setup.c: Use const
where appropriate.
1998-09-13 Joseph Samuel Myers <jsm@octomino.demon.co.uk>
* gomoku/bdisp.c, gomoku/gomoku.h, gomoku/main.c,
gomoku/makemove.c, gomoku/pickmove.c, gomoku/stoc.c: Use const
where appropriate.
* configure: Generate GNUmakefile, not Makefile - the makefile and
makefile fragments are thoroughly dependent on GNU Make.
* backgammon/common_source/back.h: No longer any need to define
OXTABS.
* snake/snake/move.c: No longer any need to define CTRL or OXTABS.
* tetris/screen.c: No longer any need to define OXTABS.
* mille/misc.c: No longer any need to define CTRL.
* snake/snake/snake.c: No longer any need to define CTRL.
* include/sys/ttydefaults.h: Define OXTABS if not already defined.
* include/termios.h: New file, also include <sys/ttydefaults.h>.
* THANKS: Update.
* adventure/crc.c: Mark crctab[] const.
* adventure/vocab.c (vocab): Use errx() for error messages.
* adventure/main.c (main): Use bug(22) rather than printing "Error
22".
* adventure/io.c (rdesc): Use errx() for error messages.
* monop/Makefile.bsd: Update from NetBSD-current of 1998-09-13.
* adventure/crc.c, adventure/extern.h, adventure/io.c,
adventure/save.c, adventure/vocab.c: Update from NetBSD-current of
1998-09-13 (const changes merged into NetBSD).
1998-09-12 Joseph Samuel Myers <jsm@octomino.demon.co.uk>
* All games now updated from NetBSD-current of 1998-09-12.
* adventure/extern.h, adventure/main.c, atc/def.h, atc/update.c,
backgammon/common_source/subs.c, battlestar/battlestar.6,
bcd/bcd.6, boggle/mkindex/mkindex.c, canfield/canfield/canfield.c,
hangman/hangman.h, hangman/main.c, hunt/huntd/hunt.h,
monop/execute.c, monop/monop.c, pom/pom.c, rogue/monster.c,
rogue/object.c, rogue/pack.c, rogue/room.c, sail/dr_2.c,
sail/sync.c, snake/snscore/snscore.c, trek/dumpgame.c,
trek/warp.c: Update from NetBSD-current of 1998-09-12.
1998-09-11 Joseph Samuel Myers <jsm@octomino.demon.co.uk>
* BUGS: Update.
* SECURITY: Update.
* INSTALL: Update.
* NEWS: Update.
* TODO: Update.
1998-09-10 Joseph Samuel Myers <jsm@octomino.demon.co.uk>
* adventure/io.c (pspeak): Give "Out of memory!" error on
allocation failure rather than bug(108).
1998-09-07 Joseph Samuel Myers <jsm@octomino.demon.co.uk>
* boggle/README.linux, boggle/Makefrag: Update.
1998-09-06 Joseph Samuel Myers <jsm@octomino.demon.co.uk>
* */Makefrag: Further changes for the new build system.
1998-09-05 Joseph Samuel Myers <jsm@octomino.demon.co.uk>
* New configuration/build system, based on a single makefile that
includes makefile fragments that together describe all the
dependencies (using GNU make's automatic dependency generation).
See `Recursive Make Considered Harmful' by Peter Miller
<http://www.canb.auug.org.au/~millerp/rmch/recu-make-cons-harm.html>
for a discussion of the advantages of this over recursive make.
* configure, install-score.in, Makeconfig.in: Changes for the new
system.
* Makefile: Removed.
* mkdep, exec.libs, exec.objs: New files.
* */Makefile, */*/Makefile: Renamed to Makefrag and changed for
the new system.
* hunt/Makeconfig: Adapted to the new system.
* backgammon/README.linux: Removed.
* TODO: Update.
* PACKAGING: Update.
* INSTALL: Update.
* fortune/fortune/pathnames.in: Remove TEST support.
* fortune/README.linux: Update.
* Version 2.4.
* bsd-games-non-free.lsm: Update.
* bsd-games.lsm: Update.
* TODO: Update.
* INSTALL: Update.
* BUGS: Update.
1998-09-04 Joseph Samuel Myers <jsm@octomino.demon.co.uk>
* backgammon/teachgammon/Makefile (COBJS): No need to include
odds.o.
* TODO: Update.
* NEWS: Update.
* THANKS: Update.
* dm/dm.c: Allow time-based games play to be turned off from 11pm
to midnight; remove spurious terminal full stop from err() string
(patch from Paul Janzen <pjanzen@foatdi.harvard.edu>).
1998-09-02 Joseph Samuel Myers <jsm@octomino.demon.co.uk>
* NEWS: Update.
* lib/fgetln.c (fgetln): Check for allocation failure.
* hunt/huntd/shots.c (chkslime): Check for allocation failure.
* hunt/huntd/expl.c (showexpl): Check for allocation failure.
* hunt/hunt/hunt.c: Check for allocation failure.
* gomoku/pickmove.c: Check for allocation failure.
* BUGS: Update about gomoku defect.
* INSTALL: Update egcs 1.1 references.
* battlestar/dayobjs.c (dayobjs): Add missing initialiser at end.
* battlestar/nightbojs.c (nightobjs): Likewise.
1998-09-01 Joseph Samuel Myers <jsm@octomino.demon.co.uk>
* backgammon/common_source/fancy.c (getcaps): Check for allocation
failure.
* atc/graphics.c (loser): Check for p being NULL, which it could
be if we tun out of memory.
* atc/update.c: Allow for newplane() to return NULL if out of
memory.
* adventure/vocab.c (vocab): Check for memory allocation failure.
* adventure/io.c (rtrav): Check for memory allocation failure.
* NEWS: Update.
* rogue/save.c (save_into_file): Avoid buffer overrun.
* rogue/Makefile (object.o): Build object.o with
-fwritable-strings - the other files don't need it. Also don't
build curses.c.
* TODO: Update.
* rogue/rogue.h: Undefine CURSES after including <curses.h>.
* rogue/rogue.h, rogue/hit.c, rogue/message.c, rogue/init.c,
rogue/machdep.c, rogue/save.c, rogue/inventory.c, rogue/object.c,
rogue/level.c, rogue/monster.c, rogue/pack.c, rogue/play.c,
rogue/ring.c, rogue/room.c, rogue/score.c, rogue/throw.c,
rogue/trap.c, rogue/use.c, rogue/zap.c, rogue/move.c: Use const
where appropriate.
* fish/fish.c: Use const where appropriate.
* phantasia/io.c (getanswer): Mark loop, oldx, oldy volatile.
1998-08-31 Joseph Samuel Myers <jsm@octomino.demon.co.uk>
* adventure/setup.c (main): String passed to err() shouldn't have
full stop at its end.
* factor/factor.c, primes/pr_tbl.c, primes/primes.c,
primes/pattern.c: Use const where appropriate.
* dm/dm.c: Use const where appropriate.
* cribbage/cribbage.h, cribbage/cards.c, cribbage/instr.c,
cribbage/io.c, cribbage/score.c, cribbage/support.c: Use const
where appropriate.
1998-08-30 Joseph Samuel Myers <jsm@octomino.demon.co.uk>
* NEWS: Update.
* All games now updated from NetBSD-current of 1998-08-30.
* adventure/extern.h, adventure/hdr.h, adventure/init.c,
adventure/io.c, backgammon/backgammon/main.c,
backgammon/common_source/save.c, backgammon/teachgammon/teach.c,
battlestar/com5.c, boggle/boggle/bog.c,
canfield/canfield/canfield.c, canfield/cfscores/cfscores.c,
cribbage/crib.c, cribbage/score.c, fortune/fortune/fortune.c,
hunt/hunt/hunt.c, monop/cards.c, monop/morg.c, phantasia/fight.c,
phantasia/main.c, phantasia/misc.c, sail/dr_1.c, sail/pl_3.c,
sail/pl_7.c, sail/sync.c, trek/kill.c, trek/move.c, trek/nova.c,
trek/shield.c, wump/wump.c: Update from NetBSD-current of
1998-08-30.
* dm/dm.c (main): Do unsetenv("TZ") to prevent people cheating on
the times they can play.
* atc/main.c (main): Remove comment on ICRNL change.
* atc/input.c: Remove CRTOKEN stuff (conditional on SYSV) - no
need for it with ICRNL.
1998-08-29 Joseph Samuel Myers <jsm@octomino.demon.co.uk>
* battlestar/com5.c (give): Add explanatory comment.
1998-08-28 Joseph Samuel Myers <jsm@octomino.demon.co.uk>
* battlestar/com5.c (give): Proper fix this time: reset wordnumber
before doing an error return.
* atc/graphics.c (getAChar): Check against EOF, not -1;
clearerr(stdin) while the error occurs since the error indicator
may have been set; initialise errno to avoid problems with a real
EOF and errno left as EINTR.
* boggle/boggle/bog.c (compar): Use const more.
* INSTALL: Update.
* boggle/boggle/bog.c (main): Change linux/PURE variants to
NEW_STYLE define.
* boggle/boggle/Makefile: NEW_STYLE is default.
* boggle/Makefile (linux-patch): Change construction of Linux
patch.
* boggle/README.linux: Adjust accordingly.
* INSTALL: Likewise.
* sail/extern.h, sail/dr_1.c, sail/dr_2.c, sail/dr_3.c: Rename
strend() to str_end(), isolated() to is_isolated(), toughmelee()
to is_toughmelee().
* phantasia/phantdefs.h: #undef S_* constants before definition.
* monop/monop.h, monop/misc.c, monop/trade.c: Rename isnot_monop()
to is_not_monop().
* mille/mille.h, mille/comp.c, mille/init.c, mille/move.c,
mille/types.c: Rename issafety to is_safety, isrepair to
is_repair.
1998-08-27 Joseph Samuel Myers <jsm@octomino.demon.co.uk>
* hunt/huntd/hunt.h, hunt/huntd/draw.c, hunt/huntd/shots.c: Rename
isplayer to is_player.
* gomoku/gomoku.h, gomoku/main.c: Rename log() to glog().
* cribbage/cards.c, cribbage/cribbage.h, cribbage/io.c: Rename
isone() to is_one().
* backgammon/common_source/fancy.c,
backgammon/common_source/back.h: Remove tos().
* boggle/boggle/help.c (help): Make change to use redrawwin()
conditional on NCURSES_VERSION.
* configure: Suggest mode 2770 for sail directory, better than
0770.
* NEWS: Update.
* PACKAGING: Add new Warnings section.
* battlestar/extern.h, battlestar/com6.c, battlestar/init.c:
Change uname[] to username[].
* backgammon/teachgammon/tutor.h: Mark leave() and tutor()
noreturn.
* TODO: Update.
* BUGS: Update.
1998-08-26 Joseph Samuel Myers <jsm@octomino.demon.co.uk>
* adventure/vocab.c (vocab): Exit with status 1 on error.
* adventure/main.c (main): Exit with status 1 on error.
* adventure/io.c (rdesc): Exit with status 1 on error.
* adventure/hdr.h (FLUSHLINE): Handle EOF.
* adventure/io.c: Handle EOF.
* adventure/wizard.c (ciao): Handle EOF.
* adventure/setup.c: Don't put \n in error strings (err and errx
add it).
* backgammon/backgammon/main.c: Change condition on ospeed being
declared to #ifndef NCURSES_VERSION.
* backgammon/teachgammon/teach.c: Likewise.
* snake/snake/move.c: Likewise.
* snake/snake/snake.h: Likewise.
* tetris/screen.c: Likewise.
* backgammon/backgammon/text.c (text): Switch order of char and
const.
* battlestar/cypher.c (cypher): In take all, handle BATHGOD and
NORMGOD properly.
* rogue/machdep.c (md_slurp): Use POSIX version unconditionally.
* hunt/huntd/driver.c (init): Use setsid() to become session
leader.
* canfield/canfield/canfield.c: Use const where appropriate.
* canfield/cfscores/cfscores.c: Use const where appropriate.
* caesar/caesar.c: Use const where appropriate.
* rogue/rogue.h: Condition some prototypes on #ifdef CURSES.
1998-08-25 Joseph Samuel Myers <jsm@octomino.demon.co.uk>
* atc/graphics.c (getAChar): Just use SYSV version always rather
than conditioning on SYSV || __linux__; the efficiency loss on
systems where getchar() retries is insignificant.
* adventure/extern.h, adventure/init.c, adventure/main.c,
adventure/subr.c, adventure/vocab.c, adventure/wizard.c: Update
from NetBSD-current of 1998-08-25.
* boggle/README.linux: Rebuild.
* configure: Suggest sail directory should not be world
accessible.
* sail/sync.c: Use egid when checking for file existence, so that
the sail directory can be mode 770.
* boggle/boggle/extern.h, boggle/boggle/word.c,
boggle/boggle/prtable.c, boggle/boggle/mach.c,
boggle/boggle/bog.c: Use const where appropriate.
1998-08-24 Joseph Samuel Myers <jsm@octomino.demon.co.uk>
* arithmetic/arithmetic.c: Use const where appropriate.
* include/sys/cdefs.h: Use const in __RCSID and __COPYRIGHT.
* bcd/bcd.c: Use const where appropriate.
* mille/save.c (rest_f): Use O_RDONLY in open().
* adventure/subr.c, adventure/extern.h: Make checkhints(),
closing() and caveclose() return void.
* adventure/subr.c, adventure/extern.h: Make bug() return void.
* adventure/subr.c, adventure/extern.h: badmove()'s return value
is never used, so make it void.
* adventure/extern.h: twrite() returns void, and is conditioned on
#ifdef DEBUG.
* adventure/io.c, adventure/extern.h: Remove unused function
confirm().
* adventure/done.c, adventure/extern.h, adventure/main.c: die()
can only return 2000, so make it void.
* battlestar/com2.c, battlestar/com3.c, battlestar/cypher.c:
Update from NetBSD-current of 1998-08-24.
* battlestar/init.c (getutmp): Use strncpy().
* battlestar/extern.h, battlestar/globals.c, battlestar/words.c,
battlestar/dayobjs.c, battlestar/nightobjs.c, battlestar/misc.c,
battlestar/init.c, battlestar/com4.c, battlestar/parse.c,
battlestar/save.c, battlestar/getcom.c, battlestar/com1.c,
battlestar/com6.c, battlestar/room.c: Use const where appropriate.
* banner/banner.c: Use const where appropriate.
* adventure/io.c: Make tape, iotape const.
* backgammon/teachgammon/Makefile: Add dependency on tutor.h.
* backgammon/backgammon/main.c, backgammon/backgammon/text.c,
backgammon/backgammon/version.c: Use const where appropriate.
* backgammon/common_source/save.c: Use <errno.h>, not extern int
errno.
* backgammon/teachgammon/tutor.c, backgammon/teachgammon/tutor.h,
backgammon/teachgammon/data.c, backgammon/teachgammon/teach.c,
backgammon/teachgammon/ttext1.c, backgammon/teachgammon/ttext2.c:
Use const where appropriate.
* backgammon/backgammon/backgammon.6.in,
backgammon/common_source/save.c: Remove nonsense about executing
save files; open them without execute permission.
* backgammon/common_source/save.c: Use symbolic constants in
open() and for errno.
* backgammon/common_source/fancy.c,
backgammon/common_source/back.h, backgammon/common_source/save.c,
backgammon/common_source/subs.c, backgammon/common_source/init.c,
backgammon/common_source/table.c,
backgammon/common_source/board.c: Use const where appropriate.
* backgammon/common_source/subs.c,
backgammon/common_source/back.h: Remove strset() (not used).
1998-08-23 Joseph Samuel Myers <jsm@octomino.demon.co.uk>
* TODO: Update.
* atc/input.c, atc/extern.h, atc/graphics.c, atc/update.c,
atc/main.c, atc/extern.c, atc/log.c: Use const where appropriate.
* adventure/hdr.h, adventure/init.c: Make delhit volatile
sig_atomic_t; only assign to it.
* adventure/crc.c, adventure/extern.h, adventure/io.c,
adventure/save.c, adventure/vocab.c: Use const where appropriate.
* adventure/vocab.c, adventure/extern.h: Make copystr(), weq() and
length() into macros that use standard C library functions.
* adventure/wizard.c, adventure/extern.h, adventure/main.c: Remove
unused arg of ciao().
* adventure/wizard.c, adventure/extern.h, adventure/init.c,
adventure/main.c: Remove unused arg of Start().
* adventure/subr.c, adventure/extern.h, adventure/main.c: Remove
unused arg of dark().
* adventure/subr.c, adventure/extern.h, adventure/main.c: Remove
unused arg of liq().
* adventure/init.c, adventure/extern.h, adventure/main.c: Remove
unused arg of init().
1998-08-21 Joseph Samuel Myers <jsm@octomino.demon.co.uk>
* sail/extern.h, sail/main.c, sail/dr_main.c: Remove handling of
being setuid - nowadays games only run setgid.
* rogue/machdep.c (md_shell): Remove unnecessary setuid().
* fish/fish.c (instructions): Remove setuid() and setgid() in
child, no longer necessary.
* INSTALL: Add note about the desirability of using tmac.doc from
NetBSD.
* worm/worm.6: Revert unnecessary changes.
* hangman/hangman.6.in: Revert unnecessary changes.
* dm/dm.8.in: Revert unnecessary changes.
* bcd/bcd.6: Revert unnecessary changes.
* backgammon/backgammon/backgammon.6.in: Revert some unnecessary
changes.
1998-08-20 Joseph Samuel Myers <jsm@octomino.demon.co.uk>
* hunt/hunt/hunt.c: Include <sys/param.h> for MAXHOSTNAMELEN.
* snake/snake/move.c, snake/snake/snake.h, snake/snake/snake.c:
Rename raw() to my_raw() (from Joey Hess <joey@kitenet.net>).
* robots/robots.h: Include <errno.h> (from Joey Hess
<joey@kitenet.net>).
1998-08-19 Joseph Samuel Myers <jsm@octomino.demon.co.uk>
* number/number.c (convert): Decrement len when there's a minus
sign.
* Version 2.3.
* sail/Makefile (install): Use install prefix.
* NEWS: Update.
* All games now updated from NetBSD-current of 1998-08-19.
* tetris/tetris.c: Update from NetBSD-current of 1998-08-19.
* tetris/screen.c: Update from NetBSD-current of 1998-08-19.
* TODO: Update.
* NEWS: Update.
* bsd-games.lsm: Update.
* AUTHORS (countmail): Restore.
* README: Update.
* countmail/*: Restore, updated from NetBSD-current of 1998-08-19
(which has a licence for it).
* atc/input.c: Update from NetBSD-current of 1998-08-19.
* adventure/Makefile.bsd: Update from NetBSD-current of
1998-08-19.
* SECURITY: Update.
* bsd-games-non-free.lsm: Update.
* bsd-games.lsm: Update.
* boggle/README.linux: Regenerate.
* NEWS: Update.
* sail/sync.c: Restore privileges when appropriate.
* sail/misc.c (logger): Restore privileges for file open.
* sail/main.c (main): Initialise gid and egid; drop egid leaving
saved gid.
* sail/extern.h: Add gid and egid.
* sail/Makefile (install): Install sail directory.
* sail/sync.c: Use defines from pathnames.h.
* sail/pathnames.h.in: Put definitions here.
* Makeconfig.in: Add appropriate macros.
* configure: Configure a directory for sail temporary files.
* sail/*: Revert previous changes. Sail needs to keep privileges
for sync file handling.
* atc/log.c (log_score): Fix truncate logic.
* configure: Remove some of the less useful warning flags just
added.
* wump/wump.c (int_compare): Use const.
* robots/score.c (cmp_sc): Use const.
* fortune/strfile/strfile.c (cmp_str): Use const.
* boggle/boggle/bog.c (compar): Use const.
* atc/log.c (compar): Use const.
* configure: Add more warning flags to the default.
1998-08-18 Joseph Samuel Myers <jsm@octomino.demon.co.uk>
* INSTALL: Minor changes.
* wump/wump.c: Mark usage() noreturn.
* worms/worms.c: Mark nomem() and onsig() noreturn.
* worm/worm.c: Mark leave() and crash() noreturn.
* tetris/tetris.c: Mark usage() and onintr() noreturn.
* tetris/tetris.h: Mark stop() noreturn.
* snake/snake/snake.h: Mark done() and stop() noreturn.
* sail/extern.h: Mark leave() and choke() noreturn.
* TODO: Update.
* rogue/rogue.h: Mark clean_up(), error_save(), md_exit(),
put_scores() and sf_error() noreturn.
* robots/robots.h: Mark quit() noreturn.
* gomoku/gomoku.h: Mark quit(), quitsig() and panic() noreturn.
* quiz/quiz.c: Mark usage() noreturn.
* primes/primes.c: Mark usage() noreturn.
* pig/pig.c: Mark usage() noreturn.
* number/number.c: Mark usage() noreturn; remove spurious toobig()
prototype (no such function defined or used).
* mille/mille.h: Mark die() noreturn.
1998-08-17 Joseph Samuel Myers <jsm@octomino.demon.co.uk>
* hunt/huntd/hunt.h: Mark cleanup() noreturn.
* hunt/hunt/hunt.c: Mark leave() noreturn.
* fortune/strfile/strfile.c: Mark usage() noreturn.
* fortune/fortune/fortune.c: Mark usage() noreturn.
* fish/fish.c: Mark usage() noreturn; actually use it.
* cribbage/cribbage.h: Mark rint() noreturn.
* factor/factor.c: Mark usage() noreturn.
* dm/dm.c: Mark play() noreturn.
* canfield/canfield/canfield.c: Mark cleanup() noreturn.
* caesar/caesar.c: Mark printit() noreturn.
* boggle/boggle/extern.h: Mark usage() noreturn.
* boggle/README.linux: Rebuild.
* battlestar/extern.h: Mark die(), diesig() and live() noreturn.
* backgammon/common_source/back.h: Mark getout() noreturn.
* atc/extern.h: Make loser() and log_score_quit() noreturn.
* arithmetic/arithmetic.c: Mark intr() and usage() noreturn.
* adventure/extern.h: Mark done() noreturn.
* adventure/subr.c (bug): Use exit status 1 for a fatal error.
* snake/snake/snake.c (post): Use SEEK_SET rather than 0 in
lseek().
* robots/score.c (score): Use SEEK_SET rather than 0 in lseek().
* fortune/fortune/fortune.c (get_fort): Use SEEK_SET rather than 0
in lseek().
* canfield/cfscores/cfscores.c (printuser): Use SEEK_SET rather
than 0 in lseek().
* canfield/canfield/canfield.c (suspend): Use SEEK_SET rather than
0 in lseek().
(cleanup): Same.
* SECURITY: Clarify.
1998-08-15 Joseph Samuel Myers <jsm@octomino.demon.co.uk>
* Version 2.2.
* robots/score.c (score): Check for score file not having been
successfully opened.
* README: Update.
* INSTALL: Update.
* configure: Fix typo.
* atc/log.c (log_score): Use it, avoiding possible buffer overrun.
* atc/struct.h (SCORE_SCANF_FMT): Define to be format for scnaf
from score file, with appropriate max field widths.
* configure: Update.
* bsd-games.lsm: Update.
* TODO: Update.
* AUTHORS (countmail): Remove.
* NEWS: Update.
* README: Update.
* countmail/*: Remove.
* bsd-games-non-free.lsm: Update.
* bsd-games.lsm: Update.
* PACKAGING: Update.
* BUGS: Update.
* NEWS: Update.
* TODO: Update.
* SECURITY: New file, describing security issues, taken from
INSTALL.
* INSTALL: Update.
* wump/wump.c (main): Revoke setgid privileges.
* worms/worms.c (main): Revoke setgid privileges.
* worm/worm.c (main): Revoke setgid privileges.
* trek/main.c (main): Revoke setgid privileges.
* tetris/tetris.c, tetris/score.c: Only have privileged egid when
needed.
* tetris/tetris.h: New variables gid, egid.
* snake/snscore/snscore.c (main): Revoke setgid privileges.
* snake/snake/snake.c: Open score files as early as possible, then
drop setgid privileges.
* sail/misc.c (open_log): New function: opens log file.
* sail/extern.h: Declare this.
* sail/misc.c (logger): Use already open log file.
* sail/main.c: Open log file, then drop privileges.
* rogue/init.c, rogue/machdep.c, rogue/score.c: Only have
privileged egid when needed.
* rogue/init.c: New variables gid, egid; initialise them.
* rogue/rogue.h: Declare them; include <sys/types.h> and
<unistd.h>.
* robots/main.c (main), robots/extern.h, robots/score.c (score):
Open score file at start, then drop privileges (from OpenBSD).
* cribbage/crib.c (main): Set close-on-exec flag on log file.
* random/random.c (main): Revoke setgid privileges.
* rain/rain.c (main): Revoke setgid privileges.
* quiz/quiz.c (main): Revoke setgid privileges.
* primes/primes.c (main): Revoke setgid privileges.
* ppt/ppt.c (main): Revoke setgid privileges.
* pom/pom.c (main): Revoke setgid privileges.
* pig/pig.c (main): Revoke setgid privileges.
* number/number.c (main): Revoke setgid privileges.
* morse/morse.c (main): Revoke setgid privileges.
* monop/monop.c (main): Revoke setgid privileges.
* mille/mille.c (main): Revoke setgid privileges.
* hunt/hunt/hunt.c (main): Revoke setgid privileges.
* hangman/main.c (main): Revoke setgid privileges.
* gomoku/main.c (main): Revoke setgid privileges.
* fortune/fortune/fortune.c (main): Revoke setgid privileges.
* fish/fish.c (main): Revoke setgid privileges.
* factor/factor.c (main): Revoke setgid privileges.
* cribbage/crib.c (main): Open log file then drop privileges as
soon as possible.
* canfield/canfield/canfield.c (initall): Use SEEK_SET instead of
0 as argument of lseek().
* canfield/cfscores/cfscores.c (main): Revoke setgid privileges.
* canfield/canfield/canfield.c (initall): Revoke setgid privileges
after opening the score file.
1998-08-13 Joseph Samuel Myers <jsm@octomino.demon.co.uk>
* boggle/README.linux: Rebuild.
* caesar/caesar.c (main): Revoke setgid privileges.
* boggle/boggle/bog.c (main): Revoke setgid privileges.
* bcd/bcd.c (main): Revoke setgid privileges.
* battlestar/com6.c (open_score_file), battlestar/extern.h: New
function.
* battlestar/com6.c (post): Use already opened score file.
* battlestar/battlestar.c (main): Open score file then revoke
setgid privileges.
* atc/input.c (gettoken): Remove unnecessary setuid() call.
1998-08-11 Joseph Samuel Myers <jsm@octomino.demon.co.uk>
* AUTHORS (paranoia): Removed entry.
* bsd-games-non-free.lsm: Update.
* INSTALL: Update.
* atc/log.c (open_score_file): Set close-on-exec flag.
* TODO: Update.
* PACKAGING: Update.
* Credits: Split into AUTHORS and THANKS; update.
* BUGS: Update.
1998-08-09 Joseph Samuel Myers <jsm@octomino.demon.co.uk>
* battlestar/extern.h, battlestar/save.c, battlestar/init.c,
battlestar/cypher.c, battlestar/battlestar.c: New interface for
saving, passes length and does dynamic allocation rather than
using fixed length buffers.
* battlerstar/Makefile: Include fgetln.
* banner/banner.c (main): Revoke setgid privileges.
* backgammon/backgammon/main.c (main): Revoke setgid privileges.
* atc/log.c: Cast getuid() return value to int for %d format.
* atc/log.c (open_score_file), atc/extern.h: New function.
* atc/log.c (log_score): Use already opened score file. Truncate
the score file to the length written.
* atc/main.c (main): Open the score file and then revoke setgid
privileges.
* arithmetic/arithmetic.c (main): Revoke setgid privileges.
* adventure/main.c (main): Revoke setgid privileges.
* snake/snscore/snscore.c (main): Take no arguments.
* hangman/extern.h, hangman/main.c (main): Take no arguments.
* canfield/canfield/canfield.c (main): Take no arguments.
1998-08-07 Joseph Samuel Myers <jsm@octomino.demon.co.uk>
* README.non-free: Update.
* README: Update.
* paranoia/*: Remove.
* NEWS: Update.
* INSTALL: Update.
1998-08-06 Joseph Samuel Myers <jsm@octomino.demon.co.uk>
* configure: Add facility to specify a list of games not to build.
* TODO: Update.
* README: Update.
* PACKAGING: Update.
* Credits: Update.
1998-07-29 Joseph Samuel Myers <jsm@octomino.demon.co.uk>
* NEWS: Update.
* INSTALL: Update.
* PACKAGING: New file - information for those packaging bsd-games
for a Linux distribution.
1998-07-28 Joseph Samuel Myers <jsm@octomino.demon.co.uk>
* TODO: Update.
* substfiles: Include hide-game (no need to special case it).
* configure, Makefile: Don't special case hide-game.
* hide-game.in: No longer needs #!/bin/sh, since added by
configure.
* install-score.in: Likewise.
* install-man.in: Likewise.
* caesar/rot13.in: Likewise.
* configure (substitute): Put comments at the top of generated
files saying they are automatically generated.
1998-07-27 Joseph Samuel Myers <jsm@octomino.demon.co.uk>
* All games (expect paranoia) now updated from NetBSD-current of
1998-07-27 (some of the Linux changes merged back to NetBSD).
* snake/snscore/snscore.c: Update from NetBSD-current of
1998-07-27.
* sail/dr_2.c, sail/extern.h: Update from NetBSD-current of
1998-07-27.
* rogue/init.c, rogue/machdep.c, rogue/monster.c, rogue/rogue.h:
Update from NetBSD-current of 1998-07-27.
* robots/move.c: Update from NetBSD-current of 1998-07-27.
* pom/pom.c: Update from NetBSD-current of 1998-07-27.
* phantasia/phantglobs.c, phantasia/phantglobs.h: Update from
NetBSD-current of 1998-07-27.
* mille/mille.h, mille/misc.c: Update from NetBSD-current of
1998-07-27.
* battlestar/dayfile.c, battlestar/nightfile.c: Update from
NetBSD-current of 1998-07-27 (changes merged - this changes rcsids
only).
* atc/atc.6, atc/log.c: Update from NetBSD-current of 1998-07-27.
* adventure/wizard.c: Update from NetBSD-current of 1998-07-27.
* configure: Allow defaults to be taken from a config.params file,
which can specify non-interactive operation.
1998-07-25 Joseph Samuel Myers <jsm@octomino.demon.co.uk>
* configure: Make a /bin/sh script; use printf instead of echo -n
so that a POSIX.2 shell suffices.
* INSTALL: Update.
* TODO: Update.
1998-07-22 Joseph Samuel Myers <jsm@octomino.demon.co.uk>
* NEWS: Update.
* rogue/machdep.c (md_gseed): Use time, not pid, as seed, so you
don't get the same game each time if you boot the system up to
play rogue (patch from Bill Lash <lash@tellabs.com>).
* rogue/monster.c (mv_mons): If a dragon kills a monster on
level_monsters, mv_mons can move things in the free_list, so don't
move monsters not on level_monsters (patch from Bill Lash
<lash@tellabs.com>).
* All games (except paranoia) now updated from NetBSD-current of
1998-07-11.
* worms/worms.6: Update from NetBSD-current of 1998-07-11.
* sail/*: Update from NetBSD-current of 1998-07-11.
* pom/*: Update from NetBSD-current of 1998-07-11.
* hunt/*/*: Update from NetBSD-current of 1998-07-11.
* dm/*: Update from NetBSD-current of 1998-07-11.
1998-07-21 Joseph Samuel Myers <jsm@octomino.demon.co.uk>
* countmail/countmail.6: Update from NetBSD-current of 1998-07-11.
* boggle/*/Makefile.bsd: Update from NetBSD-current of 1998-07-11.
* battlestar/extern.h: Update from NetBSD-current of 1998-07-11.
* backgammon/backgammon/main.c: Update from NetBSD-current of
1998-07-11.
* atc/*: Update from NetBSD-current of 1998-07-11.
* atc/Makefile: Use grammar.h instead of y.tab.h.
* arithmetic/arithmetic.6: Update from NetBSD-current of
1998-07-11.
* quiz/datfiles/europe: Fix typo (patch from G. Branden Robinson
<branden@purdue.edu>).
* TODO: Update.
* BUGS: Update.
* README.non-free: Update.
* YEAR2000: Minor changes.
* README: Update.
* INSTALL: Update.
* Credits: Minor changes.
1998-07-20 Joseph Samuel Myers <jsm@octomino.demon.co.uk>
* YEAR2000: New file, year 2000 statement for bsd-games.
* adventure/wizard.c (datime): Handle leap years correctly
according to the Gregorian calendar (could be perceived as fixing
a year 2000 problem, but it was broken wrt leap years anyway).
* pom/pom.c (main): Add 1900 to year as argument of isleap()
(fixes year 2000 problem).
1998-07-03 Joseph Samuel Myers <jsm@octomino.demon.co.uk>
* Credits: Add introductory paragraph.
1998-04-11 Joseph Samuel Myers <jsm@octomino.demon.co.uk>
* Makefile: Add some standard GNU makefile targets.
1998-04-07 Joseph Samuel Myers <jsm@octomino.demon.co.uk>
* configure: Update message before selecting pager.
* wump/wump.c (instructions): Use POSIX.2 pager behaviour.
* quiz/quiz.c (show_index): Use POSIX.2 pager behaviour.
* fish/fish.c (instructions): Use POSIX.2 pager behaviour.
1998-04-06 Joseph Samuel Myers <jsm@octomino.demon.co.uk>
* cribbage/instr.c (instructions): Use POSIX.2 pager behaviour.
1998-04-04 Joseph Samuel Myers <jsm@octomino.demon.co.uk>
* BUGS: Update.
* INSTALL: Update for changed paths.
* configure: Change default paths to FHS ones; change some
comments and messages.
* bsd-games.lsm (Primary-site): Make sunsite, since tsx-11 is
somewhat unreliable and laggardly about installing new releases.
1998-03-29 Joseph Samuel Myers <jsm@octomino.demon.co.uk>
* Version 2.1.
* TODO: Update.
* README: Update.
* INSTALL: Update.
* Credits: Update.
1998-03-28 Joseph Samuel Myers <jsm@octomino.demon.co.uk>
* boggle/README.linux: Rebuild.
* bsd-games.lsm, bsd-games-non-free.lsm, NEWS: Update.
* configure: Don't ask about libc version or BSD signal defines.
* Makeconfig.in (BSD_SIGNAL_DEFS): Removed.
* */Makefile, */*/Makefile, hunt/Makeconfig: Don't use
$(BSD_SIGNAL_DEFS).
* include/signal.h: Define __USE_BSD_SIGNAL if libc5, so that the
Makefiles don't need to.
* lib/fgetln.c: New file, implementation of fgetln() (from
quiz/quiz.c).
* include/stdio.h: New file, wrap <stdio.h> and declare fgetln().
* quiz/quiz.c: Don't include implementation of fgetln().
1998-03-27 Joseph Samuel Myers <jsm@octomino.demon.co.uk>
* dm/dm.c (load): Use getloadavg().
* dm/Makefile: Use getloadavg() from lib/getloadavg.c.
* lib/getloadavg.c: New file, implementation of getloadavg().
* include/stdlib.h: New file, wrap <stdlib.h> and declare
getloadavg().
* wump/wump.c (move_to, shoot): Add explicit braces to avoid
ambiguous else.
* trek/shield.c (shield): Add explicit braces to avoid ambiguous
else.
* trek/nova.c (nova): Add explicit braces to avoid ambiguous else.
* trek/move.c (move): Add explicit braces to avoid ambiguous else.
* trek/kill.c (killb): Add explicit braces to avoid ambiguous
else.
* sail/sync.c (sync_update): Add explicit braces to avoid
ambiguous else.
* sail/sync.c (Sync): Don't declare errno.
* sail/dr_1.c (compcombat, next): Add explicit braces to avoid
ambiguous else.
* sail/pl_7.c (newturn): Add explicit braces to avoid ambiguous
else.
* sail/pl_3.c (acceptcombat): Add explicit braces to avoid
ambiguous else.
* phantasia/misc.c (tradingpost): Add explicit braces to avoid
ambiguous else.
* phantasia/fight.c (playerhits, awardtreasure): Add explicit
braces to avoid ambiguous else.
* phantasia/main.c (main): Add explicit braces to avoid ambiguous
else.
* fortune/fortune/fortune.6: Rename to fortune.6.in.
* fortune/fortune/fortune.6.in: Parametrise.
* substfiles: Include fortune/fortune/fortune.6.
* monop/morg.c (set_mlist): Add explicit braces to avoid ambiguous
else.
* monop/cards.c (get_card): Add explicit braces to avoid ambiguous
else.
* hunt/hunt/hunt.c (list_drivers): Add explicit int in declaration
of `initial'.
(env_init): Add explicit braces to avoid ambiguous else.
* fortune/fortune/fortune.c (display, form_file_list): Add
explicit braces to avoid ambiguous else.
(init_prob): Add braces to make if/else binding agree with the
indentation.
* cribbage/score.c (scorehand): Add explicit braces to avoid
ambiguous else.
* cribbage/crib.c (peg): Add explicit braces to avoid ambiguous
else.
* boggle/boggle/bog.c (main): Add explicit braces to avoid
ambiguous else.
* battlestar/com5.c (love): Add explicit braces to avoid ambiguous
else.
* atc/input.c (delayb, benum): Change char to unsigned char for
subscript.
* Credits: Update.
* paranoia/paranoia.6: New manpage, from Joey Hess.
* paranoia/Makefile: Install it.
* wargames/wargames.6: New manpage, from Joey Hess
<joeyh@kitenet.net>.
* wargames/Makefile: Install it.
* hunt/Makefile.inc.bsd, hunt/hunt/Makefile.bsd, hunt/huntd/bsd.h,
hunt/huntd/hunt.h, hunt/huntd/huntd.6.in, hunt/huntd/talk_ctl.h:
Update from NetBSD-current of 1998-03-21.
* fortune/*: Update from NetBSD-current of 1998-03-21.
* fortune/fortune/Makefile: Use -DHAVE_REGCOMP.
* Makefile.inc.bsd, adventure/init.c, atc/Makefile.bsd,
backgammon/Makefile.inc.bsd, battlestar/Makefile.bsd,
battlestar/extern.h, boggle/*/Makefile.bsd, caesar/caesar.6,
canfield/*/Makefile.bsd, cribbage/Makefile.bsd, dm/Makefile.bsd,
dm/dm.c, factor/Makefile.bsd, fish/fish.c, rain/Makefile.bsd,
robots/Makefile.bsd, rogue/Makefile.bsd, sail/Makefile.bsd,
snake/*/Makefile.bsd, tetris/Makefile.bsd, worm/Makefile.bsd,
worms/Makefile.bsd, gomoku/Makefile.bsd, gomoku/main.c,
hangman/Makefile.bsd, mille/Makefile.bsd, phantasia/Makefile.bsd,
phantasia/setup.c, quiz/datfiles/pres: Update from NetBSD-current
of 1998-03-21.
1998-03-26 Joseph Samuel Myers <jsm@octomino.demon.co.uk>
* monop/monop.c (main): Use SIGINT instead of 2 in signal.
* backgammon/teachgammon/teach.c (main): Use SIGINT instead of 2
in signal.
* backgammon/backgammon/main.c (main): Use SIGINT instead of 2 in
signal, and 14 instead of SIGALRM.
* BUGS: New file, lists known bugs.
* INSTALL, README, TODO: Update.
* trek/dumpgame.c (restartgame): Use O_RDONLY instead of 0 in
open.
* monop/execute.c (rest_f): Use O_RDONLY instead of 0 in open.
* fortune/fortune/fortune.c (add_file, all_forts, open_dat,
get_pos, get_tbl): Use O_RDONLY instead of 0 in open.
* canfield/cfscores/cfscores.c (main): Use O_RDONLY instead of 0
in open.
* canfield/canfield/canfield.c (initall): Use O_RDWR instead of 2
in open.
* quiz/datfiles/europe: Added more new countries.
1998-03-25 Joseph Samuel Myers <jsm@octomino.demon.co.uk>
* quiz/datfiles/europe: Update for political changes of the 1990s
(needs more work).
* Credits: Update.
* INSTALL, README: Update (need libc 5.4.5 or later if using
libc5).
1998-01-02 Joseph Samuel Myers <jsm@octomino.demon.co.uk>
* battlestar/battlestar.c, battlestar/init.c, battlestar/save.c,
battlestar/extern.h, battlestar/cypher.c,
battlestar/battlerstar.6: Let save file name vary.
1997-12-30 Joseph Samuel Myers <jsm@octomino.demon.co.uk>
* battlestar/com5.c (give): The value 0 used in NetBSD is as good
as any for initialising last1 and last2, so use it; check for it
in last1 at the appropriate place and give an error if so.
* battlestar/com3.c (shoot): Correct initialiser for firstnumber
is always wordnumber.
1997-12-29 Joseph Samuel Myers <jsm@octomino.demon.co.uk>
* mille/mille.h, mille/varpush.c: Make previous change conditional
on defined(__linux__) && !defined(__GLIBC__), since the X/Open
spec says you should use int but libc5 (only) uses size_t.
* boggle/boggle/help.c (help): Use redrawwin(stdscr) at the end,
to get proper redrawing with ncurses.
* boggle/README.linux: Rebuild.
* Makeconfig.in (DEFS_TO_PASS, DEFS_TO_PASS_STRIP): New variables,
definitions of installation variables to pass to sub-makes.
* Makefile (install, install-strip): Use these.
* configure (strip_install): Remove configuration option.
* INSTALL: Update.
* backgammon/Makefile, boggle/Makefile, canfield/Makefile,
fortune/Makefile, hunt/Makefile, snake/Makefile: Pass DEFS_TO_PASS
in install.
1997-12-26 Joseph Samuel Myers <jsm@octomino.demon.co.uk>
* mille/mille.h: prscore's argument is bool, not int (from Joey
Hess).
1997-12-25 Joseph Samuel Myers <jsm@octomino.demon.co.uk>
* Version 2.0.
* INSTALL: Add name and email address to bottom.
* Credits: Update.
Sun Dec 21 11:59:34 1997 Joseph Samuel Myers <jsm@octomino.demon.co.uk>
* configure: Don't ask for file for backgammon rules.
* TODO: Update.
* Makefile (install): Don't create $(SOCKETDIR), which is no
longer defined.
* bsd-games-non-free.lsm: Update.
* bsd-games.lsm: Update.
* README: Update.
* configure: Don't configure bsd_lib or bsd_includes.
* Makeconfig.in: Delete BSD_LIB, BSD_INCS, BSD_DEFS.
* configure (warning_flags): Default to -Wall -W
-Wstrict-prototypes -Wmissing-prototypes.
Sat Dec 20 11:25:48 1997 Joseph Samuel Myers <jsm@octomino.demon.co.uk>
* All games (except paranoia) now updated to NetBSD-current of
1997-12-12.
* wump/wump.c: Include <time.h>.
* wump/*: Update from NetBSD-current of 1997-12-12.
* wump/Makefile: Use -I../include; don't define path; don't use
libbsd or ncurses.
* substfiles: Include wump/pathnames.h.
* worms/worms.c (onsig): Mark unused parameter.
* worms/*: Update from NetBSD-current of 1997-12-12.
* worms/Makefile: Use -I../include; use BSD signal defines only.
* worm/worm.c: Mark unused parameters.
* worm/worm.6: Fix.
* worm/*: Update from NetBSD-current of 1997-12-12.
* worm/Makefile: Use -I../include; use BSD signal defines only.
* trek/warp.c (dowarp): Mark parameter as int.
* trek/abandon.c, trek/capture.c, trek/computer.c, trek/dcrept.c,
trek/destruct.c, trek/dock.c, trek/dumpgame.c, trek/help.c,
trek/impulse.c, trek/lrscan.c, trek/phaser.c, trek/play.c,
trek/rest.c, trek/setwarp.c, trek/torped.c, trek/visual.c,
trek/cgetc.c: Mark unused parameters.
* trek/*: Update from NetBSD-current of 1997-12-12.
* trek/Makefile: Use -I../include; don't use libbsd.
* tetris/tetris.c: Mark unused parameter.
* tetris/scores.c: Fix warnings.
* tetris/screen.c, tetris/screen.h: Make put return int.
* tetris/screen.c: Don't declare ospeed.
* tetris/*: Update from NetBSD-current of 1997-12-12.
* tetris/Makefile: Use -I../include; don't define paths; use BSD
signal defines only.
* substfiles: Include tetris/pathnames.h.
* snake/snake/snake.c, snake/snscore/snscore.c: Mark unused
parameters.
* snake/snake/snake.h, snake/snake/move.c: Make outch return int.
* snake/snake/snake.h, snake/snake/move.c: Don't declare ospeed.
* snake/*: Update from NetBSD-current of 1997-12-12.
* snake/snake/Makefile, snake/snscore/Makefile: Use
-I../../include; don't define paths; use BSD signal defines only.
* substfiles: Include snake/snake/pathnames.h.
* sail/pl_main.c, sail/pl_7.c, sail/player.h: Move screen
initialisation into initscreen(); no longer do echo() in
SCREENTEST().
* sail/sync.c: Include <sys/file.h> and <time.h>; mark int
parameter.
* sail/misc.c: Include <sys/file.h>, for flock().
* sail/game.c: Fix pointer/integer comparison warning.
* sail/dr_2.c: Mark int parameters as such.
* sail/player.h (SCREENTEST): Compare initscr() against NULL, not
ERR.
* sail/main.c, sail/pl_1.c, sail/pl_7.c: Mark unused parameters.
* sail/dr_2.c, sail/extern.h: Rename move to sail_move.
* sail/*: Update from NetBSD-current of 1997-12-12.
* sail/Makefile: Use -I../include; don't define paths; use BSD
signal defines only.
* substfiles: Include sail/pathnames.h
* rogue/save.c: Fix signed/unsigned warnings.
* rogue/monster.c, rogue/object.c, rogue/pack.c, rogue/room.c:
Mark int parameters as such.
* rogue/init.c: Mark unused parameters.
* rogue/*: Update from NetBSD-current of 1997-12-12.
* rogue/Makefile: Use -I../include; don't define path; use BSD
signal defines only.
* substfiles: Include rogue/pathnames.h.
* robots/move.c (get_move): Always initialise lastmove, to shut up
gcc.
* robots/main.c: Remove unused function __cputchar; mark unused
parameter.
* robots/move.c (get_move): Restore declaration of lastmove.
* robots/*: Update from NetBSD-current of 1997-12-12.
* robots/Makefile: Use -I../include; don't define path; use BSD
signal defines only.
* substfiles: Include robots/pathnames.h.
* Credits: List original authors.
* bsd-games.lsm: Update.
* NEWS: Update.
* INSTALL: Update.
* README.non-free: Update.
* README: Update.
* countmail/*: New game, from NetBSD-current of 1997-12-12.
* configure (install_script): New variable, avoid warnings about
stripping scripts.
* Makeconfig.in (INSTALL_SCRIPT): Define.
* caesar/Makefile, wargames/Makefile: Use $(INSTALL_SCRIPT).
Fri Dec 19 14:37:56 1997 Joseph Samuel Myers <jsm@octomino.demon.co.uk>
* TODO: Update.
* hunt/*: New port, replacing the old one, based on NetBSD-current
of 1997-12-12.
* substfiles: Update accordingly.
* configure, Makeconfig.in: No longer need to configure directory
for sockets.
* random/*: Update from NetBSD-current of 1997-12-12.
* random/Makefile: Use -I../include.
* rain/rain.c: Make fputchar return int, since this is what tputs
expects. Also mark unused parameters.
* rain/*: Update from NetBSD-current of 1997-12-12.
* rain/Makefile: Use -I../include; don't use libbsd.
* substfiles: Don't include rain/rain.6.
* quiz/quiz.c (appdstr): Change NULL to '\0' to fix warning.
* quiz/*: Update from NetBSD-current of 1997-12-12.
* quiz/Makefile: Use -I../include; don't define paths.
* substfiles: Include quiz/pathnames.h.in.
* primes/*: Update from NetBSD-current of 1997-12-12.
* primes/Makefile: Use -I../include.
* include/sys/ttydefaults.h: New file, wrap <sys/ttydefaults.h> so
that individual games need not know that it is in glibc but not
libc5.
* hangman/getguess.c: Restore to NetBSD version since these
conditionals are no longer needed.
* lib/select.c: New file, emulate BSD select for games that need
it (I think only hunt), so that libbsd will not be needed at all
and games will work fine with libc6.
Thu Dec 18 13:24:54 1997 Joseph Samuel Myers <jsm@octomino.demon.co.uk>
* ppt/*: Update from NetBSD-current of 1997-12-12.
* ppt/Makefile: Use -I../include.
* pom/pom.c: Mark unused parameters.
* pom/*: Update from NetBSD-current of 1997-12-12.
* pom/Makefile: Use -I../include; don't use libbsd.
* include/tzfile.h: New file.
* pig/pig.c (main): Fix signed/unsigned warning.
* pig/*: Update from NetBSD-current of 1997-12-12.
* pig/Makefile: Use -I../include.
* phantasia/setup.c: Include <fcntl.h>; fix warnings; add
prototypes and function return types.
* phantasia/interplayer.c (dotampered): Avoid signed/unsigned
warning.
* phantasia/io.c (catchalarm): Mark unused parameter.
* phantasia/*: Update from NetBSD-current of 1997-12-12.
* phantasia/Makefile: Don't define paths; use BSD signal defines
only.
* substfiles: Include phantasia/pathnames.h.
* paranoia/paranoia.c: Include headers, add prototypes and
function return types; changes to avoid warnings.
* number/*: Update from NetBSD-current of 1997-12-12.
* number/Makefile: Use -I../include.
* morse/*: Update from NetBSD-current of 1997-12-12.
* morse/Makefile: Use -I../include.
* monop/cards.c: Avoid signed/unsigned warning.
* monop/monop.c (do_quit): Mark unused parameter.
* monop/*: Update from NetBSD-current of 1997-12-12.
* monop/Makefile: Use -I../include; don't define path; use BSD
signal defines only.
* substfiles: Include monop/pathnames.h.
* NEWS: Update; fix typo.
* mille/save.c: Include <time.h>.
* mille/mille.h, varpush.c: Use size_t for last argument of last
argument of varpush.
* mille/comp.c (calcmove): Avoid signed/unsigned warning.
* mille/mille.c (rub): Mark unused parameter.
* mille/*: Update from NetBSD-current of 1997-12-12.
* mille/Makefile: Use -I../include; don't use libbsd.
* substfiles: Don't include mille/mille.6, it's no longer needed.
* hangman/setup.c: Include <time.h>.
* hangman/main.c: Mark unused parameters.
* hangman/*: Update from NetBSD-current of 1997-12-12.
* hangman/Makefile: Use -I../include; don't define path; don't use
libbsd.
* substfiles: Include hangman/pathnames.h.
Wed Dec 17 16:14:21 1997 Joseph Samuel Myers <jsm@octomino.demon.co.uk>
* gomoku/pickmove.c: Fix signed/unsigned warnings; mark unused
parameter.
* gomoku/main.c: Include <time.h>; mark unused parameter.
* gomoku/*: Update from NetBSD-current of 1997-12-12.
* gomoku/Makefile: Use -I../include; use BSD signal defines only.
* fortune/strfile/strfile.c, fortune/fortune/fortune.c,
fortune/unstr/unstr.c: Changes to avoid warnings.
* fortune/*: Update from NetBSD-current of 1997-12-12.
* fortune/fortune/Makefile, fortune/strfile/Makefile,
fortune/unstr/Makefile: Use -I../../include; don't use libbsd;
don't define paths.
* substfiles: Include fortune/fortune/pathnames.h.
* fish/*: Update from NetBSD-current of 1997-12-12.
* fish/Makefile: Use -I../include.
* substfiles: Include fish/pathnames.h.
* primes/pr_tbl.c: Use __RCSID.
* factor/*: Update from NetBSD_current of 1997-12-12.
* factor/Makefile: Use -I../include.
* Makeconfig.in: Remove dm variables.
* dm/dm.c: Mark unused parameter.
* dm/pathnames.h.in: Undefine _PATH_LOG before defining it.
* dm/dm.8.in: Fix.
* dm/*: Update from NetBSD-current of 1997-12-12.
* dm/Makefile: Use -I../include; don't define paths.
* substfiles: Include dm/pathnames.h.
Tue Dec 16 10:35:32 1997 Joseph Samuel Myers <jsm@octomino.demon.co.uk>
* cribbage/io.c, cribbage/score.c: Avoid signed/unsigned warning;
mark unused parameters.
* cribbage/*: Update from NetBSD-current of 1997-12-12.
* cribbage/Makefile: Use -I../include; don't use libbsd or define
paths.
* substfiles: Include cribbage/pathnames.h.
* canfield/canfield/canfield.c: Include <time.h>; mark unused
parameters.
* canfield/*: Update from NetBSD-current of 1997-12-12.
* canfield/canfield/Makefile, canfield/cfscores/Makefile: Use
-I../../include.
* substfiles: Include canfield/canfield/pathnames.h.
* canfield/canfield/Makefile, canfield/cfscores/Makefile: Don't
define _PATH_SCORE; don't use libbsd.
* caesar/*: Update from NetBSD-current of 1997-12-12.
* caesar/Makefile: Use -I../include.
* caesar/rot13.in: Use "$@" instead of $*.
* boggle/boggle/mach.c: Mark unused parameters.
* boggle/boggle/bog.c: Changes to avoid warnings.
* boggle/mkindex/mkindex.c (main): Make it take no arguments,
since they are unused.
* boggle/mkdict/mkdict.c: Include <err.h>; other changes to avoid
warnings.
* boggle/*: Update from NetBSD-current of 1997-12-12.
* boggle/boggle/Makefile, boggle/mkdict/Makefile,
boggle/mkindex/Makefile: Use -I../../include.
* substfiles: Include boggle/boggle/bog.h.
* boggle/boggle/Makefile: Don't define paths.
* boggle/Makefile, boggle/README.linux: Update for change to bog.h.in.
* bcd/bcd.6: Fix.
* bcd/*: Update from NetBSD-current of 1997-12-12.
* bcd/Makefile: Use -I../include.
* battlestar/battlestar.6: Fix typo.
* battlestar/com6.c, battlestar/fly.c: Mark unused parameters.
* battlestar/*: Update from NetBSD-current of 1997-12-12.
* battlestar/Makefile: Use -I../include, and BSD signal defines
only.
* substfiles: Include battlestar/pathnames.h.
* battlestar/Makefile: Don't define _PATH_SCORE.
Mon Dec 15 10:07:10 1997 Joseph Samuel Myers <jsm@octomino.demon.co.uk>
* banner/Makefile: Use -I../include.
* banner/*: Update from NetBSD-current of 1997-12-12.
* TODO: Update.
* backgammon/common_source/subs.c (getarg): Check that an argument
is given to -s.
* backgammon/common_source/subs.c, backgammon/backgammon/main.c,
backgammon/teachgammon/teach.c: Mark unused parameters.
* backgammon/common_source/subs.c (addbuf): Make addbuf return an
int, since this is what tputs expects.
* backgammon/common_source/back.h: Likewise.
* backgammon/teachgammon/teach.c: Don't declare ospeed.
* backgammon/backgammon/main.c: Don't declare ospeed; include
<time.h>.
* backgammon/backgammon/Makefile,
backgammon/common_source/Makefile,
backgammon/teachgammon/Makefile: Use -I../../include.
* Makeconfig.in (BACKGAMMON_RULES): Remove.
* backgammon/*: Update from NetBSD-current of 1997-12-12; make
changes for no longer having simple game.
* atc/pathnames.h: Remove.
* atc/pathnames.h.in: New file, from NetBSD-current and
parametrised.
* substfiles: Substitute in this file.
* atc/Makefile: Don't define _PATH_GAMES and _PATH_SCORE any more.
* substfiles: New file - list of files created by substitution.
* configure, Makefile: Use this list.
* atc/log.c (log_score): Use nodename, not sysname.
* atc/grammar.y, atc/graphics.c, atc/log.c, atc/main.c,
atc/update.c: Mark unused parameters and add parameter types.
* atc/Makefile: Use -I../include and -DYY_NO_UNPUT.
* atc/*: Update from NetBSD-current of 1997-12-12.
* adventure/setup.c: Use __RCSID and __COPYRIGHT.
* include/sys/cdefs.h: Mark rcsid and copyright unused, so -Dlint
is not needed when using warnings.
* arithmetic/arithmetic.c (intr): Mark `dummy' unused.
* arithmetic/Makefile: Use -I../include.
* arithmetic/*: Update from NetBSD-current of 1997-12-12.
* adventure/init.c, adventure/subr.c, adventure/wizard.c: Add
argument types and mark unused arguments as
__attribute__((unused)).
* adventure/crc.c: Make step unsigned int.
* adventure/setup.c: Add prototype; include <err.h>.
* adventure/extern.h: Remove prototypes for setup.c.
* adventure/Makefile: Use -I../include.
* adventure/*: Update from NetBSD-current of 1997-12-12.
* include/signal.h: New file, wrapper to typedef sig_t without
needing <bsd/signal.h> for libc5.
* include/sys/cdefs.h: New file, wrapper to define __RCSID and
__COPYRIGHT.
* Makefile.bsd, Makefile.inc.bsd: Update from NetBSD-current of
1997-12-12.
Wed Sep 24 13:44:06 1997 Joseph Samuel Myers <jsm@octomino.demon.co.uk>
* caesar/caesar.c: Include <string.h> and <stdlib.h>; add
prototypes and function return types; remove old declarations.
* boggle/boggle/mach.c (winch_catcher): Don't ioctl(TIOCGWINSZ).
* boggle/boggle/bog.c: Add prototypes.
* boggle/mkdict/mkdict.c: Add prototypes.
* boggle/mkindex/mkindex.c: Add prototypes; include <stdlib.h>.
* boggle/README.linux: Update.
* INSTALL: Update.
* README: Update.
* README.non-free: Update.
* TODO: Update.
* bsd-games-non-free.lsm: Update.
* Makeconfig.in: Update.
* configure: Use boggle instead of bog; don't substitute in
bog.6.in.
* Makefile: Don't remove bog/bog.6.
* boggle/boggle/extern.h: Include <time.h> (for time_t).
* boggle/boggle/Makefile: Use BSD signal defines only.
* boggle/*: From NetBSD-current; merge in Linux changes from bog.
* atc/log.c, atc/update.c: Consistently use strchr and strrchr.
* atc/include.h [SYSV]: Remove #defines of index and rindex.
* bcd/bcd.c (printcard): Remove declaration of index(); use
strchr(); make p unsigned char.
* bcd/bcd.c: Include <stdlib.h>.
* bcd/bcd.c: Add prototypes and function return types.
Sat Sep 13 21:08:53 1997 Joseph Samuel Myers <jsm@octomino.demon.co.uk>
* configure: Fix spelling errors; some cleanup.
Tue Sep 2 17:28:22 1997 Joseph Samuel Myers <jsm@octomino.demon.co.uk>
* configure: Use empty man8dir if not building in dm or fortune.
Sun Aug 24 10:33:08 1997 Joseph Samuel Myers <jsm@octomino.demon.co.uk>
* adventure/*: Update from NetBSD-current of 1997-08-24.
* adventure/Makefile: Add dependency on extern.h.
* adventure/Makefile: Add definitions of __RCSID and __COPYRIGHT.
* fortune/*: Update from NetBSD-current of 1997-08-24.
* battlestar/fly.c: Include <unistd.h>.
* battlestar/fly.c (visual): Remove declaration of moveenemy().
* battlestar/save.c (restore): Remove declaration of getenv().
(save): Likewise.
* battlestar/getcom.c: Include "extern.h" for prototypes.
* battlestar/init.c: Include <unistd.h>.
* battlestar/init.c (initialize): Remove declaration of die().
* battlestar/com6.c (post): Remove declaration of ctime().
* battlestar/com1.c: Include <unistd.h> (for sleep).
* battlestar/com1.c (convert): Make i and j unsigned to avoid
warnings for comparison with unsigned.
* battlestar/com4.c (throw): Make n unsigned for the save reason.
* battlestar/extern.h, battlestar/parse.c, battlestar/room.c,
battlestar/save.c: Add prototypes and function return types.
Sat Aug 23 21:17:20 1997 Joseph Samuel Myers <jsm@octomino.demon.co.uk>
* battlestar/battlestar.c, battlestar/com1.c, battlestar/com2.c,
battlestar/com3.c, battlestar/com4.c, battlestar/com5.c,
battlestar/com6.c, battlestar/com7.c, battlestar/cypher.c,
battlestar/extern.h, battlestar/fly.c, battlestar/getcom.c,
battlestar/init.c, battlestar/misc.c: Add prototypes and function
return types.
* battlestar/extern.h: Don't conditionalise inclusion of
<stdlib.h>.
Mon Aug 18 09:14:17 1997 Joseph Samuel Myers <jsm@octomino.demon.co.uk>
* banner/banner.c: Add prototype for main().
* backgammon/common_source/Makefile,
backgammon/backgammon/Makefile, backgammon/teachgammon/Makefile:
Use BSD signal defines only.
* atc/include.h: Include <sys/stat.h> (for umask).
* atc/Makefile: Use BSD signal defines only.
* adventure/Makefile: Don't use BSD includes, defines or library
(works with SYSV signal semantics as well).
* configure: Ask for libc version; configure defines for BSD
signal semantics (-D__USE_BSD_SIGNAL, etc.).
* Makeconfig.in (BSD_SIGNAL_DEFS): New variable.
* backgammon/common_source/Makefile (clean): Remove sbackgammon.
* backgammon/common_source/fancy.c: Include <unistd.h>.
* backgammon/common_source/subs.c: Include <unistd.h>.
* backgammon/common_source/save.c: Include <unistd.h>.
* backgammon/common_source/fancy.c: Include <termcap.h>.
* backgammon/common_source/allow.c,
backgammon/common_source/back.h, backgammon/common_source/board.c,
backgammon/common_source/check.c,
backgammon/common_source/fancy.c, backgammon/common_source/odds.c,
backgammon/common_source/one.c, backgammon/common_source/save.c,
backgammon/common_source/subs.c, backgammon/common_source/table.c:
Add prototypes and function return types.
Sun Aug 10 10:06:10 1997 Joseph Samuel Myers <jsm@octomino.demon.co.uk>
* atc/main.c (main): Include program name in `Unknown option'
error message.
* atc/include.h: Include <sys/wait.h>.
* atc/extern.h, atc/graphics.c, atc/input.c, atc/list.c,
atc/log.c, atc/main.c, atc/update.c: Add prototypes and function
return types.
Sat Aug 9 16:36:17 1997 Joseph Samuel Myers <jsm@octomino.demon.co.uk>
* atc/extern.h, atc/grammar.y, atc/graphics.c, atc/input/c,
atc/update.c: Add prototypes and function return types.
Thu Aug 7 12:01:56 1997 Joseph Samuel Myers <jsm@octomino.demon.co.uk>
* atc/include.h: Make inclusion of <unistd.h> unconditional;
remove unused defines of bcopy and bzero under SYSV.
* configure: Escape ` and ' when asking for .so or symlinks.
* configure, Makeconfig.in, atc/Makefile: Configure yacc and lex
programs using configure script.
* configure: Add note about placing of sockets.
* dm/README.linux: New file, mentions -DLOG.
* configure, Makeconfig.in, dm/Makefile: Configure log file for dm.
Sun Jul 27 12:45:18 1997 Joseph Samuel Myers <jsm@octomino.demon.co.uk>
* arithmetic/arithmetic.c: Include <stdlib.h> and <unistd.h>; add
function return types and prototypes; remove previous function
declarations.
Sat Jul 26 20:17:49 1997 Joseph Samuel Myers <jsm@octomino.demon.co.uk>
* adventure/crc.c: Add prototypes.
* adventure/setup.c (main): Add casts so as not to print a long
with an int format.
* adventure/io.c, adventure/setup.c: Add prototypes and function
return types.
Fri Jul 25 12:48:04 1997 Joseph Samuel Myers <jsm@octomino.demon.co.uk>
* adventure/wizard.c: Include <time.h>; remove declaration of
localtime().
* adventure/setup.c: Include <stdlib.h>.
* adventure/subr.c, adventure/wizard.c: Add some prototypes.
* adventure/save.c: Include <stdlib.h>.
* adventure/crc.c, adventure/io.c, adventure/save.c,
adventure/vocab.c, adventure/wizard.c: Add function return types.
* adventure/hdr.h: More prototypes.
* adventure/wizard.c (ran): Remove declaration of rand().
* adventure/hdr.h, adventure/init.c, adventure/wizard.c: Change
macro DECR and all uses so as not to need -traditional-cpp
* adventure/Makefile: Don't use -traditional-cpp.
Thu Jul 24 19:30:35 1997 Joseph Samuel Myers <jsm@octomino.demon.co.uk>
* adventure/init.c: Include <time.h> and <stdlib.h>; remove
declaration of time().
* adventure/init.c: Add argument to trapdel(); add prototype for
linkdata().
* adventure/main.c (main): Remove declaration of trapdel().
* adventure/main.c: Add prototype for main().
* adventure/hdr.h, adventure/main.c, adventure/save.c,
adventure/vocab.c: Change link to adv_link.
* adventure/main.c: Include <unistd.h>.
* adventure/io.c: Include <stdlib.h>.
* adventure/wizard.c: Include <stdio.h> and <stdlib.h>.
* adventure/vocab.c: Include <stdio.h> and <stdlib.h>.
* adventure/subr.c: Include <stdio.h> and <stdlib.h>.
* adventure/done.c: Include <stdio.h> and <stdlib.h>.
* adventure/done.c, adventure/init.c, adventure/io.c,
adventure/save.c, adventure/subr.c, adventure/vocab.c,
adventure/wizard.c: Add function return types.
* adventure/hdr.h: Add prototypes; remove declaration of malloc().
Sat Jul 19 20:51:49 1997 Joseph Samuel Myers <jsm@octomino.demon.co.uk>
* configure: Set empty man5dir if not building in dm.
Thu Jul 17 16:41:29 1997 Joseph Samuel Myers <jsm@octomino.demon.co.uk>
* Version 1.5.
* bsd-games-non-free.lsm: Update.
* bsd-games.lsm: Update.
Wed Jul 16 12:50:00 1997 Joseph Samuel Myers <jsm@octomino.demon.co.uk>
* bsd-games.lsm: Update.
* NEWS: Update.
* Makefile (install): Create MAN5DIR.
* NEWS: Update.
* bsd-games-non-free.lsm: Update.
* bsd-games.lsm: Update.
Tue Jul 15 15:57:06 1997 Joseph Samuel Myers <jsm@octomino.demon.co.uk>
* bsd-games-non-free.lsm: Update.
* bsd-games.lsm: Update.
* TODO: Update.
* README.non-free: Update.
* README: Update.
* INSTALL: Update.
* rogue/machdep.c (md_slurp): Use tcflush() under Linux.
* rogue/Makefile (DEFS): Add UNIX_SYSV to get <time.h> included in
machdep.c.
* rogue/*: Added from NetBSD-current.
* rogue/Makefile: Renamed to Makefile.bsd.
* rogue/USD.doc/Makefile: Renamed to Makefile.bsd.
* rogue/Makefile: New file.
* rogue/rogue.6: Rename to rogue.6.in.
* rogue/rogue.6.in: Parametrise.
* configure: Ask for rogue scorefile; substitute in this file.
* Makefile: Remove rogue.6 in distclean.
* Makeconfig.in: Include ROGUE_SCOREFILE.
* rogue/pathnames.h: The path for the score file is in the
Makefile.
Mon Jul 14 11:46:56 1997 Joseph Samuel Myers <jsm@octomino.demon.co.uk>
* quiz/Makefile (clean): Add target.
* random/*: Added from NetBSD-current.
* random/Makefile: Renamed to Makefile.bsd.
* random/Makefile: New file.
* quiz/quiz.c (fgetln): Add implementation since Linux libc lacks
fgetln.
* quiz/*: Added from NetBSD-current.
* quiz/Makefile: Renamed to Makefile.bsd.
* quiz/Makefile: New file.
* quiz/datfiles/index: Rename to index.in.
* quiz/datfiles/index.in: Parametrise.
* quiz/quiz.6: Rename to quiz.6.in.
* quiz/quiz.6.in: Parametrise.
* configure: Ask for quiz directory; substitute in these files.
* Makeconfig.in (QUIZ_DIR): Add for quiz directory.
* Makefile: Remove index and quiz.6 in distclean.
* quiz/pathnames.h: Paths are defined in the Makefile.
* pig/*: Added from NetBSD-current.
* pig/Makefile: Renamed to Makefile.bsd.
* pig/Makefile: New file.
* phantasia/main.c (playinit): Add ICRNL to terminal modes if
using ncurses.
* phantasia/Makefile (install): Bug-fix.
* configure: Configure directory for phantasia.
* Makeconfig.in: Include PHANTASIA_DIR.
* phantasia/pathnames.h: Paths are defined in Makefile.
* phantasia/Makefile: Supply motd to setup.
Sun Jul 13 18:28:52 1997 Joseph Samuel Myers <jsm@octomino.demon.co.uk>
* phantasia/*: Added from NetBSD-current.
* phantasia/Makefile: Renamed to Makefile.bsd.
* phantasia/Makefile: New file.
* dm/dm.c (load): Add Linux-specific way of getting load average.
* dm/dm.8: Rename to dm.8.in.
* dm/dm.conf.5: Rename to dm.conf.5.in.
* dm/dm.8.in, dm/dm.conf.5.in: Parametrise.
* configure: Substitute in these files.
* Makefile: Remove dm.8 and dm.conf.5 in distclean.
* configure: Do additional configuration for dm.
* Makeconfig.in: Include these variables.
* install-man.in: Allow manual section 5.
* dm/*: Added from NetBSD-current.
* dm/Makefile: Renamed to Makefile.bsd.
* dm/Makefile: New file.
* TODO: Update.
* All games, except bog, hunt, and paranoia, now updated from
NetBSD-current of 1997-07-12.
* cribbage/*: Update from NetBSD-current of 1997-07-12.
Fri Jul 11 19:09:24 1997 Joseph Samuel Myers <jsm@octomino.demon.co.uk>
* bog/README.linux: Comply with licence conditions by including
patch from original bog.
* bog/Makefile (linux-patch): Create or update this patch.
* banner/*: Added from NetBSD-current.
* banner/Makefile: Renamed to Makefile.bsd.
* banner/Makefile: New file.
* atc/graphics.c (getAChar): Use SYSV method instead of BSD one
under Linux; change conditional on inclusion of <errno.h> to allow
for this.
Thu Jun 12 20:32:57 1997 Joseph S. Myers <jsm28@cam.ac.uk>
* adventure/*: Added from NetBSD-current.
* adventure/Makefile: Renamed to Makefile.bsd.
* adventure/Makefile: New file.
Wed Jun 11 12:09:38 1997 Joseph S. Myers <jsm28@cam.ac.uk>
* Now builds with glibc without needing stray <bsd/*> headers.
* snake/snake/snake.c: Define MIN instead of including
<bsd/bsd.h>.
* pom/pom.c: With glibc, define isleap instead of including
<tzfile.h>.
* mille/Makefile: Remove dependency on unctrl.h.
* configure: Choose default for BSD-compat includes based on
whether /usr/include/bsd exists.
Tue Jun 10 17:40:44 1997 Joseph S. Myers <jsm28@cam.ac.uk>
* All games, with same exceptions as below, now updated from
NetBSD-current of 1997-06-07.
* cribbage/*, hangman/*, mille/*, robots/*, tetris/*: Update from
NetBSD-current of 1997-06-07.
Fri Jun 6 22:19:38 1997 Joseph S. Myers <jsm28@cam.ac.uk>
* README: Update.
* *.orig, */*.orig, */*/*.orig: Rename to *.bsd instead to avoid
conflicts with patch backups.
Thu May 22 00:03:59 1997 Joseph S. Myers <jsm28@cam.ac.uk>
* TODO: Update.
* README.non-free: Update.
* README: Update.
Wed May 21 00:08:36 1997 Joseph S. Myers <jsm28@cam.ac.uk>
* TODO: Update.
* README: Update.
* INSTALL: Update.
* Now builds with glibc.
* bog/mach.c (flushin): Use the flushinp() version.
* cribbage/extern.c: Change `bool' to `BOOLEAN'.
* atc/Makefile: Use -lfl instead of -ll.
Tue May 20 00:26:52 1997 Joseph S. Myers <jsm28@cam.ac.uk>
* All games, with same exceptions as below, now updated from
NetBSD-current of 1997-05-17.
* backgammon/backgammon/Makefile.orig,
backgammon/teachgammon/Makefile.orig, factor/Makefile.orig,
fortune/Makefile.orig, fortune/datfiles/Makefile.orig,
fortune/strfile/Makefile.orig, wargames/Makefile.orig: Update from
NetBSD-current of 1997-05-17.
Mon May 19 00:50:37 1997 Joseph S. Myers <jsm28@cam.ac.uk>
* All games, except bog, hunt and paranoia, now updated from
NetBSD-current of 1997-04-26.
* wump/*: Update from NetBSD-current of 1997-04-26.
* worms/Makefile (DEFS): Remove -DUSG which is no longer needed.
* worms/*: Update from NetBSD-current of 1997-04-26.
* worm/worm.c (process): Move the move to highlight head of worm
here from main().
* worm/*: Update from NetBSD-current of 1997-04-26.
* wargames/*: Update from NetBSD-current of 1997-04-26.
Sun May 18 01:29:05 1997 Joseph S. Myers <jsm28@cam.ac.uk>
* trek/README.linux: New file, mentions trek manual.
* trek/*: Update from NetBSD-current of 1997-04-26.
* tetris/screen.c (OXTABS): Define to XTABS.
* tetris/*: Update from NetBSD-current of 1997-04-26.
Sat May 17 12:24:07 1997 Joseph S. Myers <jsm28@cam.ac.uk>
* snake/snake/snake.c: Define CTRL.
* snake/snake/move.c: Include <unistd.h>; condition use of VDSUSP
on its being defined; define CTRL; define OXTABS.
* snake/*: Update from NetBSD-current of 1997-04-26.
* sail/pl_7.c: Don't include <sys/ttydefaults.h>.
* sail/Makefile: Change dependency on externs.h to extern.h.
* sail/*: Update from NetBSD-current of 1997-04-26.
Thu May 15 15:09:59 1997 Joseph S. Myers <jsm28@cam.ac.uk>
* robots/move.c: Don't include <sys/ttydefualts.h>; define CTRL.
* robots/*: Update from NetBSD-current of 1997-04-26.
* hangman/getguess.c: Fix sense of glibc test for
<sys/ttydefaults.h>.
* rain/rain.6: Rename to rain.6.in.
* rain/rain.6.in: Parametrise.
* configure: Substitute in this file.
* Makefile: Remove rain/rain.6 in distclean.
* rain/Makefile (DEFS): Remove -DUSG, as it's no longer needed.
* rain/*: Update from NetBSD-current of 1997-04-26.
Wed May 14 23:27:32 1997 Joseph S. Myers <jsm28@cam.ac.uk>
* primes/*: Update from NetBSD-current of 1997-04-26.
* ppt/*: Update from NetBSD-current of 1997-04-26.
* pom/*: Update from NetBSD-current of 1997-04-26.
* number/*: Update from NetBSD-current of 1997-04-26.
* morse/*: Update from NetBSD-current of 1997-04-26.
* monop/*: Update from NetBSD-current of 1997-04-26.
Mon May 12 02:08:53 1997 Joseph S. Myers <jsm28@cam.ac.uk>
* mille/misc.c (CTRL): Define.
* mille/*: Update from NetBSD-current of 1997-04-26.
Wed May 7 00:15:09 1997 Joseph S. Myers <jsm28@cam.ac.uk>
* Version 1.4.
* Makefile, caesar/Makefile: Disable test in caesar (as it depends
on rot13ed fortunes).
* NEWS: Update.
* bsd-games-non-free.lsm: Update.
* bsd-games.lsm: Update.
* hangman/getguess.c (readch): Change curx to _curx, cury to _cury
if using ncurses.
* hangman/getguess.c: Don't include <sys/ttydefaults.h>; define
CTRL.
* hangman/*: Update from NetBSD-current of 1997-04-26.
* fortune/README.linux: Update.
* fortune/datfiles/Makefile: Update for more fortune collections.
* configure: Ask whether to install offensive fortunes.
* Makeconfig.in: Provide FORTUNE_TYPE.
* fortune/*: Update from NetBSD-current of 1997-04-26.
Tue May 6 00:53:04 1997 Joseph S. Myers <jsm28@cam.ac.uk>
* fish/*: Update from NetBSD-current of 1997-04-26.
* Version 1.3.4beta.
* NEWS: Update.
* bsd-games-non-free.lsm: Update.
* bsd-games.lsm: Update.
* README: Update.
* configure, tetris/Makefile: Consistently use tetris-bsd for
files associated with tetris.
* INSTALL: Update.
* factor/*: Update from NetBSD-current of 1997-04-26.
* cribbage/*: Update from NetBSD-current of 1997-04-26.
Mon May 5 02:23:05 1997 Joseph S. Myers <jsm28@cam.ac.uk>
* canfield/*: Update from NetBSD-current of 1997-04-26.
* caesar/caesar.6: Mention rot13.
* caesar/Makefile: Install rot13 and manpage link.
* caesar/rot13.sh: Rename to rot13.in.
* caesar/rot13.in: Parametrise to use full path of caesar.
* configure: Substitute in this file.
* Makefile: Remove rot13 in distclean.
* caesar/*: Update from NetBSD-current of 1997-04-26.
* bcd/*: Update from NetBSD-current of 1997-04-26.
* battlestar/com6.c (post): Change to use time() in line with
comments.
* battlestar/Makefile: Change dependency on externs.h to extern.h.
* battlestar/*: Update from NetBSD-current of 1997-04-26.
* backgammon/common_source/Makefile: Quote value of RULES; only
define when building sbackgammon.
* backgammon/backgammon/Makefile, backgammon/teachgammon/Makefile:
Don't include RULES in DEFS.
* backgammon/Makefile: Don't include ../Makeconfig.
* backgammon/common_source/back.h (OXTABS): Define to XTABS if not
defined (from glibc headers).
* backgammon/*: Update from NetBSD-current of 1997-04-26.
Sun May 4 01:55:22 1997 Joseph S. Myers <jsm28@cam.ac.uk>
* backgammon/common_source/subs.c: Initialise `buffnum' to -1, to
prevent a spurious NUL.
* backgammon/common_source/fancy.c: Mark `buffnum' as `extern'.
Sat May 3 00:27:49 1997 Joseph S. Myers <jsm28@cam.ac.uk>
* Version 1.3.3beta.
* NEWS: Update.
* bsd-games.lsm: Update.
* bsd-games-non-free.lsm: Update.
* sail/player.h (SCREENTEST): Do echo(), since ncurses turns off
echo in initscr but we want it on for initial questions.
* backgammon/teachgammon/ttext1.c: Remove \032 from `hello'.
* backgammon/teachgammon/ttext2.c: Make list `char *list[]'.
* configure: Default list of directories should only include those
with a Makefile.
* README.non-free: Update.
* README: Update.
* INSTALL: Update.
* Version 1.3.2beta.
* NEWS: Update.
* TODO: Update.
* Makefile.orig, Makefile.inc.orig: Update from NetBSD-current of
1997-04-26.
* Makefile (distclean): Remove install-score.
Fri May 2 13:23:28 1997 Joseph S. Myers <jsm28@cam.ac.uk>
* atc/*: Update from NetBSD-current of 1997-04-26.
* arithmetic/*: Update from NetBSD-current of 1997-04-26.
* worm/worm.c (main): Place cursor on head of worm.
* snake/snake/snake.c (mainloop): Place cursor on you, not one
cell to the left and above.
* backgammon/common_source/init.c,
backgammon/common_source/back.h: Initialise args to start with
'-'.
* bsd-games-non-free.lsm: New file - LSM entry for
bsd-games-non-free.
* bsd-games.lsm: Update.
* INSTALL: Update.
* README.linux: Rename to README.
* README: Update.
* README.non-free: New file - README for non-free distribution.
* fortune/README.linux: Update.
* bog/README.linux: Update.
Thu May 1 00:45:58 1997 Joseph S. Myers <jsm28@cam.ac.uk>
* atc/Makefile, battlestar/Makefile, canfield/canfield/Makefile,
cribbage/Makefile, robots/Makefile, sail/Makefile,
snake/snake/Makefile, tetris/Makefile: Use INSTALL_SCORE_FILE.
* tetris/Makefile (install): Use INSTALL_SCORE_GAME.
* configure, Makeconfig.in: Update for this.
* install-score.in: New file - install a score file.
* TODO: Update.
* INSTALL: Update.
* README.linux: Update.
* arithmetic/README.linux, atc/README.linux,
battlestar/README.linux, bcd/README.linux, caesar/README.linux,
canfield/README.linux, cribbage/README.linux, factor/README.linux,
fish/README.linux, hangman/README.linux, mille/README.linux,
monop/README.linux, morse/README.linux, number/README.linux,
paranoia/README.linux, pom/README.linux, ppt/README.linux,
primes/README.linux, rain/README.linux, robots/README.linux,
sail/README.linux, snake/README.linux, trek/README.linux,
wargames/README.linux, worm/README.linux, worms/README.linux,
wump/README.linux: Remove.
* fortune/fortune/Makefile: Remove unused definition.
* configure, Makeconfig.in, atc/Makefile, backgammon/Makefile,
backgammon/backgammon/Makefile, backgammon/common_source/Makefile,
backgammon/teachgammon/Makefile, battlestar/Makefile,
bog/Makefile, bog/bog.6.in, canfield/Makefile,
canfield/canfield/Makefile, canfield/cfscores/Makefile,
canfield/canfield/canfield.6.in, cribbage/Makefile,
cribbage/cribbage.6.in, fish/Makefile, hangman/Makefile,
hangman/hangman.6.in, monop/Makefile, monop/monop.6.in,
robots/Makefile, robots/robots.6.in, sail/Makefile,
snake/Makefile, snake/snake/Makefile, snake/snake/snake.6.in,
snake/snscore/Makefile, tetris/Makefile, tetris/tetris.6.in,
wump/Makefile: Configure paths for data files for individual games
with configure script.
* configure: Find default list of games to build from what
directories are present.
* Version 1.3.1beta privately distributed for comments.
* NEWS: New file - summary of changes.
* TODO: Update.
* README.linux: Update.
* INSTALL: Update.
* tetris/Makefile: Install manual page as tetris-bsd.6.
* bsd-games.lsm: Update.
Wed Apr 30 00:45:55 1997 Joseph S. Myers <jsm28@cam.ac.uk>
* INSTALL: Update.
* TODO: Update.
* bsd-games.lsm: Update.
* wump/Makefile (install): Use INSTALL_PREFIX.
* canfield/canfield/Makefile (install): Use INSTALL_PREFIX.
* Makefile (install): Fix typo.
* rain/Makefile: Add target `all'; fix dependencies.
* ppt/Makefile: Add target `all'.
* pom/Makefile: Add target `all'.
* paranoia/Makefile: Add target `all'.
* number/Makefile: Add target `all'.
* morse/Makefile: Add target `all'.
* fish/Makefile: Add target `all'.
* factor/Makefile: Add target `all'.
* caesar/Makefile: Add target `all'.
* bcd/Makefile: Add target `all'.
* arithmetic/Makefile: Add target `all'.
* snake/snake/snake.h: Use <sgtty.h> instead of <bsd/sgtty.h>.
Tue Apr 29 10:37:00 1997 Joseph S. Myers <jsm28@cam.ac.uk>
* Makefile (distclean): Delete all substituted-in manpages.
* fortune/fortune/Makefile, fortune/datfiles/Makefile: Fortunes go
under $(LIBDIR), not $(SHAREDIR).
* TODO: Update.
* Credits: Update.
* Debian patch (1.3-7), and David Frey's ports, now integrated
into the source, at least where I thought the fixes were correct
and needed.
* gomoku/pickmove.c: Include <limits.h> instead of
<machine/limits.h> (from David Frey's port).
* gomoku/gomoku.h: Include <endian.h> (from David Frey's port).
* gomoku/Makefile: Rename to Makefile.orig
* gomoku/Makefile: New from port by David Frey; rewrite to use
config information; fix dependencies.
* configure: Add gomoku to list of directories to build in.
* gomoku/*: Added from NetBSD-current, for adding port from David
Frey.
* tetris/tetris.6: Rename to tetris.6.in.
* tetris/tetris.6.in: Parametrise.
* configure: Substitute in this file.
* tetris/pathnames.h: Path to score file is defined in the
Makefile.
* tetris/Makefile: Rename to Makefile.orig.
* tetris/Makefile: New from port by David Frey; rewrite to use
config information; fix dependencies.
* configure: Add tetris to list of directories to build in.
* tetris/*: Added from FreeBSD-current (as a basis to include port
from David Frey <david@eos.lugs.ch>).
Mon Apr 28 12:22:57 1997 Joseph S. Myers <jsm28@cam.ac.uk>
* wump/README.linux: Update.
* wump/Makefile: Rewrite to use config information; fix
dependencies.
* worms/worms.c (main): Include <sys/ioctl.h> (from Debian).
* worms/worms.6: Change -length to -l, -number to -n (from
Debian).
* worms/README.linux: Update.
* worms/Makefile: Rewrite to use config information; fix
dependencies.
* worm/worm.c: Include <termios.h> (from Debian); don't define
baudrate().
* worm/README.linux: Update.
* worm/Makefile: Rewrite to use config information; fix
dependencies.
* wargames/README.linux: Update.
* wargames/Makefile: Rewrite to use config information.
* wargames/wargames.sh: Remove.
* wargames/wargames: Change `tput cl' to `tput clear'.
* trek/trek.6: Rename to trek.6.in.
* trek/trek.6.in: Parametrise.
* configure: Substitute in this file.
* trek/README.linux: Update.
* trek/Makefile: Rewrite to use config information; fix
dependencies.
* snake/snscore/snscore.c (main): Initialise noplayers; check for
empty scorefile (from Debian).
* snake/snscore/snscore.c (MAXPLAYERS): Increase to 65534 (from
Debian).
* snake/snake/snake.6: Rename to snake.6.in.
* snake/snake/snake.6.in: Parametrise.
* configure: Substitute in this file.
* snake/snscore/Makefile: Rewrite to use config information; fix
dependencies.
* snake/snake/Makefile: Rewrite to use config information; fix
dependencies.
* snake/README.linux: Update.
* snake/Makefile: Rewrite to use config information; use `set -e'
in compound commands.
Sun Apr 27 00:02:40 1997 Joseph S. Myers <jsm28@cam.ac.uk>
* sail/pl_7.c (susp): Don't call tstp (from Debian).
* sail/player.h: Mark `version' as `extern'.
* sail/externs.h: Mark variables as `extern'.
* sail/driver.h: Mark `dtab' as `extern'.
* sail/player.h: Change <ncurses.h> to <curses.h>.
* sail/externs.h: Don't include <bsd/signal.h>.
* sail/Makefile: Rewrite to use config information; fix
dependencies.
* robots/init_field.c (init_field), robots/move.c (get_move):
Don't call flushok.
* robots/main.c (quit): Condition out bit using CE (from Debian).
* robots/robots.h, robots/move.c: Use character constants as
argument to CTRL macro.
* robots/robots.6: Rename to robots.6.in.
* robots/robots.6.in: Parametrise.
* configure: Substitute in this file.
* robots/Makefile: Rewrite to use config information; fix
dependencies.
* rain/Makefile: Rewrite to use config information; fix
dependencies.
* rain/rain.c: Include <sys/ioctl.h> (from Debian).
* factor/Makefile: Build pr_tbl.o in current directory, not in
primes directort.
* primes/README.linux: Update.
* primes/Makefile: Rewrite to use config information; fix
dependencies.
* ppt/README.linux: Update.
* ppt/Makefile: Rewrite to use config information; fix
dependencies.
* battlestar/Makefile (install): Add use of $(HIDE_GAME).
* pom/pom.c (main): Return 0.
* pom/README.linux: Update.
* pom/pom.c: Define isleap only if not defined; condition
definition of PI on PI rather than linux not being defined;
improve value of PI.
* pom/Makefile: Rewrite to use config information; fix
dependencies.
* paranoia/paranoia.c (page40): Remove backslash from invalid "\`"
escape sequence.
* paranoia/README.linux: Update.
* paranoia/Makefile: Rewrite to use config information; fix
dependencies.
* hide-game.in: Use installation prefix.
* number/README.linux: Update.
* number/Makefile: Rewrite to use config information; fix
dependencies.
* morse/README.linux: Update.
* morse/Makefile: Rewrite to use config information; fix
dependencies.
* monop/README.linux: Update.
* monop/Makefile: Rewrite to use config information; fix
dependencies.
* hangman/Makefile, hunt/Makefile, mille/Makefile: Add use of
$(HIDE_GAME).
* monop/monop.6: Rename to monop.6.in.
* monop/monop.6.in: Parametrise.
* configure: Substitute in this file.
Sat Apr 26 19:10:52 1997 Joseph S. Myers <jsm28@cam.ac.uk>
* mille/README.linux: Update.
* mille/init.c (newscore): Add force_counter hack from Debian to
fix problem with ncurses's addch not returning ERR at EOL.
* mille/unctrl.h: Do nothing if NCURSES_VERSION is defined.
* mille/Makefile: Rewrite to use config information; fix
dependencies.
* mille/mille.6: Rename to mille.6.in.
* mille/mille.6.in: Parametrise
* configure: Substitute in this file.
* hunt/README.linux: Update.
* hunt/Makefile: Rewrite to use config information.
* hunt/otto.c (SCREEN): Define appropriately for ncurses,
conditional on NCURSES_VERSION (from Debian).
* hunt/pathname.c: Change socket directory to _PATH_SOCKETS (to be
defined in the Makefile).
* hunt/driver.c (init): Conditionally use /var/tmp instead of
/usr/tmp.
* hunt/faketalk.c (faketalk): Fix typo (`stmp' for `smtp').
* hunt/hunt.6: Rename to hunt.6.in.
* hunt/huntd.6: Rename to huntd.6.in.
* hunt/hunt.6.in: Parametrise.
* hunt/huntd.6.in: Parametrise.
* configure: Substitute in these files.
* hangman/README.linux: Update.
* hangman/hangman.6: Rename to hangman.6.in.
* hangman/hangman.6.in: Parametrise.
* configure: Substitute in this file.
* hangman/clean.pl, hangman/util, hangman/util.cc: Remove.
* hangman/Makefile: Rewrite to use config information; fix
dependencies.
Thu Apr 24 00:02:10 1997 Joseph S. Myers <jsm28@cam.ac.uk>
* fortune/fortune/Makefile: Don't keep rebuilding fortune.test.
* fortune/Makefile: Remove fortunes symlink in clean.
* fortune/unstr/unstr.c: Don't typedef off_t.
* fortune/fortune/fortune.c: Conditionally define d_namlen to
d_reclen.
* fortune/strfile/strfile.c: Don't typedef off_t, or undefine
MAXPATHLEN.
* fortune/unstr/Makefile: Rewrite to use config information.
* fortune/strfile/Makefile: Rewrite to use config information.
* fortune/fortune/Makefile: Rewrite to use config information; fix
dependencies.
* fortune/datfiles/Makefile: Rewrite to use config information.
* fortune/Makefile: Rewrite.
* fish/README.linux: Update.
* fish/fish.c (nrandom): Condition out declaration of random()
(from Debian).
* fish/Makefile: Rewrite to use config information; fix
dependencies.
* factor/README.linux: Update.
* factor/Makefile: Rewrite to use config information; fix
dependencies.
Wed Apr 23 00:03:24 1997 Joseph S. Myers <jsm28@cam.ac.uk>
* cribbage/cribbage.6: Rename to cribbage.6.in.
* cribbage/cribbage.6.in: Parametrise; add mention of score file
and instructions file.
* configure: Substitute in this file.
* cribbage/README.linux: Update.
* cribbage/crib.c, cribbage/extern.c, cribbage/io.c,
cribbage/support.c: Change conditional inclusion of ncurses.h or
curses.h to unconditional inclusion of curses.h (ncurses provides
curses.h in the appropriate directory, used with -I if needed, but
ncurses.h is non-standard).
* cribbage/instr.c (instructions): Change `pstat' to an int; use
WEXITSTATUS macro (from Debian).
* cribbage/extern.c: Change `bool' to `BOOLEAN' (from Debian).
* cribbage/Makefile: Rewrite to use config information; fix
dependencies.
* canfield/cfscores/Makefile: Don't use unnecessary libraries.
* canfield/Makefile, canfield/canfield/Makefile,
canfield/cfscores/Makefile: Fix quoting of SCOREFILE.
* canfield/README.linux: Update.
* canfield/canfield/canfield.6: Rename to canfield.6.in.
* canfield/canfield/canfield.6.in: Parametrise.
* configure: Substitute in canfield/canfield/canfield.6.in.
* canfield/cfscores/Makefile: Rewrite to use config information.
* canfield/canfield/Makefile: Rewrite to use config information.
* canfield/Makefile: Rewrite to use config information; use `set
-e' in compound commands.
Tue Apr 22 00:08:42 1997 Joseph S. Myers <jsm28@cam.ac.uk>
* caesar/README.linux: Update.
* caesar/Makefile: Rewrite to use config information; fix
dependencies.
* bog/README.linux: Update.
* bog/Makefile: Rewrite to use config information; fix
dependencies.
* bog/bog.man: Rename to bog.6.in.
* bog/bog.6.in: Include parametrised file locations.
* configure: Substitute in this file.
* arithmetic/Makefile, atc/Makefile,
backgammon/backgammon/Makefile, backgammon/teachgammon/Makefile,
bcd/Makefile: Use $(HIDE_GAME).
* hide-game.in: Use `set -e'.
* configure: Ask for permissions on dm (not included yet, but
supported for when it is ported).
* Makeconfig.in (INSTALL_DM): Provide macro for this.
* arithmetic/Makefile, atc/Makefile,
backgammon/backgammon/Makefile, backgammon/common_source/Makefile,
backgammon/teachgammon/Makefile, battlestar/Makefile,
bcd/Makefile: Use LDFLAGS in link.
* bcd/README.linux: Update.
* bcd/Makefile: Rewrite to use config information; fix
dependencies.
* install-man.in: Set owner/group/permissions on .so pages.
* battlestar/fly.c (visual): Check return of initscr() against
NULL rather than ERR to eliminate warning (although initscr()
should exit in event of error). Also comment out call to
savetty().
* battlestar/fly.c (endfly): Add call to setvbuf() to restore line
buffering on stdout, since ncurses changes buffering but doesn't
restore it.
* battlestar/save.c: Do exit(1) on failed restore; close file at
the end of restore() and save().
* battlestar/externs.h: Conditionally include <stdlib.h> and
<string.h>.
* battlestar/dayfile.c (dayfile): Spelling corrections.
* battlestar/nightfile.c (nightfile): Spelling corrections.
* battlestar/cypher.c (cypher): Fix many tests on *objsht[n] that
should be on objsht[n]; initialise `wordtype' correctly in TAKE
when doing a `take all'.
* battlestar/com5.c (give): Initialise `last1' and `last2' to
avoid a segfault if you start the game with `give'.
* battlestar/com3.c (shoot): Initialise `firstnumber' to avoid
segfault from `shoot all' without a laser.
* battlestar/com2.c (use): Set notes[CANTSEE] to 0 when moving
into the light.
* battlestar/battlestar.c: Change exit() to exit(1) in default
case that shouldn't occur.
* battlestar/externs.h: Mark as `extern' variables initialised
somewhere.
* battlestar/fly.c: Change <bsd/signal.h> to <signal.h>.
* battlestar/README.linux: Update.
* battlestar/Makefile: Rewrite to use config information; fix
dependencies.
Mon Apr 21 22:19:28 1997 Joseph S. Myers <jsm28@cam.ac.uk>
* configure: New variable `chown_vardata' to set owner/group on
variable data only if appropriate.
* Makeconfig.in: Use this variable.
Sat Apr 19 20:06:08 1997 Joseph Samuel Myers <jsm@octomino.demon.co.uk>
* backgammon/Makefile: Add missing semi-colon, and `cd ..'s.
* backgammon/common_source/subs.c (getarg): Check s[0] for being
NULL (from Debian).
* backgammon/backgammon/main.c, backgammon/backgammon/move.c,
backgammon/backgammon/text.c, backgammon/commmon_source/back.h,
backgammon/common_source/board.c, backgammon/teachgammon/teach.c,
backgammon/teachgammon/ttext1.c, backgammon/teachgammon/ttext2.c:
Change `raw' to `bg_raw', and `remove' to `removetxt' (from
Debian).
* backgammon/teachgammon/teach.c: Mark variables as `extern'.
* backgammon/teachgammon/teach.c: Change `ospeed' to `short'.
* backgammon/backgammon/main.c: Mark `instr' and `message' as
`extern'. Also change `ospeed' from `char' to `short' (from
Debian).
* backgammon/common_source/back.h: Mark as `extern' variables
initialised in init.c.
* backgammon/common_source/back.h,
backgammon/common_source/init.c: Don't condition on linux for
including <bsd/sgtty.h> or <sgtty.h>, since redundant with
-I/usr/include/bsd.
* backgammon/README.linux: Update.
* atc/Makefile, backgammon/backgammon/Makefile,
backgammon/teachgammon/Makefile: Consistently use $(INCS) in
compilation rules.
* backgammon/common_source/Makefile: Rewrite to use config
information; fix dependencies.
* backgammon/backgammon/backgammon.6.in: Include teachgammon in
manpage (from Debian).
* backgammon/teachgammon/Makefile: Install .so link or symlink to
backgammon manpage.
Fri Apr 18 11:02:30 1997 Joseph Samuel Myers <jsm@octomino.demon.co.uk>
* install-man.in: New file to handle all the manpage installation
complexities.
* configure, Makeconfig.in, arithmetic/Makefile, atc/Makefile,
backgammon/backgammon/Makefile: Use this new script.
* backgammon/backgammon/Makefile, backgammon/teachgammon/Makefile:
Rewrite to use config information; fix dependencies.
* backgammon/backgammon/backgammon.6: Rename to backgammon.6.in.
* backgammon/backgammon/backgammon.6.in: Parametrise reference to
teachgammon.
* configure: Substitute in backgammon/backgammon/backgammon.6.in.
* backgammon/Makefile: Rewrite to use config information.
* atc/README.linux: Update.
* atc/main.c (main): Add CRMOD to terminal flags, since ncurses
1.9.9g (3.4) and 4.0 disable CR-NL translation.
Thu Apr 17 12:31:00 1997 Joseph Samuel Myers <jsm@octomino.demon.co.uk>
* atc/Makefile: Rewrite to use config information; fix
dependencies; fix libraries and installation of games (from
Debian).
* atc/include.h: Remove conditional inclusion of <bsd/signal.h>,
as it's redundant with -I/usr/include/bsd.
* atc/def.h: Change #ifndef linux to #ifndef PI for definition of
PI (from Debian). Also improve accuracy of value.
* arithmetic/arithmetic.c: include <time.h>; remove declaration of
time().
* Makeconfig.in (CC): Add new macro.
* arithmetic/Makefile: Rewrite to use config information; fix
dependencies.
* arithmetic/README.linux: Update.
* Makeconfig.in (BUILDDIRS): Add new macro.
* configure: Always substitute for sbindir, socketdir and
usrbindir, even if not building relevant programs (so that we can
always create them).
* Makefile: Essentially complete rewrite to use configuration
information; allow installation prefix and use install -d instead
of mkdir -p as per Debian patch. Also use set -e in all compound
commands.
* Makeconfig.in (INSTALL_SCORE_FILE2, INSTALL_SCORE_FILE3): Fix
commands for installing score files.
* configure, Makeconfig.in: Add configuration of socketdir, for
hunt to place its Unix domain sockets in.
Wed Apr 16 21:31:18 1997 Joseph Samuel Myers <jsm@octomino.demon.co.uk>
* BSD-games.src.lsm: Remove.
* bsd-games.lsm: New file - new-style LSM entry.
* configure, Makeconfig.in, hide-game.in: New files - beginnings
of a configuration system.
* CHANGELOG: Rename to ChangeLog.0.
* ChangeLog: New file.
* BSD-games.bin.lsm: Remove.
* New maintainer.
See ChangeLog.0 for earlier changes.