]> git.cameronkatri.com Git - bsdgames-darwin.git/log
bsdgames-darwin.git
25 years agoConvert snake to use curses, and generally clean it up somewhat.
jsm [Tue, 14 Sep 1999 18:07:21 +0000 (18:07 +0000)]
Convert snake to use curses, and generally clean it up somewhat.

Includes bugfixes from or inspired by OpenBSD.

25 years agoMake cribbage use the POSIX.2 pager behaviour.
jsm [Mon, 13 Sep 1999 17:27:36 +0000 (17:27 +0000)]
Make cribbage use the POSIX.2 pager behaviour.

25 years agoFix buffer overrun in rogue.
jsm [Mon, 13 Sep 1999 17:19:55 +0000 (17:19 +0000)]
Fix buffer overrun in rogue.

25 years agoFix uses of names of library functions for other purposes.
jsm [Mon, 13 Sep 1999 17:18:56 +0000 (17:18 +0000)]
Fix uses of names of library functions for other purposes.

25 years agoA couple more checks for file descriptor < 3 missed earlier.
jsm [Mon, 13 Sep 1999 17:15:42 +0000 (17:15 +0000)]
A couple more checks for file descriptor < 3 missed earlier.

25 years agoRemove rogue's old and bit-rotten cut-down version of curses.
jsm [Mon, 13 Sep 1999 17:14:07 +0000 (17:14 +0000)]
Remove rogue's old and bit-rotten cut-down version of curses.

25 years agoSplit limericks into "normal" and "offensive" ones.
hwr [Sun, 12 Sep 1999 10:15:46 +0000 (10:15 +0000)]
Split limericks into "normal" and "offensive" ones.
Fixes PR 6202 by Matthias Grutzeck <grut@teco.edu>.

25 years agoThese fortunes conatain offensive language.
hwr [Sun, 12 Sep 1999 10:06:21 +0000 (10:06 +0000)]
These fortunes conatain offensive language.
These were originally unamerican.{fake,real}
Part of the work on PR 6202.

25 years agoMoved to unamerican.real-o
hwr [Sun, 12 Sep 1999 09:57:50 +0000 (09:57 +0000)]
Moved to unamerican.real-o

25 years agoMoved to unamerican.fake-o
hwr [Sun, 12 Sep 1999 09:54:25 +0000 (09:54 +0000)]
Moved to unamerican.fake-o

25 years agoSecurity improvements for games (largely from or inspired by OpenBSD).
jsm [Sun, 12 Sep 1999 09:02:20 +0000 (09:02 +0000)]
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.

25 years agoUse STD*_FILENO.
kleink [Fri, 10 Sep 1999 10:47:56 +0000 (10:47 +0000)]
Use STD*_FILENO.

25 years agoCheck for write errors in auxiliary programs used during build of games.
jsm [Fri, 10 Sep 1999 00:18:20 +0000 (00:18 +0000)]
Check for write errors in auxiliary programs used during build of games.

25 years agoCompare getchar() against EOF, not -1.
jsm [Fri, 10 Sep 1999 00:16:43 +0000 (00:16 +0000)]
Compare getchar() against EOF, not -1.

25 years agoFix glitch in const changes (bin/8365 from John.P.Darrow@wheaton.edu).
jsm [Fri, 10 Sep 1999 00:03:14 +0000 (00:03 +0000)]
Fix glitch in const changes (bin/8365 from John.P.Darrow@wheaton.edu).

25 years agoInclude <time.h> in various places in the games where time() or time_t
jsm [Thu, 9 Sep 1999 17:30:17 +0000 (17:30 +0000)]
Include <time.h> in various places in the games where time() or time_t
are used.

25 years agoCheck for failure of malloc() and calloc() at various places in the games.
jsm [Thu, 9 Sep 1999 17:27:58 +0000 (17:27 +0000)]
Check for failure of malloc() and calloc() at various places in the games.

25 years agoRemove extra blank line in copyright.
simonb [Thu, 9 Sep 1999 06:30:10 +0000 (06:30 +0000)]
Remove extra blank line in copyright.

25 years agoUse the symbolic names `SEEK_SET' and `O_RDONLY' where appropriate in
jsm [Wed, 8 Sep 1999 21:57:16 +0000 (21:57 +0000)]
Use the symbolic names `SEEK_SET' and `O_RDONLY' where appropriate in
the games.

