Home | History | Annotate | only in /src/games/quiz
History log of /src/games/quiz
RevisionDateAuthorComments
 1.13 13-Feb-1999  lukem convert from NOxxx= to MKxxx=no.
include <bsd.own.mk> if testing a MKxxx variable.
 1.12 29-Sep-1998  lukem don't install in /usr/share if NOSHARE is defined
 1.11 24-Mar-1997  christos - Makefile cleanups
 1.10 18-Oct-1996  thorpej Use ${INSTALL}.
 1.9 11-May-1995  cgd don't forget MULT!!
 1.8 22-Apr-1995  cgd RCS Ids
 1.7 22-Apr-1995  cgd un-munge import.
 1.6 22-Dec-1994  cgd specify man pages the new way.
 1.5 10-Feb-1994  cgd kiil bogus install -d's
 1.4 01-Oct-1993  jtc Always use `install -d' to make sure destination directory exists & has
correct ownership and permissions.
 1.3 01-Aug-1993  mycroft Add RCS identifiers.
 1.2 09-Apr-1993  cgd make sure directory to install stuff exists before installing
 1.1 04-Apr-1993  cgd branches: 1.1.1;
added quiz from net-2
 1.1.1.1 22-Apr-1995  cgd src/games/quiz from Lite
 1.5 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.4 22-Apr-1995  cgd RCS Ids
 1.3 22-Apr-1995  cgd un-munge import.
 1.2 01-Aug-1993  mycroft Add RCS identifiers.
 1.1 04-Apr-1993  cgd branches: 1.1.1;
added quiz from net-2
 1.1.1.1 22-Apr-1995  cgd src/games/quiz from Lite
 1.11 11-Mar-2009  joerg Fix markup
 1.10 07-Aug-2003  agc branches: 1.10.40;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22269, verified by myself.
 1.9 26-Sep-2002  wiz Lots of minor fixes resulting from reading these man pages in detail.
 1.8 26-Sep-2002  wiz Mdoc nits -- unneeded ".
 1.7 11-Jul-2001  wiz Formatting improvements (from OpenBSD)
 1.6 20-Sep-1997  lukem - WARNSify
- deprecate register
- getopts returns -1 not EOF
- last character returned by fgetln() isn't always \n
- cleanup .Nm use
 1.5 08-Mar-1997  mouse alternate -> alternative, per PR 2643
 1.4 22-Apr-1995  cgd RCS Ids
 1.3 22-Apr-1995  cgd un-munge import.
 1.2 01-Aug-1993  mycroft Add RCS indentifiers.
 1.1 04-Apr-1993  cgd branches: 1.1.1;
added quiz from net-2
 1.1.1.1 22-Apr-1995  cgd src/games/quiz from Lite
 1.10.40.1 13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
 1.29 22-Jan-2023  rillig quiz: fix wrong usage of the <ctype.h> functions
 1.28 03-Feb-2019  mrg - add or adjust /* FALLTHROUGH */ where appropriate
- add __unreachable() after functions that can return but won't in
this case, and thus can't be marked __dead easily
 1.27 23-Mar-2014  dholland branches: 1.27.26;
fix signedness issue
 1.26 27-Aug-2009  dholland branches: 1.26.6; 1.26.12;
ANSIfy function definitions
 1.25 27-Aug-2009  dholland Use standard C: 'unsigned', not 'u_int'
 1.24 12-Aug-2009  dholland sprinkle static
 1.23 20-Jul-2008  lukem Remove the \n and tabs from the __COPYRIGHT() strings.
 1.22 15-Dec-2007  perry branches: 1.22.6;
convert __attribute__s to applicable cdefs.h macros
 1.21 17-Jan-2007  hubertf branches: 1.21.4;
Replve duplicate #includes
From Slava Semushin <slava.semushin@gmail.com>, via private mail
 1.20 27-Jan-2004  jsm Remove uses of __P.
 1.19 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.18 08-May-2000  mycroft Use setgid(), not setregid().
 1.17 16-Dec-1999  jsm Make quiz use POSIX.2 pager handling.
 1.16 17-Sep-1999  jsm branches: 1.16.4;
Fix some uses of NULL as non-pointer and 0 for null pointer.
 1.15 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.14 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.13 13-Sep-1998  hubertf mark non-returning functions (PR#6144 by Joseph Myers <jsm28@cam.ac.uk>)
 1.12 20-Sep-1997  lukem - WARNSify
- deprecate register
- getopts returns -1 not EOF
- last character returned by fgetln() isn't always \n
- cleanup .Nm use
 1.11 06-Jul-1997  mycroft Fix parsing error with escaped colons.
 1.10 07-Jan-1997  tls Sync to 4.4BSD-Lite2
 1.9 22-Apr-1995  cgd RCS Ids
 1.8 22-Apr-1995  cgd fix bugs previously fixed. whee.
 1.7 22-Apr-1995  cgd un-munge import.
 1.6 08-Apr-1994  pk Theorem:
Computer scientists don't care much for poetry.
Prove:
They haven't run `quiz poem next-line' for ages.

