Home | History | Annotate | only in /src/games/hangman
History log of /src/games/hangman
RevisionDateAuthorComments
 1.8 06-Feb-2010  he When using -lcurses, you also need -lterminfo.
This fixes the build for sun2, and also builds with LDSTATIC=-static,
since archive libraries don't record inter-library dependencies.
 1.7 18-Feb-1998  jtc Simply include -lcurses instead of -lcurses -ltermcap
 1.6 05-Feb-1998  christos Use -ltermcap instead of -ltermlib
 1.5 23-Mar-1995  cgd merge with Lite, new RCS id conventions, etc.
 1.4 22-Dec-1994  cgd specify man pages the new way.
 1.3 01-Aug-1993  mycroft Add RCS identifiers.
 1.2 23-Mar-1993  cgd got rid of unnecessary -lcompat and associated dependency
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2 21-Mar-1995  cgd from Lite
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.6 19-Jun-2012  dholland WARNS=5
 1.5 07-Aug-2003  agc branches: 1.5.54;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22269, verified by myself.
 1.4 11-Oct-1997  lukem WARNSify, KNFify
 1.3 23-Mar-1995  cgd merge with Lite, new RCS id conventions, etc.
 1.2 01-Aug-1993  mycroft Add RCS identifiers.
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2 21-Mar-1995  cgd from Lite
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.5.54.1 30-Oct-2012  yamt sync with head
 1.8 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22269, verified by myself.
 1.7 20-Jan-2002  jsm Allow minimum word length to be set on command line. Patch based on
one by Joey Hess <joeyh@debian.org>.
 1.6 17-Sep-1999  jsm Make word list for hangman selectable at run time.
 1.5 08-Sep-1999  jsm Add use of `const' where appropriate to the games.

This merges in all such remaining changes from the Linux port of the
NetBSD games, except in hunt (where substantial changes from OpenBSD
need to be looked at).

Some such changes were previously covered in PRs bin/6041, bin/6146,
bin/6148, bin/6150, bin/6151, bin/6580, bin/6660, bin/7993, bin/7994,
bin/8039, bin/8057 and bin/8093.
 1.4 11-Oct-1997  lukem WARNSify, KNFify
 1.3 23-Mar-1995  cgd merge with Lite, new RCS id conventions, etc.
 1.2 01-Aug-1993  mycroft Add RCS identifiers.
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2 21-Mar-1995  cgd from Lite
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.10 13-Oct-2012  dholland Pass -Wstrict-overflow; while here, use curses TRUE and FALSE only with
curses.
 1.9 19-Jun-2012  dholland branches: 1.9.2;
WARNS=5
 1.8 07-Aug-2003  agc branches: 1.8.54;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22269, verified by myself.
 1.7 11-Oct-1997  lukem WARNSify, KNFify
 1.6 23-May-1997  jtc Remove mvcur() after wrefresh() call, as the latter does not move the
cursor. The fact that we don't have to grovel in the curses internels
for curx or cury is an added bonus.
 1.5 23-Mar-1995  cgd merge with Lite, new RCS id conventions, etc.
 1.4 10-Nov-1993  cgd new curses stuff
 1.3 10-Aug-1993  mycroft Rewrite special character handling.
 1.2 01-Aug-1993  mycroft Add RCS identifiers.
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2 21-Mar-1995  cgd from Lite
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.8.54.1 30-Oct-2012  yamt sync with head
 1.9.2.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.10 19-Jun-2012  dholland WARNS=5
 1.9 05-Nov-2004  dsl branches: 1.9.48;
Add (unsigned char) cast to ctype functions
 1.8 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22269, verified by myself.
 1.7 20-Jan-2002  jsm Allow minimum word length to be set on command line. Patch based on
one by Joey Hess <joeyh@debian.org>.
 1.6 08-Sep-1999  jsm Use the symbolic names `SEEK_SET' and `O_RDONLY' where appropriate in
the games.
 1.5 11-Oct-1997  lukem WARNSify, KNFify
 1.4 23-Mar-1995  cgd merge with Lite, new RCS id conventions, etc.
 1.3 29-Jun-1994  deraadt buggy version of abs() goes away
 1.2 01-Aug-1993  mycroft Add RCS identifiers.
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2 21-Mar-1995  cgd from Lite
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.9.48.1 30-Oct-2012  yamt sync with head
 1.12 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22269, verified by myself.
 1.11 25-Feb-2003  wiz .Nm does not need a dummy argument ("") before punctuation or
for correct formatting of the SYNOPSIS any longer.
 1.10 26-Sep-2002  wiz New sentences begin on new lines.