25 years agoAdd `__noreturn__' and `__unused__' attributes where appropriate to
jsm [Wed, 8 Sep 1999 21:45:25 +0000 (21:45 +0000)]
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).

25 years agoAdd use of `const' where appropriate to the games.
jsm [Wed, 8 Sep 1999 21:17:44 +0000 (21:17 +0000)]
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.

25 years agoRemoved unused array Movenames[].
jsm [Wed, 8 Sep 1999 20:43:48 +0000 (20:43 +0000)]
Removed unused array Movenames[].

25 years agoConvert to something resembling KNF.
simonb [Sat, 21 Aug 1999 10:40:03 +0000 (10:40 +0000)]
Convert to something resembling KNF.

25 years agoInstead of writing out a structure that contains pointers as the header
simonb [Sat, 21 Aug 1999 09:23:44 +0000 (09:23 +0000)]
Instead of writing out a structure that contains pointers as the header
of the card decks file, just write out the number of cards for each
deck.  Also use "off_t" for offsets into the file (that are stored after
the number of cards) instead of "long".
/usr/share/games/cards.pck is now MI.

25 years agoUse new endian-specific conversion macros - 64-bit off_t's are now
simonb [Sat, 21 Aug 1999 07:02:46 +0000 (07:02 +0000)]
Use new endian-specific conversion macros - 64-bit off_t's are now
the stored the same regardess of the byte order of the generating
host.

Note in the strfile(8) man page that all fields are big-endian, not
in network byte order.

25 years agoDon't chown installed files or directories if UNPRIVILEGED is defined.
simonb [Sat, 21 Aug 1999 06:30:11 +0000 (06:30 +0000)]
Don't chown installed files or directories if UNPRIVILEGED is defined.

"make build" should now work as a non-root user (tested on Alpha).
mtree spits out lots of warnings during "make distrib-dirs", but
these are non-fatal.

25 years agoUse ${INSTPRIV} with ${INSTALL}.
simonb [Sat, 21 Aug 1999 06:27:29 +0000 (06:27 +0000)]
Use ${INSTPRIV} with ${INSTALL}.

25 years agoMake phrase to enter password again clearer
hubertf [Wed, 18 Aug 1999 01:39:16 +0000 (01:39 +0000)]
Make phrase to enter password again clearer

25 years agoIn name section, use .Dq macro rather than writing double quote directly.
enami [Tue, 17 Aug 1999 03:36:35 +0000 (03:36 +0000)]
In name section, use .Dq macro rather than writing double quote directly.

25 years agoSpell "privilege" correctly (correct spelling from Jonathan Stone).
simonb [Mon, 16 Aug 1999 02:59:22 +0000 (02:59 +0000)]
Spell "privilege" correctly (correct spelling from Jonathan Stone).

25 years agoAdapt to change of "termcap.h".
tron [Sat, 14 Aug 1999 16:38:45 +0000 (16:38 +0000)]
Adapt to change of "termcap.h".

25 years agoAdapt to change in "termcap.h".
tron [Sat, 14 Aug 1999 16:36:42 +0000 (16:36 +0000)]
Adapt to change in "termcap.h".

25 years agoAdapt to change of "termcap.h".
tron [Sat, 14 Aug 1999 16:29:22 +0000 (16:29 +0000)]
Adapt to change of "termcap.h".

25 years agoFix the part of pr8201 which is IMHO a bug: the error message now goes
sommerfeld [Fri, 13 Aug 1999 03:02:06 +0000 (03:02 +0000)]
Fix the part of pr8201 which is IMHO a bug: the error message now goes
to stderr.

The existing error message ("I don't know what xxx means") is
unchanged, as it is stylisticly in keeping with the light-hearted
nature of the program, and is also more likely to be accurate than the
"no such acronym" error message proposed in 8201.

25 years agoLeave ^Z-handling to the system (curses? no idea, at least it works :-),
hubertf [Tue, 10 Aug 1999 21:52:43 +0000 (21:52 +0000)]
Leave ^Z-handling to the system (curses? no idea, at least it works :-),
and don't wait for two seconds when game is over.

25 years agoPrint score after endwin() so it isn't deleted immediately afterward.
hubertf [Sun, 8 Aug 1999 03:08:08 +0000 (03:08 +0000)]
Print score after endwin() so it isn't deleted immediately afterward.

25 years agoRevert inclusion of <string.h> now that curses has been fixed.
simonb [Sun, 8 Aug 1999 02:06:01 +0000 (02:06 +0000)]
Revert inclusion of <string.h> now that curses has been fixed.

25 years agoFortunes from those Unamerican Activities bumper stickers you see on
thorpej [Wed, 4 Aug 1999 22:45:09 +0000 (22:45 +0000)]
Fortunes from those Unamerican Activities bumper stickers you see on
mountain bikes owned by Gen-X'ers.

25 years agoNeed <strings.h>.
thorpej [Wed, 4 Aug 1999 18:38:12 +0000 (18:38 +0000)]
Need <strings.h>.

25 years agoThis patch converts worms(6) to use curses, thereby
hubertf [Fri, 30 Jul 1999 02:23:27 +0000 (02:23 +0000)]
This patch converts worms(6) to use curses, thereby
simplifying the code and improving its portability.  It also adds a
delay option from OpenBSD, to allow reasonable speed display on fast
terminals, adds use of const, and fixes signal handling and use of
errx() where appropriate.

Patch supplied in PR 6661 by Joseph Myers <jsm28@cam.ac.uk>.

25 years agoThis patch converts rain(6) to use curses, thereby
hubertf [Fri, 30 Jul 1999 02:14:56 +0000 (02:14 +0000)]
This patch converts rain(6) to use curses, thereby
significantly simplifying the code and improving its portability.  It
also adds a delay option from OpenBSD to make the display go at a
useful speed on fast terminals, and fixes signal handling to make it
reliable.

Patch supplied by Joseph Myers <jsm28@cam.ac.uk> in PR 6659.

25 years agoThis patch fixes adventure(6) to use `extern' on declarations of
hubertf [Wed, 28 Jul 1999 23:23:39 +0000 (23:23 +0000)]
This patch fixes adventure(6) to use `extern' on declarations of
objects in its header file, and to add corresponding definitions to
init.c accordingly.  (See the C standard - relying on linker commons
where there are multiple uninitialised declarations of an object in
the program traditionally works on Unix, but is not standard C.)

The patch also removes a bit-rotten code fragment under #ifdef
OLDSTUFF.

Patch submitted in PR 8105 by Joseph Myers <jsm28@cam.ac.uk>

25 years agoThis is a trivial fix to backgammon(6): '\a' is cleaner than '\007'.
hubertf [Wed, 28 Jul 1999 23:15:51 +0000 (23:15 +0000)]
This is a trivial fix to backgammon(6): '\a' is cleaner than '\007'.

Submitted in PR 8104 by Joseph Myers <jsm28@cam.ac.uk>

25 years agoThis patch makes worm(6) keep the cursor on the head of the worm.
hubertf [Wed, 28 Jul 1999 23:09:45 +0000 (23:09 +0000)]
This patch makes worm(6) keep the cursor on the head of the worm.

Submitted by Joseph Myers <jsm28@cam.ac.uk> in PR 8103.

25 years agoThis patch adds references to the main punched card, paper tape and
hubertf [Wed, 28 Jul 1999 23:01:59 +0000 (23:01 +0000)]
This patch adds references to the main punched card, paper tape and
Morse code standards to the bcd(6) manpage (which also serves as the
manpages ppt(6) and morse(6)).

(The only one of these standards I have read is the ECMA-10 paper tape
standard, which is also probably the least readily available, since
ECMA don't supply copies of obsolete standards, though they will
supply printed copies of any or all of their current standards at no
charge.)

Patch submitted in PR 8102 by Joseph Myers <jsm28@cam.ac.uk>

25 years agoThis patch makes bcd(6) use `const' where appropriate, and use
hubertf [Wed, 28 Jul 1999 02:12:33 +0000 (02:12 +0000)]
This patch makes bcd(6) use `const' where appropriate, and use
unsigned char rather than char for values that end up passed to
isascii() and also used as array indices.

Patch submitted by Joseph Myers <jsm28@cam.ac.uk> in PR 8093.

25 years agoThis patch fixes a remaining relic of the backgammon(6) "execute
hubertf [Wed, 28 Jul 1999 02:07:39 +0000 (02:07 +0000)]
This patch fixes a remaining relic of the backgammon(6) "execute
saved game to continue playing" problem described in bin/6077.

Patch contributed by Joseph Myers <jsm28@cam.ac.uk> in PR 8092.

25 years agoIn atc(6), the function getAChar() has BSD and SYSV variants to deal
hubertf [Wed, 28 Jul 1999 02:01:30 +0000 (02:01 +0000)]
In atc(6), the function getAChar() has BSD and SYSV variants to deal
with variations in EINTR behaviour, but the optimisation of using the
BSD version where the SYSV version isn't needed is insignificant.
This patch therefore simplifies the code by making there be just one
version, a more paranoid (about EOF when errno is already EINTR)
version of the SYSV code.  Since the BSD/SYSV defines are mainly used
to control whether BSD timers are used, this helps where BSD timers
but SYSV EINTR handling are wanted.

Patch supplied in PR 8091 by Joseph Myers <jsm28@cam.ac.uk>

25 years agoThis patch improves the handling of save files in battlestar(6), by
hubertf [Wed, 28 Jul 1999 01:45:41 +0000 (01:45 +0000)]
This patch improves the handling of save files in battlestar(6), by
allowing the user to choose the name of the save file and specify it
on the command line when restoring.  It also eliminates a buffer
overrun in determining the path to the save file, and any particular
arbitrary limit on the name length.  In the name of a tidier home
directory, the default name is changed from "Bstar" to ".Bstar".

Patch supplied in PR 8085 by Joseph Myers <jsm28@cam.ac.uk>
Minor modification (s/startup/filename/ in initialize()) by me.

25 years agomake sure only whole words are matched, use [:space:] RE to avoid embedded
drochner [Tue, 27 Jul 1999 15:41:27 +0000 (15:41 +0000)]
make sure only whole words are matched, use [:space:] RE to avoid embedded
<TAB>s

25 years agoRemove empty functin check_adir() and references to it.
hubertf [Mon, 26 Jul 1999 21:14:21 +0000 (21:14 +0000)]
Remove empty functin check_adir() and references to it.

25 years agoThis patch adds to backgammon(6) a couple of noreturn attributes
hubertf [Mon, 26 Jul 1999 20:56:03 +0000 (20:56 +0000)]
This patch adds to backgammon(6) a couple of noreturn attributes
missed in bin/6144.

Patch submitted in PR 8082 by Joseph Myers <jsm28@cam.ac.uk>

25 years agoThis patch makes backgammon(6) check that, if you use the -s option to
hubertf [Mon, 26 Jul 1999 20:50:44 +0000 (20:50 +0000)]
This patch makes backgammon(6) check that, if you use the -s option to
recover a saved game, then you specify a file name.

Patch submitted in PR 8081 by Joseph Myers <jsm28@cam.ac.uk>

25 years agoThis adds a check for memory allocation failure to one place in
hubertf [Mon, 26 Jul 1999 18:39:06 +0000 (18:39 +0000)]
This adds a check for memory allocation failure to one place in
backgammon(6).  The use of write(2) for the message may seem odd, but
is used in another place in this game.  (Actually, a lot of
backgammon(6) could do with being substantially cleaned up.)

Patch submitted in PR 8080 by Joseph Myers <jsm28@cam.ac.uk>

25 years agoCheck whatis(1) if we don't find an acronym matching the argument
briggs [Sun, 25 Jul 1999 20:29:04 +0000 (20:29 +0000)]
Check whatis(1) if we don't find an acronym matching the argument

25 years agoWe're in section 6.
thorpej [Sun, 25 Jul 1999 20:02:48 +0000 (20:02 +0000)]
We're in section 6.

25 years agoThis patch marks unused parameters in atc(6) as such.
hubertf [Sun, 25 Jul 1999 00:24:38 +0000 (00:24 +0000)]
This patch marks unused parameters in atc(6) as such.

Patch submitted in PR 8058 by Joseph Myers <jsm28@cam.ac.uk>

25 years agoHardcore const poisoning
hubertf [Sun, 25 Jul 1999 00:06:13 +0000 (00:06 +0000)]
Hardcore const poisoning
Patch submitted by Joseph Myers <jsm28@cam.ac.uk> in PR 8057

25 years agoThis patch makes atc(6) check for memory allocation failure.
hubertf [Sat, 24 Jul 1999 23:58:15 +0000 (23:58 +0000)]
This patch makes atc(6) check for memory allocation failure.

Patch submitted by Joseph Myers <jsm28@cam.ac.uk> in PR 8056,
with small enhancement to make clearer when loser() is called
with NULL.

25 years agoUse getopt instead of home grown command line parsing.
mjl [Sat, 24 Jul 1999 15:50:44 +0000 (15:50 +0000)]
Use getopt instead of home grown command line parsing.
Patch from Joseph Myers <jsm28@cam.ac.uk> in PR/8062.

25 years agoremove sh warning when invoked with no args
lukem [Thu, 22 Jul 1999 10:08:17 +0000 (10:08 +0000)]
remove sh warning when invoked with no args

25 years agoadd wtf
mrg [Thu, 22 Jul 1999 01:05:20 +0000 (01:05 +0000)]
add wtf

25 years agoAllen Briggs' wtf(6) to grovel the acronyms database.
mrg [Thu, 22 Jul 1999 01:03:20 +0000 (01:03 +0000)]
Allen Briggs' wtf(6) to grovel the acronyms database.

25 years agoconst poisoning
hubertf [Wed, 21 Jul 1999 13:19:10 +0000 (13:19 +0000)]
const poisoning

Patch submitted in PR 8039 by Joseph Myers <jsm28@cam.ac.uk>

25 years agoWhen atc(6) parses its game definition files, the check for `width'
hubertf [Wed, 21 Jul 1999 13:10:47 +0000 (13:10 +0000)]
When atc(6) parses its game definition files, the check for `width'
being defined more than once incorrectly checks for `height' having
been previously defined instead.

