From 4cd9da8d1a99bd181619f2fc9310a15fe7313e9c Mon Sep 17 00:00:00 2001 From: joey Date: Tue, 26 Sep 2000 16:40:41 +0000 Subject: [PATCH] * New upstream release, fixing problems in battlestar. Closes: #70465 git-svn-id: file:///srv/svn/joey/bsdgames-trunk@5134 a4a2c43b-8ac3-0310-8836-e0e880c912e2 --- .cvsignore | 12 +++ NEWS | 32 +++++--- adventure/.cvsignore | 8 ++ arithmetic/.cvsignore | 6 ++ atc/.cvsignore | 13 ++++ backgammon/backgammon/.cvsignore | 7 ++ backgammon/backgammon/main.c | 4 +- backgammon/common_source/.cvsignore | 5 ++ backgammon/teachgammon/.cvsignore | 6 ++ banner/.cvsignore | 6 ++ battlestar/.cvsignore | 7 ++ battlestar/com2.c | 114 +++++++++++++++++----------- bcd/.cvsignore | 6 ++ boggle/boggle/.cvsignore | 7 ++ boggle/mkdict/.cvsignore | 7 ++ boggle/mkindex/.cvsignore | 7 ++ caesar/.cvsignore | 7 ++ canfield/canfield/.cvsignore | 8 ++ canfield/cfscores/.cvsignore | 6 ++ countmail/countmail.6 | 6 +- cribbage/.cvsignore | 8 ++ debian/changelog | 8 +- dm/.cvsignore | 9 +++ factor/.cvsignore | 6 ++ fish/.cvsignore | 7 ++ fortune/datfiles/.cvsignore | 7 ++ fortune/fortune/.cvsignore | 8 ++ fortune/strfile/.cvsignore | 6 ++ fortune/unstr/.cvsignore | 6 ++ gomoku/.cvsignore | 6 ++ hangman/.cvsignore | 8 ++ hunt/hunt/.cvsignore | 7 ++ hunt/huntd/.cvsignore | 7 ++ include/.cvsignore | 1 + lib/.cvsignore | 5 ++ mille/.cvsignore | 6 ++ monop/.cvsignore | 10 +++ morse/.cvsignore | 6 ++ number/.cvsignore | 6 ++ phantasia/.cvsignore | 8 ++ pig/.cvsignore | 6 ++ pom/.cvsignore | 6 ++ ppt/.cvsignore | 6 ++ primes/.cvsignore | 6 ++ quiz/.cvsignore | 8 ++ quiz/datfiles/.cvsignore | 6 ++ rain/.cvsignore | 6 ++ random/.cvsignore | 6 ++ robots/.cvsignore | 8 ++ robots/main.c | 4 +- robots/score.c | 8 +- sail/.cvsignore | 7 ++ snake/snake/.cvsignore | 8 ++ snake/snscore/.cvsignore | 6 ++ tetris/.cvsignore | 9 +++ tetris/tetris.c | 2 +- trek/.cvsignore | 7 ++ worm/.cvsignore | 6 ++ worms/.cvsignore | 6 ++ wtf/.cvsignore | 7 ++ wump/.cvsignore | 7 ++ 61 files changed, 478 insertions(+), 66 deletions(-) create mode 100644 .cvsignore create mode 100644 adventure/.cvsignore create mode 100644 arithmetic/.cvsignore create mode 100644 atc/.cvsignore create mode 100644 backgammon/backgammon/.cvsignore create mode 100644 backgammon/common_source/.cvsignore create mode 100644 backgammon/teachgammon/.cvsignore create mode 100644 banner/.cvsignore create mode 100644 battlestar/.cvsignore create mode 100644 bcd/.cvsignore create mode 100644 boggle/boggle/.cvsignore create mode 100644 boggle/mkdict/.cvsignore create mode 100644 boggle/mkindex/.cvsignore create mode 100644 caesar/.cvsignore create mode 100644 canfield/canfield/.cvsignore create mode 100644 canfield/cfscores/.cvsignore create mode 100644 cribbage/.cvsignore create mode 100644 dm/.cvsignore create mode 100644 factor/.cvsignore create mode 100644 fish/.cvsignore create mode 100644 fortune/datfiles/.cvsignore create mode 100644 fortune/fortune/.cvsignore create mode 100644 fortune/strfile/.cvsignore create mode 100644 fortune/unstr/.cvsignore create mode 100644 gomoku/.cvsignore create mode 100644 hangman/.cvsignore create mode 100644 hunt/hunt/.cvsignore create mode 100644 hunt/huntd/.cvsignore create mode 100644 include/.cvsignore create mode 100644 lib/.cvsignore create mode 100644 mille/.cvsignore create mode 100644 monop/.cvsignore create mode 100644 morse/.cvsignore create mode 100644 number/.cvsignore create mode 100644 phantasia/.cvsignore create mode 100644 pig/.cvsignore create mode 100644 pom/.cvsignore create mode 100644 ppt/.cvsignore create mode 100644 primes/.cvsignore create mode 100644 quiz/.cvsignore create mode 100644 quiz/datfiles/.cvsignore create mode 100644 rain/.cvsignore create mode 100644 random/.cvsignore create mode 100644 robots/.cvsignore create mode 100644 sail/.cvsignore create mode 100644 snake/snake/.cvsignore create mode 100644 snake/snscore/.cvsignore create mode 100644 tetris/.cvsignore create mode 100644 trek/.cvsignore create mode 100644 worm/.cvsignore create mode 100644 worms/.cvsignore create mode 100644 wtf/.cvsignore create mode 100644 wump/.cvsignore diff --git a/.cvsignore b/.cvsignore new file mode 100644 index 0000000..86692f3 --- /dev/null +++ b/.cvsignore @@ -0,0 +1,12 @@ +Makeconfig +hide-game +install-man +install-score +subst.sed +subst.rules +test.out +GNUmakefile +conftest.c +exec.libs.tmp +exec.objs.tmp +a.out diff --git a/NEWS b/NEWS index b7f828b..80a6f16 100644 --- a/NEWS +++ b/NEWS @@ -11,6 +11,18 @@ changes in installation instructions. Packagers should also reread the PACKAGING file each version (or do a diff between the old and new versions of the package and read that). +Version 2.12 (2000-09-25) +============ + +* Improvements and bugfixes to battlestar, mainly from OpenBSD. +Though there are still plenty of known bugs, it should be much harder +to crash. + +* Should compile with glibc 2.2 (tested with 2.1.94). + +* Other minor changes and bugfixes; current with NetBSD CVS of +2000-09-25. + Version 2.11 (2000-04-19) ============ @@ -61,7 +73,7 @@ score file when upgrading to this version. interface (rather than termcap emulation in ncurses); backgammon and tetris still to be converted. -* New `game': wtf. +* New "game": wtf. * Updated from NetBSD CVS of 1999-09-25; many more changes merged back into NetBSD. @@ -79,7 +91,7 @@ games, as best as I can determine them, now appear in COPYING. hangman; you need to provide one at compile time (for boggle) and at run time (for hangman). The copyright status of the one formerly included was not entirely clear. The word list used by hangman can -also now be specified at run time with the new `-d' option. +also now be specified at run time with the new "-d" option. * bsd-games now has a testsuite (for programs that can be tested non-interactively only). @@ -109,10 +121,10 @@ option). * Other minor changes. -* Some users of this package may be interested in my `nppt' package, +* Some users of this package may be interested in my "nppt" package, which provides an alternative implementation of ppt(6) with additional features such as Encapsulated PostScript output. (This package -installs the binary as `nppt', so can be installed simultaneously with +installs the binary as "nppt", so can be installed simultaneously with this one. Look for nppt-0.1.tar.gz (or a later version) on metalab.unc.edu (formerly sunsite) in /pub/Linux/Incoming/ or under /pub/Linux/games/.) @@ -124,14 +136,14 @@ Version 2.5 (1998-09-24) that includes makefile fragments from subdirectories, and uses GNU Make's automatic dependency generation to generate dependencies automatically, rather than recursive make. See Peter Miller's paper -`Recursive Make Considered Harmful' +"Recursive Make Considered Harmful" for reasons why this is better than recursive make. This should make no difference to normal users, but if you modify the sources note that you will need to rebuild from the top directory, and you may find that the dependencies are now accurate whereas formerly they were incomplete. The automatic dependency generation causes the build to -start with about 300 `no such file or directory' warnings, which +start with about 300 "no such file or directory" warnings, which should be ignored: these refer to the dependency files which GNU Make will then automatically generate. @@ -237,15 +249,15 @@ local to bsd-games with ones now in NetBSD. current egcs snapshot fixed as well. * Configuration / installation change - to strip the installed -binaries, use `make install-strip' instead of `make install'; this -replaces the configuration option for `make install' to strip the +binaries, use "make install-strip" instead of "make install"; this +replaces the configuration option for "make install" to strip the installed binaries. * Manpages for wargames and paranoia, thanks to Joey Hess . * Battlestar save file name can be chosen at runtime, and defaults to -`.Bstar' instead of `Bstar' for cleaner directory listings. +".Bstar" instead of "Bstar" for cleaner directory listings. Version 2.0 (1997-12-25) =========== @@ -292,7 +304,7 @@ Version 1.3.4beta (1997-05-06) * Backgammon, battlestar, bcd, caesar, canfield, cribbage and factor updated to the versions in NetBSD-current. As a side-effect, caesar -now installs a `rot13' script. +now installs a "rot13" script. * Tetris score file now defaults to tetris-bsd.scores for consistency with using tetris-bsd in the names of files installed from tetris. diff --git a/adventure/.cvsignore b/adventure/.cvsignore new file mode 100644 index 0000000..e47bc4b --- /dev/null +++ b/adventure/.cvsignore @@ -0,0 +1,8 @@ +a.out +*.d +*.i +*.s +*.d.tmp +adventure +setup +data.c diff --git a/arithmetic/.cvsignore b/arithmetic/.cvsignore new file mode 100644 index 0000000..d019333 --- /dev/null +++ b/arithmetic/.cvsignore @@ -0,0 +1,6 @@ +a.out +*.d +*.i +*.s +*.d.tmp +arithmetic diff --git a/atc/.cvsignore b/atc/.cvsignore new file mode 100644 index 0000000..b9d111e --- /dev/null +++ b/atc/.cvsignore @@ -0,0 +1,13 @@ +a.out +*.d +*.i +*.s +*.d.tmp +atc +pathnames.h +atc.6 +grammar.c +grammar.h +y.tab.* +lex.c +lex.yy.c diff --git a/backgammon/backgammon/.cvsignore b/backgammon/backgammon/.cvsignore new file mode 100644 index 0000000..10fe2bf --- /dev/null +++ b/backgammon/backgammon/.cvsignore @@ -0,0 +1,7 @@ +a.out +*.d +*.i +*.s +*.d.tmp +backgammon +backgammon.6 diff --git a/backgammon/backgammon/main.c b/backgammon/backgammon/main.c index 52a44c8..589812a 100644 --- a/backgammon/backgammon/main.c +++ b/backgammon/backgammon/main.c @@ -1,4 +1,4 @@ -/* $NetBSD: main.c,v 1.15 1999/09/17 17:07:11 jsm Exp $ */ +/* $NetBSD: main.c,v 1.16 2000/05/08 07:56:01 mycroft Exp $ */ /* * Copyright (c) 1980, 1993 @@ -43,7 +43,7 @@ __COPYRIGHT("@(#) Copyright (c) 1980, 1993\n\ #if 0 static char sccsid[] = "@(#)main.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: main.c,v 1.15 1999/09/17 17:07:11 jsm Exp $"); +__RCSID("$NetBSD: main.c,v 1.16 2000/05/08 07:56:01 mycroft Exp $"); #endif #endif /* not lint */ diff --git a/backgammon/common_source/.cvsignore b/backgammon/common_source/.cvsignore new file mode 100644 index 0000000..84a962b --- /dev/null +++ b/backgammon/common_source/.cvsignore @@ -0,0 +1,5 @@ +a.out +*.d +*.i +*.s +*.d.tmp diff --git a/backgammon/teachgammon/.cvsignore b/backgammon/teachgammon/.cvsignore new file mode 100644 index 0000000..3c44fe7 --- /dev/null +++ b/backgammon/teachgammon/.cvsignore @@ -0,0 +1,6 @@ +a.out +*.d +*.i +*.s +*.d.tmp +teachgammon diff --git a/banner/.cvsignore b/banner/.cvsignore new file mode 100644 index 0000000..8d7e748 --- /dev/null +++ b/banner/.cvsignore @@ -0,0 +1,6 @@ +a.out +*.d +*.i +*.s +*.d.tmp +banner diff --git a/battlestar/.cvsignore b/battlestar/.cvsignore new file mode 100644 index 0000000..145d18e --- /dev/null +++ b/battlestar/.cvsignore @@ -0,0 +1,7 @@ +a.out +*.d +*.i +*.s +*.d.tmp +battlestar +pathnames.h diff --git a/battlestar/com2.c b/battlestar/com2.c index ec9d269..6933456 100644 --- a/battlestar/com2.c +++ b/battlestar/com2.c @@ -1,4 +1,4 @@ -/* $NetBSD: com2.c,v 1.8 1999/07/14 17:42:13 hubertf Exp $ */ +/* $NetBSD: com2.c,v 1.21 2000/09/25 19:37:58 jsm Exp $ */ /* * Copyright (c) 1983, 1993 @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "@(#)com2.c 8.2 (Berkeley) 4/28/95"; #else -__RCSID("$NetBSD: com2.c,v 1.8 1999/07/14 17:42:13 hubertf Exp $"); +__RCSID("$NetBSD: com2.c,v 1.21 2000/09/25 19:37:58 jsm Exp $"); #endif #endif /* not lint */ @@ -47,28 +47,24 @@ __RCSID("$NetBSD: com2.c,v 1.8 1999/07/14 17:42:13 hubertf Exp $"); int wearit() { /* synonyms = {sheathe, sheath} */ - int n; int firstnumber, value; firstnumber = wordnumber; - while (wordtype[++wordnumber] == ADJS); - while (wordnumber <= wordcount) { + wordnumber++; + while (wordnumber <= wordcount && (wordtype[wordnumber] == OBJECT || + wordtype[wordnumber] == NOUNS) && wordvalue[wordnumber] != DOOR) { value = wordvalue[wordnumber]; - /* Is the thing being worn a known object? */ - if (value == -1) { - puts("Wear what?"); - return (firstnumber); - } - /* Now find the length of the short description, - * mostly so we know if it ends in 's' or not. - */ - for (n = 0; objsht[value][n]; n++) - /* do nothing */; - + if (objsht[value] == NULL) + break; switch (value) { + case -1: + puts("Wear what?"); + return (firstnumber); + default: - printf("You can't wear%s%s!\n", (objsht[value][n - 1] == 's' ? " " : " a "), objsht[value]); + printf("You can't wear %s%s!\n", + A_OR_AN_OR_BLANK(value), objsht[value]); return (firstnumber); case KNIFE: @@ -96,9 +92,8 @@ wearit() carrying -= objwt[value]; encumber -= objcumber[value]; ourtime++; - printf("You are now wearing %s %s.\n", - (objsht[value][n - 1] == 's' ? "the" - : "a"), objsht[value]); + printf("You are now wearing %s%s.\n", + A_OR_AN_OR_THE(value), objsht[value]); } else if (testbit(wear, value)) printf("You are already wearing the %s.\n", @@ -122,10 +117,12 @@ put() { /* synonyms = {buckle, strap, tie} */ if (wordvalue[wordnumber + 1] == ON) { wordvalue[++wordnumber] = PUTON; + wordtype[wordnumber] = VERB; return (cypher()); } if (wordvalue[wordnumber + 1] == DOWN) { wordvalue[++wordnumber] = DROP; + wordtype[wordnumber] = VERB; return (cypher()); } puts("I don't understand what you want to put."); @@ -142,7 +139,7 @@ draw() int use() { - while (wordtype[++wordnumber] == ADJS && wordnumber < wordcount); + wordnumber++; if (wordvalue[wordnumber] == AMULET && testbit(inven, AMULET) && position != FINAL) { puts("The amulet begins to glow."); @@ -165,20 +162,16 @@ use() ourtime++; notes[CANTSEE] = 0; return (0); - } else - if (position == FINAL) - puts("The amulet won't work in here."); - else - if (wordvalue[wordnumber] == COMPASS && testbit(inven, COMPASS)) - printf("Your compass points %s.\n", truedirec(NORTH, '-')); - else - if (wordvalue[wordnumber] == COMPASS) - puts("You aren't holding the compass."); - else - if (wordvalue[wordnumber] == AMULET) - puts("You aren't holding the amulet."); - else - puts("There is no apparent use."); + } else if (position == FINAL) + puts("The amulet won't work in here."); + else if (wordvalue[wordnumber] == COMPASS && testbit(inven, COMPASS)) + printf("Your compass points %s.\n", truedirec(NORTH, '-')); + else if (wordvalue[wordnumber] == COMPASS) + puts("You aren't holding the compass."); + else if (wordvalue[wordnumber] == AMULET) + puts("You aren't holding the amulet."); + else + puts("There is no apparent use."); return (-1); } @@ -188,11 +181,36 @@ murder() int n; for (n = 0; !((n == SWORD || n == KNIFE || n == TWO_HANDED || n == MACE || n == CLEAVER || n == BROAD || n == CHAIN || n == SHOVEL || n == HALBERD) && testbit(inven, n)) && n < NUMOFOBJECTS; n++); - if (n == NUMOFOBJECTS) - puts("You don't have suitable weapons to kill."); - else { + if (n == NUMOFOBJECTS) { + if (testbit(inven, LASER)) { + printf("Your laser should do the trick.\n"); + wordnumber++; + switch(wordvalue[wordnumber]) { + case NORMGOD: + case TIMER: + case NATIVE: + case MAN: + wordvalue[--wordnumber] = SHOOT; + cypher(); + break; + case -1: + puts("Kill what?"); + break; + default: + if (wordtype[wordnumber] != OBJECT || + wordvalue[wordnumber] == EVERYTHING) + puts("You can't kill that!"); + else + printf("You can't kill %s%s!\n", + A_OR_AN_OR_BLANK(wordvalue[wordnumber]), + objsht[wordvalue[wordnumber]]); + break; + } + } else + puts("You don't have suitable weapons to kill."); + } else { printf("Your %s should do the trick.\n", objsht[n]); - while (wordtype[++wordnumber] == ADJS); + wordnumber++; switch (wordvalue[wordnumber]) { case NORMGOD: @@ -212,7 +230,7 @@ murder() if (wintime) live(); } else - puts("I dont see her anywhere."); + puts("I don't see her anywhere."); break; case TIMER: if (testbit(location[position].objects, TIMER)) { @@ -245,8 +263,9 @@ murder() break; default: - if (wordtype[wordnumber] != NOUNS) - puts("Kill what?"); + if (wordtype[wordnumber] != OBJECT || + wordvalue[wordnumber] == EVERYTHING) + puts("You can't kill that!"); else printf("You can't kill the %s!\n", objsht[wordvalue[wordnumber]]); @@ -257,13 +276,18 @@ murder() void ravage() { - while (wordtype[++wordnumber] != NOUNS && wordnumber <= wordcount); - if (wordtype[wordnumber] == NOUNS && testbit(location[position].objects, wordvalue[wordnumber])) { + while (wordtype[++wordnumber] != NOUNS && wordnumber <= wordcount) + continue; + if (wordtype[wordnumber] == NOUNS && (testbit(location[position].objects, wordvalue[wordnumber]) + || (wordvalue[wordnumber] == NORMGOD && testbit(location[position].objects, BATHGOD)))) { ourtime++; switch (wordvalue[wordnumber]) { case NORMGOD: puts("You attack the goddess, and she screams as you beat her. She falls down"); - puts("crying and tries to hold her torn and bloodied dress around her."); + if (testbit(location[position].objects, BATHGOD)) + puts("crying and tries to cover her nakedness."); + else + puts("crying and tries to hold her torn and bloodied dress around her."); power += 5; pleasure += 8; ego -= 10; diff --git a/bcd/.cvsignore b/bcd/.cvsignore new file mode 100644 index 0000000..8d88563 --- /dev/null +++ b/bcd/.cvsignore @@ -0,0 +1,6 @@ +a.out +*.d +*.i +*.s +*.d.tmp +bcd diff --git a/boggle/boggle/.cvsignore b/boggle/boggle/.cvsignore new file mode 100644 index 0000000..8804584 --- /dev/null +++ b/boggle/boggle/.cvsignore @@ -0,0 +1,7 @@ +a.out +*.d +*.i +*.s +*.d.tmp +boggle +bog.h diff --git a/boggle/mkdict/.cvsignore b/boggle/mkdict/.cvsignore new file mode 100644 index 0000000..a0b3cf5 --- /dev/null +++ b/boggle/mkdict/.cvsignore @@ -0,0 +1,7 @@ +a.out +*.d +*.i +*.s +*.d.tmp +mkdict +dictionary diff --git a/boggle/mkindex/.cvsignore b/boggle/mkindex/.cvsignore new file mode 100644 index 0000000..8890b9a --- /dev/null +++ b/boggle/mkindex/.cvsignore @@ -0,0 +1,7 @@ +a.out +*.d +*.i +*.s +*.d.tmp +mkindex +dictindex diff --git a/caesar/.cvsignore b/caesar/.cvsignore new file mode 100644 index 0000000..fab0e2c --- /dev/null +++ b/caesar/.cvsignore @@ -0,0 +1,7 @@ +a.out +*.d +*.i +*.s +*.d.tmp +caesar +rot13 diff --git a/canfield/canfield/.cvsignore b/canfield/canfield/.cvsignore new file mode 100644 index 0000000..34d6544 --- /dev/null +++ b/canfield/canfield/.cvsignore @@ -0,0 +1,8 @@ +a.out +*.d +*.i +*.s +*.d.tmp +canfield +pathnames.h +canfield.6 diff --git a/canfield/cfscores/.cvsignore b/canfield/cfscores/.cvsignore new file mode 100644 index 0000000..dd6ea38 --- /dev/null +++ b/canfield/cfscores/.cvsignore @@ -0,0 +1,6 @@ +a.out +*.d +*.i +*.s +*.d.tmp +cfscores diff --git a/countmail/countmail.6 b/countmail/countmail.6 index 1fd33d9..e3ca9ba 100644 --- a/countmail/countmail.6 +++ b/countmail/countmail.6 @@ -39,6 +39,10 @@ The .Nm program counts your mail and tells you about it rather obnoxiously. .Sh HISTORY +The +.Nm +program first appeared in +.Nx 1.3 . .Nm was first written by Noah Friedman in 1993. This version was written by Charles M. Hannum . @@ -51,4 +55,4 @@ and .Xr wc 1 instead, though these are not shell builtins. .Sh SEE ALSO -.Xr from 1 . +.Xr from 1 diff --git a/cribbage/.cvsignore b/cribbage/.cvsignore new file mode 100644 index 0000000..9c1f51e --- /dev/null +++ b/cribbage/.cvsignore @@ -0,0 +1,8 @@ +a.out +*.d +*.i +*.s +*.d.tmp +cribbage +pathnames.h +cribbage.6 diff --git a/debian/changelog b/debian/changelog index e6661ef..8b14fc9 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +bsdgames (2.12-1) unstable; urgency=low + + * New upstream release, fixing problems in battlestar. Closes: #70465 + + -- Joey Hess Tue, 26 Sep 2000 09:21:22 -0700 + bsdgames (2.11-4) unstable; urgency=low * Updated to debhelper v2. @@ -57,7 +63,7 @@ bsdgames (2.9-3) unstable; urgency=low bsdgames (2.9-2) unstable; urgency=low * Build deps. Boggle is now forced to always build with wgenlish as it's - word list, for consitency. Unfortunatly, it cannot use the currnelt + word list, for consitency. Unfortunatly, it cannot use the currnetly install word list because it hashes it at install time. -- Joey Hess Sat, 4 Dec 1999 00:13:01 -0800 diff --git a/dm/.cvsignore b/dm/.cvsignore new file mode 100644 index 0000000..3cae706 --- /dev/null +++ b/dm/.cvsignore @@ -0,0 +1,9 @@ +a.out +*.d +*.i +*.s +*.d.tmp +dm +pathnames.h +dm.8 +dm.conf.5 diff --git a/factor/.cvsignore b/factor/.cvsignore new file mode 100644 index 0000000..4310a24 --- /dev/null +++ b/factor/.cvsignore @@ -0,0 +1,6 @@ +a.out +*.d +*.i +*.s +*.d.tmp +factor diff --git a/fish/.cvsignore b/fish/.cvsignore new file mode 100644 index 0000000..0622c1f --- /dev/null +++ b/fish/.cvsignore @@ -0,0 +1,7 @@ +a.out +*.d +*.i +*.s +*.d.tmp +fish +pathnames.h diff --git a/fortune/datfiles/.cvsignore b/fortune/datfiles/.cvsignore new file mode 100644 index 0000000..e904edb --- /dev/null +++ b/fortune/datfiles/.cvsignore @@ -0,0 +1,7 @@ +a.out +*.d +*.i +*.s +*.d.tmp +*.dat +*-o diff --git a/fortune/fortune/.cvsignore b/fortune/fortune/.cvsignore new file mode 100644 index 0000000..56928ff --- /dev/null +++ b/fortune/fortune/.cvsignore @@ -0,0 +1,8 @@ +a.out +*.d +*.i +*.s +*.d.tmp +fortune +pathnames.h +fortune.6 diff --git a/fortune/strfile/.cvsignore b/fortune/strfile/.cvsignore new file mode 100644 index 0000000..301f822 --- /dev/null +++ b/fortune/strfile/.cvsignore @@ -0,0 +1,6 @@ +a.out +*.d +*.i +*.s +*.d.tmp +strfile diff --git a/fortune/unstr/.cvsignore b/fortune/unstr/.cvsignore new file mode 100644 index 0000000..78ef533 --- /dev/null +++ b/fortune/unstr/.cvsignore @@ -0,0 +1,6 @@ +a.out +*.d +*.i +*.s +*.d.tmp +unstr diff --git a/gomoku/.cvsignore b/gomoku/.cvsignore new file mode 100644 index 0000000..100ee17 --- /dev/null +++ b/gomoku/.cvsignore @@ -0,0 +1,6 @@ +a.out +*.d +*.i +*.s +*.d.tmp +gomoku diff --git a/hangman/.cvsignore b/hangman/.cvsignore new file mode 100644 index 0000000..9e75547 --- /dev/null +++ b/hangman/.cvsignore @@ -0,0 +1,8 @@ +a.out +*.d +*.i +*.s +*.d.tmp +hangman +pathnames.h +hangman.6 diff --git a/hunt/hunt/.cvsignore b/hunt/hunt/.cvsignore new file mode 100644 index 0000000..0b52286 --- /dev/null +++ b/hunt/hunt/.cvsignore @@ -0,0 +1,7 @@ +a.out +*.d +*.i +*.s +*.d.tmp +hunt +hunt.6 diff --git a/hunt/huntd/.cvsignore b/hunt/huntd/.cvsignore new file mode 100644 index 0000000..00cccf2 --- /dev/null +++ b/hunt/huntd/.cvsignore @@ -0,0 +1,7 @@ +a.out +*.d +*.i +*.s +*.d.tmp +huntd +huntd.6 diff --git a/include/.cvsignore b/include/.cvsignore new file mode 100644 index 0000000..37ddc18 --- /dev/null +++ b/include/.cvsignore @@ -0,0 +1 @@ +bsd-games.h diff --git a/lib/.cvsignore b/lib/.cvsignore new file mode 100644 index 0000000..84a962b --- /dev/null +++ b/lib/.cvsignore @@ -0,0 +1,5 @@ +a.out +*.d +*.i +*.s +*.d.tmp diff --git a/mille/.cvsignore b/mille/.cvsignore new file mode 100644 index 0000000..92d1bff --- /dev/null +++ b/mille/.cvsignore @@ -0,0 +1,6 @@ +a.out +*.d +*.i +*.s +*.d.tmp +mille diff --git a/monop/.cvsignore b/monop/.cvsignore new file mode 100644 index 0000000..3fb93ea --- /dev/null +++ b/monop/.cvsignore @@ -0,0 +1,10 @@ +a.out +*.d +*.i +*.s +*.d.tmp +monop +initdeck +pathnames.h +monop.6 +cards.pck diff --git a/morse/.cvsignore b/morse/.cvsignore new file mode 100644 index 0000000..34840ee --- /dev/null +++ b/morse/.cvsignore @@ -0,0 +1,6 @@ +a.out +*.d +*.i +*.s +*.d.tmp +morse diff --git a/number/.cvsignore b/number/.cvsignore new file mode 100644 index 0000000..d0f7c8f --- /dev/null +++ b/number/.cvsignore @@ -0,0 +1,6 @@ +a.out +*.d +*.i +*.s +*.d.tmp +number diff --git a/phantasia/.cvsignore b/phantasia/.cvsignore new file mode 100644 index 0000000..cb2c349 --- /dev/null +++ b/phantasia/.cvsignore @@ -0,0 +1,8 @@ +a.out +*.d +*.i +*.s +*.d.tmp +phantasia +setup +pathnames.h diff --git a/pig/.cvsignore b/pig/.cvsignore new file mode 100644 index 0000000..7a298f0 --- /dev/null +++ b/pig/.cvsignore @@ -0,0 +1,6 @@ +a.out +*.d +*.i +*.s +*.d.tmp +pig diff --git a/pom/.cvsignore b/pom/.cvsignore new file mode 100644 index 0000000..22d80fe --- /dev/null +++ b/pom/.cvsignore @@ -0,0 +1,6 @@ +a.out +*.d +*.i +*.s +*.d.tmp +pom diff --git a/ppt/.cvsignore b/ppt/.cvsignore new file mode 100644 index 0000000..17d27b9 --- /dev/null +++ b/ppt/.cvsignore @@ -0,0 +1,6 @@ +a.out +*.d +*.i +*.s +*.d.tmp +ppt diff --git a/primes/.cvsignore b/primes/.cvsignore new file mode 100644 index 0000000..14d5681 --- /dev/null +++ b/primes/.cvsignore @@ -0,0 +1,6 @@ +a.out +*.d +*.i +*.s +*.d.tmp +primes diff --git a/quiz/.cvsignore b/quiz/.cvsignore new file mode 100644 index 0000000..31b4444 --- /dev/null +++ b/quiz/.cvsignore @@ -0,0 +1,8 @@ +a.out +*.d +*.i +*.s +*.d.tmp +quiz +pathnames.h +quiz.6 diff --git a/quiz/datfiles/.cvsignore b/quiz/datfiles/.cvsignore new file mode 100644 index 0000000..e7a2bae --- /dev/null +++ b/quiz/datfiles/.cvsignore @@ -0,0 +1,6 @@ +a.out +*.d +*.i +*.s +*.d.tmp +index diff --git a/rain/.cvsignore b/rain/.cvsignore new file mode 100644 index 0000000..7f48079 --- /dev/null +++ b/rain/.cvsignore @@ -0,0 +1,6 @@ +a.out +*.d +*.i +*.s +*.d.tmp +rain diff --git a/random/.cvsignore b/random/.cvsignore new file mode 100644 index 0000000..aceec8c --- /dev/null +++ b/random/.cvsignore @@ -0,0 +1,6 @@ +a.out +*.d +*.i +*.s +*.d.tmp +random diff --git a/robots/.cvsignore b/robots/.cvsignore new file mode 100644 index 0000000..ab20d97 --- /dev/null +++ b/robots/.cvsignore @@ -0,0 +1,8 @@ +a.out +*.d +*.i +*.s +*.d.tmp +robots +pathnames.h +robots.6 diff --git a/robots/main.c b/robots/main.c index b585040..f43ff52 100644 --- a/robots/main.c +++ b/robots/main.c @@ -1,4 +1,4 @@ -/* $NetBSD: main.c,v 1.15 2000/01/19 19:43:42 jsm Exp $ */ +/* $NetBSD: main.c,v 1.16 2000/05/08 07:56:05 mycroft Exp $ */ /* * Copyright (c) 1980, 1993 @@ -43,7 +43,7 @@ __COPYRIGHT("@(#) Copyright (c) 1980, 1993\n\ #if 0 static char sccsid[] = "@(#)main.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: main.c,v 1.15 2000/01/19 19:43:42 jsm Exp $"); +__RCSID("$NetBSD: main.c,v 1.16 2000/05/08 07:56:05 mycroft Exp $"); #endif #endif /* not lint */ diff --git a/robots/score.c b/robots/score.c index 2ef05ee..03038b9 100644 --- a/robots/score.c +++ b/robots/score.c @@ -1,4 +1,4 @@ -/* $NetBSD: score.c,v 1.13 2000/04/09 23:02:52 mycroft Exp $ */ +/* $NetBSD: score.c,v 1.15 2000/04/27 19:31:23 thorpej Exp $ */ /* * Copyright (c) 1980, 1993 @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "@(#)score.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: score.c,v 1.13 2000/04/09 23:02:52 mycroft Exp $"); +__RCSID("$NetBSD: score.c,v 1.15 2000/04/27 19:31:23 thorpej Exp $"); #endif #endif /* not lint */ @@ -175,8 +175,8 @@ score(score_wfd) move((scp - Top) + 2, 15); if (!done_show && scp->s_uid == uid && scp->s_score == Score) standout(); - printw("%5d %5d %-8.8s %-9.9s %5d", - (scp - Top) + 1, scp->s_score, scp->s_name, + printw("%5ld %5d %-8.8s %-9.9s %5d", + (long)(scp - Top) + 1, scp->s_score, scp->s_name, scp->s_auto ? "(autobot)" : "", scp->s_level); if (!done_show && scp->s_uid == uid && scp->s_score == Score) { standend(); diff --git a/sail/.cvsignore b/sail/.cvsignore new file mode 100644 index 0000000..b5cd682 --- /dev/null +++ b/sail/.cvsignore @@ -0,0 +1,7 @@ +a.out +*.d +*.i +*.s +*.d.tmp +sail +pathnames.h diff --git a/snake/snake/.cvsignore b/snake/snake/.cvsignore new file mode 100644 index 0000000..49bb99f --- /dev/null +++ b/snake/snake/.cvsignore @@ -0,0 +1,8 @@ +a.out +*.d +*.i +*.s +*.d.tmp +snake +pathnames.h +snake.6 diff --git a/snake/snscore/.cvsignore b/snake/snscore/.cvsignore new file mode 100644 index 0000000..2f98e3a --- /dev/null +++ b/snake/snscore/.cvsignore @@ -0,0 +1,6 @@ +a.out +*.d +*.i +*.s +*.d.tmp +snscore diff --git a/tetris/.cvsignore b/tetris/.cvsignore new file mode 100644 index 0000000..59387df --- /dev/null +++ b/tetris/.cvsignore @@ -0,0 +1,9 @@ +a.out +*.d +*.i +*.s +*.d.tmp +tetris +pathnames.h +tetris.6 +tetris-bsd.6 diff --git a/tetris/tetris.c b/tetris/tetris.c index 1a2e0eb..6e3fc0b 100644 --- a/tetris/tetris.c +++ b/tetris/tetris.c @@ -160,7 +160,7 @@ main(argc, argv) case 'l': level = atoi(optarg); if (level < MINLEVEL || level > MAXLEVEL) { - errx(1, "tetris-bsd: level must be from %d to %d", + errx(1, "level must be from %d to %d", MINLEVEL, MAXLEVEL); } break; diff --git a/trek/.cvsignore b/trek/.cvsignore new file mode 100644 index 0000000..ff27e51 --- /dev/null +++ b/trek/.cvsignore @@ -0,0 +1,7 @@ +a.out +*.d +*.i +*.s +*.d.tmp +trek +trek.6 diff --git a/worm/.cvsignore b/worm/.cvsignore new file mode 100644 index 0000000..87377a6 --- /dev/null +++ b/worm/.cvsignore @@ -0,0 +1,6 @@ +a.out +*.d +*.i +*.s +*.d.tmp +worm diff --git a/worms/.cvsignore b/worms/.cvsignore new file mode 100644 index 0000000..9776c02 --- /dev/null +++ b/worms/.cvsignore @@ -0,0 +1,6 @@ +a.out +*.d +*.i +*.s +*.d.tmp +worms diff --git a/wtf/.cvsignore b/wtf/.cvsignore new file mode 100644 index 0000000..f79a525 --- /dev/null +++ b/wtf/.cvsignore @@ -0,0 +1,7 @@ +a.out +*.d +*.i +*.s +*.d.tmp +wtf.6 +wtf diff --git a/wump/.cvsignore b/wump/.cvsignore new file mode 100644 index 0000000..2865bf2 --- /dev/null +++ b/wump/.cvsignore @@ -0,0 +1,7 @@ +a.out +*.d +*.i +*.s +*.d.tmp +wump +pathnames.h