get_file(), appdstr() and quiz() we made
one more correctly catenate.
On top of that, repeat after me:
"Thou shallst not err, except in libc!"
 1.5 04-Jan-1994  cgd rename fgetline() and sharpen axe for bostic...
 1.4 22-Dec-1993  cgd update for fgetline
 1.3 17-Nov-1993  cgd fix uninitialized variable bug that caused 'quiz function ed-command'
to dump core. from Szabolcs Szigeti <pink@bagira.fsz.bme.hu>
 1.2 01-Aug-1993  mycroft Add RCS identifiers.
 1.1 04-Apr-1993  cgd branches: 1.1.1;
added quiz from net-2
 1.1.1.2 28-Dec-1996  tls Import from 4.4BSD-Lite2
 1.1.1.1 22-Apr-1995  cgd src/games/quiz from Lite
 1.16.4.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.21.4.1 09-Jan-2008  matt sync with HEAD
 1.22.6.1 18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.26.12.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.26.6.1 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.27.26.1 10-Jun-2019  christos Sync with HEAD
 1.7 27-Jan-2004  jsm Remove uses of __P.
 1.6 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.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 22-Apr-1995  cgd RCS Ids
 1.3 22-Apr-1995  cgd un-munge import.
 1.2 01-Aug-1993  mycroft Add RCS identifiers.
 1.1 04-Apr-1993  cgd branches: 1.1.1;
added quiz from net-2
 1.1.1.1 22-Apr-1995  cgd src/games/quiz from Lite
 1.14 07-Nov-2021  andvar fix various typos, mainly s/prefered/preferred/
 1.13 27-Aug-2009  dholland ANSIfy function definitions
 1.12 27-Jan-2004  jsm Remove uses of __P.
 1.11 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.10 06-Dec-2002  thorpej Need <stdlib.h> for abort() prototype.
 1.9 06-Aug-2002  tron Remove unused variable "err".
 1.8 06-Aug-2002  dbj fix regular expression matcher.
the string "xc" was failing to match "x[[a|b]|c]"
 1.7 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.6 20-Sep-1997  lukem - WARNSify
- deprecate register
- getopts returns -1 not EOF
- last character returned by fgetln() isn't always \n
- cleanup .Nm use
 1.5 22-Apr-1995  cgd RCS Ids
 1.4 22-Apr-1995  cgd un-munge import.
 1.3 01-Aug-1993  mycroft Add RCS identifiers.
 1.2 18-Apr-1993  mycroft Cleanup for GCC 2.
 1.1 04-Apr-1993  cgd branches: 1.1.1;
added quiz from net-2
 1.1.1.1 22-Apr-1995  cgd src/games/quiz from Lite
 1.4 28-Jun-2016  pgoyette Merge updates from PR bin/42576

XXX Any typos are mine, not those of the PR submitter!
 1.3 12-Oct-2005  rpaulo Fix two lines which were broken by previous commit. Noticed by Thomas
Klausner.
 1.2 12-Oct-2005  rpaulo misc/31566: Jaap Boender: update African and Asian capitals to the
current situation.
 1.1 04-Apr-1993  cgd branches: 1.1.1;
added quiz from net-2
 1.1.1.1 22-Apr-1995  cgd src/games/quiz from Lite
 1.2 28-Jun-2016  pgoyette Merge updates from PR bin/42576

XXX Any typos are mine, not those of the PR submitter!
 1.1 04-Apr-1993  cgd branches: 1.1.1;
added quiz from net-2
 1.1.1.1 22-Apr-1995  cgd src/games/quiz from Lite
 1.1 04-Apr-1993  cgd branches: 1.1.1;
added quiz from net-2
 1.1.1.1 22-Apr-1995  cgd src/games/quiz from Lite
 1.1 04-Apr-1993  cgd branches: 1.1.1;
added quiz from net-2
 1.1.1.1 22-Apr-1995  cgd src/games/quiz from Lite
 1.7 28-Jun-2016  pgoyette Update entries for North and South Yemen, since the two countries were
united a long time ago (according to WikiPedia).

Thanks, wiz, for double-checking!
 1.6 28-Jun-2016  wiz Fix typo.
 1.5 28-Jun-2016  pgoyette Merge updates from PR bin/42576

XXX Any typos are mine, not those of the PR submitter!
 1.4 12-Oct-2005  rpaulo misc/31566: Jaap Boender: update African and Asian capitals to the
current situation.
 1.3 02-May-2005  jwise Cyprus is part of Europe, not Asia. Turkey is currently listed in both