Patch submitted in PR 8038 by Joseph Myers <jsm28@cam.ac.uk>

25 years agoDrop setgid privs early, via OpenBSD
hubertf [Wed, 21 Jul 1999 04:04:21 +0000 (04:04 +0000)]
Drop setgid privs early, via OpenBSD
Reported in PR 5970 by Joseph Myers <jsm@octomino.demon.co.uk>

25 years agoDrop setgid privs early. Via OpenBSD, reported in PR 5970 by
hubertf [Wed, 21 Jul 1999 04:02:29 +0000 (04:02 +0000)]
Drop setgid privs early. Via OpenBSD, reported in PR 5970 by
Joseph Myers <jsm28@cam.ac.uk>

25 years agoDrop setgid privs early; via OpenBSD reported in PR 5970 by
hubertf [Wed, 21 Jul 1999 03:59:41 +0000 (03:59 +0000)]
Drop setgid privs early; via OpenBSD reported in PR 5970 by
Joseph Myers <jsm28@cam.ac.uk>

25 years agoDrop setgid privileges early. Derived from OpenBSD and sent in as PR 5970
hubertf [Wed, 21 Jul 1999 03:56:53 +0000 (03:56 +0000)]
Drop setgid privileges early. Derived from OpenBSD and sent in as PR 5970
by Joseph Myers <jsm28@cam.ac.uk>.