Patch from Richard Elz, slightly improved by yours truly.
 1.9 20-Jan-2002  wiz Use standard headers.
 1.8 20-Jan-2002  jsm Allow minimum word length to be set on command line. Patch based on
one by Joey Hess <joeyh@debian.org>.
 1.7 17-Sep-1999  jsm Make word list for hangman selectable at run time.
 1.6 11-Oct-1997  lukem WARNSify, KNFify
 1.5 23-Mar-1995  cgd merge with Lite, new RCS id conventions, etc.
 1.4 16-Sep-1993  jtc Word list is in /usr/share/dict/*, not /usr/dict/*.
 1.3 05-Aug-1993  jtc Update to use new -mandoc macros.
 1.2 01-Aug-1993  mycroft Add RCS indentifiers.
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2 21-Mar-1995  cgd from Lite
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.14 26-Aug-2011  dholland Use __dead and __printflike instead of __attribute__.
 1.13 27-Jan-2004  jsm Remove uses of __P.
 1.12 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22269, verified by myself.
 1.11 20-Jan-2002  jsm Allow minimum word length to be set on command line. Patch based on
one by Joey Hess <joeyh@debian.org>.
 1.10 17-Sep-1999  jsm Make word list for hangman selectable at run time.
 1.9 08-Sep-1999  jsm Add `__noreturn__' and `__unused__' attributes where appropriate to
the games.

This merges in all such remaining changes from the Linux port of the
NetBSD games, except in hunt (where substantial changes from OpenBSD
need to be looked at).

Most noreturn attributes were previously added in bin/6144, with some
others that were missed then in bin/8082. Previous `unused'
attributes were covered in bin/6557, bin/8058 and other PRs (all these
PRs have already been handled and closed).
 1.8 08-Sep-1999  jsm Add use of `const' where appropriate to the games.

This merges in all such remaining changes from the Linux port of the
NetBSD games, except in hunt (where substantial changes from OpenBSD
need to be looked at).

Some such changes were previously covered in PRs bin/6041, bin/6146,
bin/6148, bin/6150, bin/6151, bin/6580, bin/6660, bin/7993, bin/7994,
bin/8039, bin/8057 and bin/8093.
 1.7 11-Sep-1998  hubertf fix main() prototype, as per PR#5867
 1.6 11-Oct-1997  lukem WARNSify, KNFify
 1.5 24-Apr-1995  cgd Various changes to make games compile w/o warnings on the alpha:
Include appropriate includes, delete bogus function declarations,
change sizes of variables and casts.
 1.4 23-Mar-1995  cgd merge with Lite, new RCS id conventions, etc.
 1.3 29-Jun-1994  deraadt buggy version of abs() goes away
 1.2 01-Aug-1993  mycroft Add RCS identifiers.
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2 21-Mar-1995  cgd from Lite
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.15 19-Jun-2012  dholland WARNS=5
 1.14 08-Aug-2008  drochner branches: 1.14.2;
if initscr() fails, exit with a message rather than crash in the
next curses call
 1.13 20-Jul-2008  lukem Remove the \n and tabs from the __COPYRIGHT() strings.
 1.12 15-Dec-2007  perry branches: 1.12.6;
convert __attribute__s to applicable cdefs.h macros
 1.11 07-Aug-2003  agc branches: 1.11.22;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22269, verified by myself.
 1.10 20-Jan-2002  jsm Allow minimum word length to be set on command line. Patch based on
one by Joey Hess <joeyh@debian.org>.
 1.9 08-May-2000  mycroft Use setgid(), not setregid().
 1.8 17-Sep-1999  jsm Make word list for hangman selectable at run time.
 1.7 12-Sep-1999  jsm Security improvements for games (largely from or inspired by OpenBSD).

Games which run setgid from dm, but don't need to, should drop their
privileges at startup.

Games which have a scorefile should open it at startup, then drop all
privileges leaving just the open writable file descriptor. If the
game can invoke subprocesses, this should be made close-on-exec.

Games with scorefiles should make sure they do not get a file
descriptor < 3. (Otherwise, they could get confused and corrupt the
scorefile when using stdin, stdout or stderr.)

Some old setuid revokes from the days of setuid games change into gid
revokes.
 1.6 08-Sep-1999  jsm Add `__noreturn__' and `__unused__' attributes where appropriate to
the games.

This merges in all such remaining changes from the Linux port of the
NetBSD games, except in hunt (where substantial changes from OpenBSD
need to be looked at).

Most noreturn attributes were previously added in bin/6144, with some
others that were missed then in bin/8082. Previous `unused'
attributes were covered in bin/6557, bin/8058 and other PRs (all these
PRs have already been handled and closed).
 1.5 11-Sep-1998  hubertf fix main() prototype, as per PR#5867
 1.4 11-Oct-1997  lukem WARNSify, KNFify
 1.3 23-Mar-1995  cgd merge with Lite, new RCS id conventions, etc.
 1.2 01-Aug-1993  mycroft Add RCS identifiers.
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2 21-Mar-1995  cgd from Lite
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.11.22.1 09-Jan-2008  matt sync with HEAD
 1.12.6.1 18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.14.2.1 30-Oct-2012  yamt sync with head
 1.4 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22269, verified by myself.
 1.3 23-Mar-1995  cgd merge with Lite, new RCS id conventions, etc.
 1.2 01-Aug-1993  mycroft Add RCS identifiers.
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2 21-Mar-1995  cgd from Lite
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.7 13-Oct-2012  dholland Pass -Wstrict-overflow; while here, use curses TRUE and FALSE only with
curses.
 1.6 19-Jun-2012  dholland branches: 1.6.2;
WARNS=5
 1.5 07-Aug-2003  agc branches: 1.5.54;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22269, verified by myself.
 1.4 11-Oct-1997  lukem WARNSify, KNFify
 1.3 23-Mar-1995  cgd merge with Lite, new RCS id conventions, etc.
 1.2 01-Aug-1993  mycroft Add RCS identifiers.
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2 21-Mar-1995  cgd from Lite
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.5.54.1 30-Oct-2012  yamt sync with head
 1.6.2.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.8 12-Jul-2020  dholland Avoid messing up the display when too many letters are guessed at once.

The field to put them in was made 26 characters wide... but includes
the string "Guessed: ". So if you get to 17 it wraps to the next line
and clreol()'s it. Instead, when reaching this point step on the
"Guessed:" string instead.

Reported by phil@.
 1.7 13-Oct-2012  dholland Pass -Wstrict-overflow
 1.6 19-Jun-2012  dholland branches: 1.6.2;
WARNS=5
 1.5 07-Aug-2003  agc branches: 1.5.54;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22269, verified by myself.
 1.4 11-Oct-1997  lukem WARNSify, KNFify
 1.3 23-Mar-1995  cgd merge with Lite, new RCS id conventions, etc.
 1.2 01-Aug-1993  mycroft Add RCS identifiers.
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2 21-Mar-1995  cgd from Lite
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.5.54.1 30-Oct-2012  yamt sync with head
 1.6.2.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.6 19-Jun-2012  dholland WARNS=5
 1.5 07-Aug-2003  agc branches: 1.5.54;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22269, verified by myself.
 1.4 11-Oct-1997  lukem WARNSify, KNFify
 1.3 23-Mar-1995  cgd merge with Lite, new RCS id conventions, etc.
 1.2 01-Aug-1993  mycroft Add RCS identifiers.
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2 21-Mar-1995  cgd from Lite
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.5.54.1 30-Oct-2012  yamt sync with head
 1.6 19-Jun-2012  dholland WARNS=5
 1.5 07-Aug-2003  agc branches: 1.5.54;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22269, verified by myself.
 1.4 11-Oct-1997  lukem WARNSify, KNFify
 1.3 23-Mar-1995  cgd merge with Lite, new RCS id conventions, etc.
 1.2 01-Aug-1993  mycroft Add RCS identifiers.
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2 21-Mar-1995  cgd from Lite
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.5.54.1 30-Oct-2012  yamt sync with head
 1.11 19-Jun-2012  dholland WARNS=5
 1.10 07-Aug-2003  agc branches: 1.10.54;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22269, verified by myself.
 1.9 06-Dec-2001  blymn Change deprecated curses function to new equivalent.
 1.8 17-Sep-1999  jsm Make word list for hangman selectable at run time.
 1.7 09-Sep-1999  jsm Include <time.h> in various places in the games where time() or time_t
are used.
 1.6 08-Sep-1999  jsm Add use of `const' where appropriate to the games.

This merges in all such remaining changes from the Linux port of the
NetBSD games, except in hunt (where substantial changes from OpenBSD
need to be looked at).

Some such changes were previously covered in PRs bin/6041, bin/6146,
bin/6148, bin/6150, bin/6151, bin/6580, bin/6660, bin/7993, bin/7994,
bin/8039, bin/8057 and bin/8093.
 1.5 11-Oct-1997  lukem use err/warn instead of perror
 1.4 11-Oct-1997  lukem WARNSify, KNFify
 1.3 23-Mar-1995  cgd merge with Lite, new RCS id conventions, etc.
 1.2 01-Aug-1993  mycroft Add RCS identifiers.
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2 21-Mar-1995  cgd from Lite
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.10.54.1 30-Oct-2012  yamt sync with head

RSS XML Feed