Europe and Asia, I'm leaving it that way.
 1.2 09-Apr-2000  jsm Correct capital of the Philippines, allow usual spelling of Jakarta
and prefer the usual name of Cambodia to Khmer.

Problems reported by Robert Vollmert <rvollmert@gmx.net>.
 1.1 04-Apr-1993  cgd branches: 1.1.1;
added quiz from net-2
 1.1.1.1 22-Apr-1995  cgd src/games/quiz from Lite
 1.1 04-Apr-1993  cgd branches: 1.1.1;
added quiz from net-2
 1.1.1.1 22-Apr-1995  cgd src/games/quiz from Lite
 1.2 06-Jul-1997  mycroft Add missing space between play and act.
 1.1 04-Apr-1993  cgd branches: 1.1.1;
added quiz from net-2
 1.1.1.1 22-Apr-1995  cgd src/games/quiz from Lite
 1.1 04-Apr-1993  cgd branches: 1.1.1;
added quiz from net-2
 1.1.1.1 22-Apr-1995  cgd src/games/quiz from Lite
 1.2 10-Jul-2001  wiz Typo fixes. From OpenBSD.
 1.1 04-Apr-1993  cgd branches: 1.1.1;
added quiz from net-2
 1.1.1.1 22-Apr-1995  cgd src/games/quiz from Lite
 1.1 04-Apr-1993  cgd branches: 1.1.1;
added quiz from net-2
 1.1.1.1 22-Apr-1995  cgd src/games/quiz from Lite
 1.7 14-Aug-2005  perry Sulfur|Sulphur -> Sul[f|ph]ur
 1.6 14-Aug-2005  perry Sulfur -> Sulfur | Sulphur
 1.5 14-Aug-2005  perry er, forgot the C{a}esium change in the last
 1.4 14-Aug-2005  perry 1) Update atomic weights.
The weights here are taken from
http://www.iupac.org/publications/pac/2003/7508/7508x1107.html
and have been rounded to four significant figures in all cases.
In the case of elements that have no isotopes stable enough for
reasonable measurement, numbers have been updated from Zumdahl,
"Chemistry", Fifth edition and are presented (as before) in parentheses.
2) Cesium is now C{a}esium
3) A number of new elements have been added at the end of the periodic
table.
 1.3 14-Aug-2005  perry Aluminum -> Alumin{i}um

Aluminium is really the official name, but doing it this way allows
entry of either answer.
 1.2 14-Aug-2005  perry Sulphur -> Sulfur

Although the traditional spelling in commonwealth countries is
"Sulphur", the official IUPAC name of the element is "Sulfur", and
even the Royal Society of Chemistry now spells it "Sulfur".
 1.1 04-Apr-1993  cgd branches: 1.1.1;
added quiz from net-2
 1.1.1.1 22-Apr-1995  cgd src/games/quiz from Lite
 1.7 28-Jun-2016  pgoyette Merge updates from PR bin/42576

XXX Any typos are mine, not those of the PR submitter!
 1.6 02-May-2005  jwise Cyprus is part of Europe, not Asia. Turkey is currently listed in both
Europe and Asia, I'm leaving it that way.
 1.5 29-Mar-2003  jsm Yugoslavia has changed its name to Serbia and Montenegro.
 1.4 29-Mar-2003  jsm The Hague is not the capital of the Netherlands. Reported by Hugo van
Galen <hugo@Dot.net> (in the Netherlands) and Florian Boehl
<flo@namensraumverschmutzung.net>.
 1.3 16-Dec-1999  jsm Fix capital of Monaco. It should be Monaco rather than Monte Carlo;
checked with CIA World Factbook.

Problem reported by <capo@writeme.com>.
 1.2 24-Jul-1998  hubertf branches: 1.2.6;
Update, from PR bin/5829 by Joseph Myers <jsm28@cam.ac.uk>
 1.1 04-Apr-1993  cgd branches: 1.1.1;
added quiz from net-2
 1.1.1.1 22-Apr-1995  cgd src/games/quiz from Lite
 1.2.6.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.2 10-Jul-2001  wiz Typo fixes. From OpenBSD.
 1.1 22-Apr-1995  cgd branches: 1.1.1;
Initial revision
 1.1.1.1 22-Apr-1995  cgd src/games/quiz from Lite
 1.1 04-Apr-1993  cgd branches: 1.1.1;
added quiz from net-2
 1.1.1.1 22-Apr-1995  cgd src/games/quiz from Lite
 1.1 04-Apr-1993  cgd branches: 1.1.1;