25 years agoBack out last due to think o on my side: we don't start banner through
hubertf [Mon, 19 Jul 1999 19:07:17 +0000 (19:07 +0000)]
Back out last due to think o on my side: we don't start banner through
dm(6), so there's no setgid privileges to discard. Pointed out by
Joseph S. Myers <jsm28@cam.ac.uk>

25 years agoDrop setgid privs passed from dm(6).
hubertf [Mon, 19 Jul 1999 00:42:59 +0000 (00:42 +0000)]
Drop setgid privs passed from dm(6).

Patch submitted in PR 5945 by Joseph S. Myers <jsm28@cam.ac.uk>

25 years agoAs in previously sent patches: backgammon(6) does not need setgid
hubertf [Mon, 19 Jul 1999 00:33:58 +0000 (00:33 +0000)]
As in previously sent patches: backgammon(6) does not need setgid
games privileges from dm, so should revoke them on startup.

Patch submitteed in PR 8024 bye Joseph Myers <jsm28@cam.ac.uk>

25 years agoAdventure(6) should check for errors (e.g. disk full or quota
hubertf [Sat, 17 Jul 1999 20:02:48 +0000 (20:02 +0000)]
Adventure(6) should check for errors (e.g. disk full or quota
exceeded) when writing out saved games. Do so!

Patch supplied by Joseph Myers <jsm28@cam.ac.uk> in PR 8016

25 years agoThe patch below improves the security of the game atc(6), by having it
hubertf [Sat, 17 Jul 1999 19:57:03 +0000 (19:57 +0000)]
The patch below improves the security of the game atc(6), by having it
open the score file at the start and then drop all setgid privileges
while keeping a (close-on-exec) file descriptor open to it.  In order
to allow this the static data files have to be made world readable.
In addition a potential buffer overrun with corrupted score files is
avoided by more careful use of scanf (note that SCORE_SCANF_FMT is
defined alongside the definition of the relevant structure).

Submitted in PR 8015 by Joseph Myers <jsm28@cam.ac.uk>

25 years agoAdd two .Els that nroff was complaining to miss.
hubertf [Sat, 17 Jul 1999 19:48:40 +0000 (19:48 +0000)]
Add two .Els that nroff was complaining to miss.

25 years agoThis patch (a) makes arithmetic(6) revoke any setgid privileges it got
hubertf [Sat, 17 Jul 1999 19:11:30 +0000 (19:11 +0000)]
This patch (a) makes arithmetic(6) revoke any setgid privileges it got
from dm; (b) marks an unused parameter as such.

Submitted in PR 8014 by Joseph Myers <jsm28@cam.ac.uk>

25 years agoThis patch cleans up the handling of the variable `saved' in
hubertf [Fri, 16 Jul 1999 01:38:20 +0000 (01:38 +0000)]
This patch cleans up the handling of the variable `saved' in
adventure(6).  The handling of this variable is somewhat confusing,
since it is used for two different purposes (controlling the time
required before a saved game can be restored, and controlling various
aspects of dwarf behaviour); in fact, it is also declared twice in
hdr.h.  Except possibly when saving a game fails, these uses can never
interfere; when used for controlling dwarf behaviour, we always have
saved == -1.  This can be better understood with reference to the
original PDP-10 FORTRAN source (URL in patch, since hdr.h references
the comments of the FORTRAN as still relevant to this version) of
which the C version is a direct translation: the wrong value for
`saved' meant that someone was cheating and had bypassed normal
initialisation.  Saving was done by halting and telling the user to
save their core image, so the question of carrying on after saving
failed to open the output file did not arise.

This patch separates the uses of `saved' into uses of two separate
variables.

Closes PR 8005 by Joseph Myers <jsm28@cam.ac.uk>

25 years agoConst poisoning.
hubertf [Wed, 14 Jul 1999 22:52:07 +0000 (22:52 +0000)]
Const poisoning.
Patch submitted in PR 7993 by Joseph Myers <jsm28@cam.ac.uk>

25 years agoThis patch fixes a -Wcast-qual warning in wump(6).
hubertf [Wed, 14 Jul 1999 22:49:27 +0000 (22:49 +0000)]
This patch fixes a -Wcast-qual warning in wump(6).
Submitted in 7994 by Joseph Myers <jsm28@cam.ac.uk>

25 years agoFix scoring, submitted in PR 7992 by Joseph Myers <jsm28@cam.ac.uk>
hubertf [Wed, 14 Jul 1999 22:46:21 +0000 (22:46 +0000)]
Fix scoring, submitted in PR 7992 by Joseph Myers <jsm28@cam.ac.uk>

25 years agoFrom PR 7987 by Joseph Myers <jsm28@cam.ac.uk>:
hubertf [Wed, 14 Jul 1999 17:42:13 +0000 (17:42 +0000)]
From PR 7987 by Joseph Myers <jsm28@cam.ac.uk>:
More battlestar(6) spelling and punctuation fixes for battlestar(6).
These ones come from OpenBSD.

25 years agoThis patch makes fish(6) honour PAGER for viewing the instructions.
hubertf [Wed, 14 Jul 1999 17:30:21 +0000 (17:30 +0000)]
This patch makes fish(6) honour PAGER for viewing the instructions.
The detailed behaviour follows POSIX.2.  A similar patch for wump(6)
which was accepted is in bin/6699.  Fish does not need any setgid
privileges it gets from dm, so this patch also moves the gid resetting
earlier.

Reported in PR 7986 by Joseph Myers <jsm28@cam.ac.uk>

25 years agoFrom PR 7988 by Joseph Myers <jsm28@cam.ac.uk>: use the symbolic
hubertf [Wed, 14 Jul 1999 17:23:53 +0000 (17:23 +0000)]
From PR 7988 by Joseph Myers <jsm28@cam.ac.uk>: use the symbolic
name SEEK_SET for values which end up as the third argument of
fseek(), rather than a hard-coded 0.

25 years agoFrom PR 7985 by Joseph Myers <jsm28@cam.ac.uk>:
hubertf [Wed, 14 Jul 1999 17:21:03 +0000 (17:21 +0000)]
From PR 7985 by Joseph Myers <jsm28@cam.ac.uk>:

games/adventure/setup.c fails to check for errors when writing its
output.  This means that, if the disk fills up at this point during a
build, it would nevertheless fail to return an error status.

25 years agoman page rewritten into -mandoc by dholland@eecs.harvard.edu; from PR7861
sommerfeld [Sun, 27 Jun 1999 04:35:42 +0000 (04:35 +0000)]
man page rewritten into -mandoc by dholland@eecs.harvard.edu; from PR7861

25 years agoFixi uninit vars warnings.
christos [Sun, 16 May 1999 00:15:46 +0000 (00:15 +0000)]
Fixi uninit vars warnings.

25 years agoAdd missing prototypes
christos [Sun, 16 May 1999 00:03:35 +0000 (00:03 +0000)]
Add missing prototypes

25 years agoAdd -A for automatic playing mode.
christos [Sat, 15 May 1999 23:56:35 +0000 (23:56 +0000)]
Add -A for automatic playing mode.
Make the score file MI

25 years agoFix Y2K buffer overflow (from OpenBSD).
kristerw [Sun, 25 Apr 1999 19:08:34 +0000 (19:08 +0000)]
Fix Y2K buffer overflow (from OpenBSD).

25 years agoBuffer overflow fix (from OpenBSD)
kristerw [Sat, 24 Apr 1999 22:09:06 +0000 (22:09 +0000)]
Buffer overflow fix (from OpenBSD)

25 years agoinitscr() returns a pointer, compare return value with NULL and not
simonb [Sun, 18 Apr 1999 03:30:12 +0000 (03:30 +0000)]
initscr() returns a pointer, compare return value with NULL and not
an int.
Compatible with other versions of curses.

25 years agoDon't frob the interals of a WINDOW*, use the mvinch() macro.
simonb [Sun, 18 Apr 1999 03:29:01 +0000 (03:29 +0000)]
Don't frob the interals of a WINDOW*, use the mvinch() macro.

25 years agochange:
cgd [Tue, 6 Apr 1999 04:54:19 +0000 (04:54 +0000)]
change:
.Sh "SEE ALSO"
to:
.Sh SEE ALSO
The doc macros check for the latter (actually just for 'SEE' as the first
argument to .Sh) to set the section header SEE ALSO flag, which modifies
some behaviour (e.g. references done with .Rs/.Re).

25 years agos/SETUIDGAME/SETGIDGAME/ - catch up with the rest of the world.
abs [Mon, 5 Apr 1999 08:04:48 +0000 (08:04 +0000)]
s/SETUIDGAME/SETGIDGAME/ - catch up with the rest of the world.

25 years agodefined(attron) does not mean there is a <term.h>
mrg [Mon, 29 Mar 1999 05:12:39 +0000 (05:12 +0000)]
defined(attron) does not mean there is a <term.h>

25 years agoFix object recognition, per PR 6048 by Joseph S. Myers <jsm28@cam.ac.uk>.
hubertf [Thu, 25 Mar 1999 16:46:08 +0000 (16:46 +0000)]
Fix object recognition, per PR 6048 by Joseph S. Myers <jsm28@cam.ac.uk>.

25 years agoMore and more .Os cleanups. .Os is defined in the tmac.doc-common file,
garbled [Mon, 22 Mar 1999 18:43:46 +0000 (18:43 +0000)]
More and more .Os cleanups.  .Os is defined in the tmac.doc-common file,
so we shouldn't override it with versions in the manpages.  Many more to
come.

25 years agoNewline and usage cosmetics from Soren S. Jorvang <soren@t.dk> PR7205
abs [Mon, 22 Mar 1999 06:12:23 +0000 (06:12 +0000)]
Newline and usage cosmetics from Soren S. Jorvang <soren@t.dk> PR7205

25 years agoset MKLINT=no. noted by NAKAJIMA Yoshihiro <nakayosh@kcn.ne.jp>
lukem [Sat, 13 Mar 1999 23:17:46 +0000 (23:17 +0000)]
set MKLINT=no. noted by NAKAJIMA Yoshihiro <nakayosh@kcn.ne.jp>

25 years agoFix .Bl/.El imbalance.
erh [Wed, 10 Mar 1999 09:29:08 +0000 (09:29 +0000)]
Fix .Bl/.El imbalance.