added quiz from net-2
 1.1.1.1 22-Apr-1995  cgd src/games/quiz from Lite
 1.3 14-Sep-1999  jsm Change quiz `pres' data file to include vice-presidents, and fix some
minor errors.

From OpenBSD.
 1.2 22-Apr-1995  cgd un-munge import.
 1.1 04-Apr-1993  cgd branches: 1.1.1;
added quiz from net-2
 1.1.1.1 22-Apr-1995  cgd src/games/quiz from Lite
 1.1 04-Apr-1993  cgd branches: 1.1.1;
added quiz from net-2
 1.1.1.1 22-Apr-1995  cgd src/games/quiz from Lite
 1.3 02-Jun-1996  pk A more interesting set of machines (PR#645).
 1.2 08-Jan-1995  pk Two corrections from George Robbins (confirmed by `The lore of the train'
by C. Hamilton Ellis).
 1.1 04-Apr-1993  cgd branches: 1.1.1;
added quiz from net-2
 1.1.1.1 22-Apr-1995  cgd src/games/quiz from Lite
 1.2 12-Jan-2001  jwise The capital of Mordor is _not_ Minas Morgul.
 1.1 04-Apr-1993  cgd branches: 1.1.1;
added quiz from net-2
 1.1.1.1 22-Apr-1995  cgd src/games/quiz from Lite
 1.1 04-Apr-1993  cgd branches: 1.1.1;
added quiz from net-2
 1.1.1.1 22-Apr-1995  cgd src/games/quiz from Lite
 1.1 04-Apr-1993  cgd branches: 1.1.1;
added quiz from net-2
 1.1.1.1 22-Apr-1995  cgd src/games/quiz from Lite
 1.2 28-Jun-2016  pgoyette Missed one.
 1.1 04-Apr-1993  cgd branches: 1.1.1;
added quiz from net-2
 1.1.1.1 22-Apr-1995  cgd src/games/quiz from Lite
 1.1 04-Apr-1993  cgd branches: 1.1.1;
added quiz from net-2
 1.1.1.1 22-Apr-1995  cgd src/games/quiz from Lite
 1.2 20-Aug-2002  christos remove spurious ^A's and ||
 1.1 04-Apr-1993  cgd branches: 1.1.1;
added quiz from net-2
 1.1.1.1 22-Apr-1995  cgd src/games/quiz from Lite
 1.6 28-Jun-2016  pgoyette Merge updates from PR bin/42576

XXX Any typos are mine, not those of the PR submitter!
 1.5 02-May-2005  jwise The current President of the United States is George Walker Bush, not George
Walker Bush, Jr. (his father was George Herbert Walker Bush).
 1.4 14-Dec-2000  tsarna CNN, BSD declare Bush winner.
 1.3 14-Sep-1999  jsm Change quiz `pres' data file to include vice-presidents, and fix some
minor errors.

From OpenBSD.
 1.2 09-Feb-1998  hubertf some more presidents, via tsarna@endicor.com in PR 4957
 1.1 04-Apr-1993  cgd branches: 1.1.1;
added quiz from net-2
 1.1.1.1 22-Apr-1995  cgd src/games/quiz from Lite
 1.2 02-May-2005  jwise Sort list, and add Nunavut, which has been a Canadian province since 1999.
 1.1 04-Apr-1993  cgd branches: 1.1.1;
added quiz from net-2
 1.1.1.1 22-Apr-1995  cgd src/games/quiz from Lite
 1.1 04-Apr-1993  cgd branches: 1.1.1;
added quiz from net-2
 1.1.1.1 22-Apr-1995  cgd src/games/quiz from Lite
 1.1 04-Apr-1993  cgd branches: 1.1.1;
added quiz from net-2
 1.1.1.1 22-Apr-1995  cgd src/games/quiz from Lite
 1.1 04-Apr-1993  cgd branches: 1.1.1;
added quiz from net-2
 1.1.1.1 22-Apr-1995  cgd src/games/quiz from Lite
 1.1 04-Apr-1993  cgd branches: 1.1.1;
added quiz from net-2
 1.1.1.1 22-Apr-1995  cgd src/games/quiz from Lite
 1.1 04-Apr-1993  cgd branches: 1.1.1;
added quiz from net-2
 1.1.1.1 22-Apr-1995  cgd src/games/quiz from Lite
 1.1 04-Apr-1993  cgd branches: 1.1.1;
added quiz from net-2
 1.1.1.1 22-Apr-1995  cgd src/games/quiz from Lite
 1.1 04-Apr-1993  cgd branches: 1.1.1;
added quiz from net-2
 1.1.1.1 22-Apr-1995  cgd src/games/quiz from Lite
 1.2 27-Dec-2019  msaitoh s/opration/operation/
 1.1 04-Apr-1993  cgd branches: 1.1.1; 1.1.118;
added quiz from net-2
 1.1.118.1 08-Apr-2020  martin Merge changes from current as of 20200406
 1.1.1.1 22-Apr-1995  cgd src/games/quiz from Lite

RSS XML Feed