]> git.cameronkatri.com Git - bsdgames-darwin.git/log
bsdgames-darwin.git
22 years agoUse more markup, and bump date for ppt's -d flag.
wiz [Fri, 29 Nov 2002 19:09:57 +0000 (19:09 +0000)]
Use more markup, and bump date for ppt's -d flag.

22 years agoTweak the argc/argv usage a bit more, and be a little less eager about
atatat [Tue, 26 Nov 2002 23:07:36 +0000 (23:07 +0000)]
Tweak the argc/argv usage a bit more, and be a little less eager about
printing newlines.

22 years agoDon't skip the first arg.
kim [Tue, 26 Nov 2002 21:39:18 +0000 (21:39 +0000)]
Don't skip the first arg.

22 years agoinitialize dflag to zero, so encoding works.
kim [Tue, 26 Nov 2002 21:34:07 +0000 (21:34 +0000)]
initialize dflag to zero, so encoding works.

22 years agoI forgot to compile first...
kim [Tue, 26 Nov 2002 03:49:53 +0000 (03:49 +0000)]
I forgot to compile first...

22 years agoAdd ppt decoding from Michael Shalayeff <mickey@lucifier.net>
kim [Tue, 26 Nov 2002 03:47:45 +0000 (03:47 +0000)]
Add ppt decoding from Michael Shalayeff <mickey@lucifier.net>

22 years agoFix bogon in compat re code.
christos [Sun, 24 Nov 2002 18:03:14 +0000 (18:03 +0000)]
Fix bogon in compat re code.

22 years agoNetBSD - love all, serve all.
hubertf [Thu, 21 Nov 2002 15:06:14 +0000 (15:06 +0000)]
NetBSD - love all, serve all.
                -- Silke Mueller

22 years agofix duplicate limerick-o in CLEANFILES
drochner [Tue, 22 Oct 2002 16:14:04 +0000 (16:14 +0000)]
fix duplicate limerick-o in CLEANFILES

22 years agoavoid buffer overrun. fix from openbsd.
itojun [Fri, 18 Oct 2002 14:12:14 +0000 (14:12 +0000)]
avoid buffer overrun.  fix from openbsd.
reported by Niels Heinen <niels.heinen@ubizen.com>

22 years ago- use correctly bounded strings when reloading a saved game. in particular,
mrg [Tue, 1 Oct 2002 14:18:57 +0000 (14:18 +0000)]
- use correctly bounded strings when reloading a saved game.  in particular,
do not let the save game file "string length" exceed the amount of space
supplied.  as noted by <stanojr@iserver.sk> on bugtraq.
- minor KNF.

tested by simonb.

22 years agon-dashes are even better here. Noted by Robert Elz.
wiz [Mon, 30 Sep 2002 12:43:22 +0000 (12:43 +0000)]
n-dashes are even better here. Noted by Robert Elz.

22 years agoLots of minor fixes resulting from reading these man pages in detail.
wiz [Thu, 26 Sep 2002 18:31:58 +0000 (18:31 +0000)]
Lots of minor fixes resulting from reading these man pages in detail.

22 years agoMdoc nits -- unneeded ".
wiz [Thu, 26 Sep 2002 16:33:53 +0000 (16:33 +0000)]
Mdoc nits -- unneeded ".

22 years agoIspell.
wiz [Thu, 26 Sep 2002 16:29:25 +0000 (16:29 +0000)]
Ispell.

22 years agoNew sentences begin on new lines.
wiz [Thu, 26 Sep 2002 16:12:39 +0000 (16:12 +0000)]
New sentences begin on new lines.
Patch from Richard Elz, slightly improved by yours truly.

22 years agoMinor rearrangement.
mycroft [Fri, 20 Sep 2002 21:00:01 +0000 (21:00 +0000)]
Minor rearrangement.

22 years agoRemove an unused declaration.
mycroft [Fri, 20 Sep 2002 20:58:12 +0000 (20:58 +0000)]
Remove an unused declaration.

22 years agoselect() -> poll()
mycroft [Fri, 20 Sep 2002 20:54:15 +0000 (20:54 +0000)]
select() -> poll()
Also, turn off talk announcements; it's a wretched hack.

22 years agoIf we're searching for a huntd, probe local_address along with broadcast
mycroft [Fri, 20 Sep 2002 17:27:57 +0000 (17:27 +0000)]
If we're searching for a huntd, probe local_address along with broadcast
addresses.

22 years agoselect() -> poll()
mycroft [Fri, 20 Sep 2002 15:47:19 +0000 (15:47 +0000)]
select() -> poll()

22 years agoSlight redux.
mycroft [Thu, 19 Sep 2002 21:26:56 +0000 (21:26 +0000)]
Slight redux.

22 years agoselect() -> poll()
mycroft [Thu, 19 Sep 2002 21:12:10 +0000 (21:12 +0000)]
select() -> poll()

22 years agoselect() -> poll(), nanosleep()
mycroft [Thu, 19 Sep 2002 03:15:43 +0000 (03:15 +0000)]
select() -> poll(), nanosleep()

22 years agouse NETBSDSRCDIR as appropriate
lukem [Thu, 19 Sep 2002 03:15:39 +0000 (03:15 +0000)]
use NETBSDSRCDIR as appropriate

22 years agosome makefile de-linting
lukem [Wed, 18 Sep 2002 06:16:39 +0000 (06:16 +0000)]
some makefile de-linting

22 years agoneed bsd.own.mk for NETBSDSRCDIR
lukem [Wed, 18 Sep 2002 03:23:00 +0000 (03:23 +0000)]
need bsd.own.mk for NETBSDSRCDIR

22 years agouse NETBSDSRCDIR as appropriate
lukem [Wed, 18 Sep 2002 02:51:46 +0000 (02:51 +0000)]
use NETBSDSRCDIR as appropriate

22 years agoshops are only supposed to have 1 door (as per standard hack 1.0.3).
chuck [Thu, 22 Aug 2002 01:49:34 +0000 (01:49 +0000)]
shops are only supposed to have 1 door (as per standard hack 1.0.3).
for some reason, the version of 1.0.3 that was in the 4.4 lite tree
was modified to allow shops with two doors -- this violates the spirit
of the game.   with this diff, we revert back to classic 1.0.3 behavior.

22 years agoremove spurious ^A's and ||
christos [Tue, 20 Aug 2002 13:49:11 +0000 (13:49 +0000)]
remove spurious ^A's and ||

22 years agocalloc() arg mistake. it's (nelem, size). from openbsd
itojun [Mon, 12 Aug 2002 02:37:26 +0000 (02:37 +0000)]
calloc() arg mistake.  it's (nelem, size).  from openbsd

22 years agoRemove unused variable "err".
tron [Tue, 6 Aug 2002 11:39:53 +0000 (11:39 +0000)]
Remove unused variable "err".

22 years agofix regular expression matcher.
dbj [Tue, 6 Aug 2002 03:39:44 +0000 (03:39 +0000)]
fix regular expression matcher.
the string "xc" was failing to match "x[[a|b]|c]"

22 years agoutmpx support.
christos [Fri, 2 Aug 2002 03:06:24 +0000 (03:06 +0000)]
utmpx support.

22 years agosweep of errx/warnx, remove unnecessary trailing \n
grant [Sat, 20 Jul 2002 08:36:17 +0000 (08:36 +0000)]
sweep of errx/warnx, remove unnecessary trailing \n

22 years agoadd the following quote from elric@.. (with permission, of course)
grant [Mon, 8 Jul 2002 02:34:20 +0000 (02:34 +0000)]
add the following quote from elric@.. (with permission, of course)

I held off from Uni until NetBSD came out.
I decided, ``if there's no NetBSD then I'll just flip burgers''
-- Roland Dowdeswell

22 years agoMake "rogue" build with "WARNS=2". The necessary patches were supplied
tron [Sun, 7 Jul 2002 09:35:07 +0000 (09:35 +0000)]
Make "rogue" build with "WARNS=2". The necessary patches were supplied
by David A. Holland in PR bin/17498.

22 years agoI was bored, so... simplify(?) this code a bit.
mycroft [Tue, 2 Jul 2002 17:18:21 +0000 (17:18 +0000)]
I was bored, so... simplify(?) this code a bit.

22 years agos/FOURTY/FORTY/
dbj [Tue, 2 Jul 2002 15:25:47 +0000 (15:25 +0000)]
s/FOURTY/FORTY/

22 years agobackout previous (arc4random), per request from sommerfeld
itojun [Mon, 1 Jul 2002 20:55:30 +0000 (20:55 +0000)]
backout previous (arc4random), per request from sommerfeld

22 years agouse arc4random
itojun [Mon, 1 Jul 2002 14:51:52 +0000 (14:51 +0000)]
use arc4random

22 years agoProvide a BN_dec2bn() shim for the non-openssl case that reports an error
simonb [Tue, 18 Jun 2002 23:07:36 +0000 (23:07 +0000)]
Provide a BN_dec2bn() shim for the non-openssl case that reports an error
if strtoul() fails.

22 years agoFix a logic botch where if a number smaller than the square of the seive
simonb [Mon, 17 Jun 2002 15:43:52 +0000 (15:43 +0000)]
Fix a logic botch where if a number smaller than the square of the seive
was prime to still called the Pollard Rho function when it didn't have
to.  Problem report by Nathan Williams.

Unfortunately this one can't be picked up by a simple regression test
since the broken way still produced the correct output, but just took
far longer...

22 years agomake factor work with and without openssl.
itojun [Sun, 16 Jun 2002 22:24:00 +0000 (22:24 +0000)]
make factor work with and without openssl.

22 years agoInclude <bsd.own.mk>, to make MKCRYPTO available.
martin [Sun, 16 Jun 2002 10:21:40 +0000 (10:21 +0000)]
Include <bsd.own.mk>, to make MKCRYPTO available.

22 years agoOnly build factor(6) if ${MKCRYPTO} != no.
simonb [Sat, 15 Jun 2002 16:08:17 +0000 (16:08 +0000)]
Only build factor(6) if ${MKCRYPTO} != no.

22 years agoUse libcrypto's bignum support to implement a Pollard Rho factoring
simonb [Sat, 15 Jun 2002 02:12:23 +0000 (02:12 +0000)]
Use libcrypto's bignum support to implement a Pollard Rho factoring
algorithm so we can factorise numbers larger than a host long.

22 years agode-register
wiz [Sun, 2 Jun 2002 22:17:37 +0000 (22:17 +0000)]
de-register

22 years ago__STDC__ is always defined on NetBSD.
wiz [Sun, 26 May 2002 00:12:11 +0000 (00:12 +0000)]
__STDC__ is always defined on NetBSD.

22 years agoremove the attributions from my slogans. they kept popping up in
pooka [Sat, 18 May 2002 10:17:32 +0000 (10:17 +0000)]
remove the attributions from my slogans. they kept popping up in
awkard places

22 years agoNetBSD/toaster: we wish the toaster to be happy too.
uwe [Fri, 17 May 2002 02:21:20 +0000 (02:21 +0000)]
NetBSD/toaster: we wish the toaster to be happy too.
(Idea by Rafal, though he denies that)

22 years ago#netbsd - where monks recite their internal dialogue while debugging.
hubertf [Fri, 17 May 2002 00:20:01 +0000 (00:20 +0000)]
#netbsd - where monks recite their internal dialogue while debugging.
                -- Bernhard Riedel

22 years agoRaiders of the Lost Arch
pooka [Sun, 12 May 2002 16:27:59 +0000 (16:27 +0000)]
Raiders of the Lost Arch

22 years agoThe game would show the statistic info and immediately prompt you with a new
hubertf [Sun, 31 Mar 2002 04:07:22 +0000 (04:07 +0000)]
The game would show the statistic info and immediately prompt you with a new
question, so you lose time, etc. Added a few lines so that it prompts to
press the RETURN key to continue.

Code contributed by Vic Hari <vkhr@rawsocket.net> in PR 16135

22 years agoPR/15878: Ed Ravin: fortune all frees junk pointers. Fixed, free structure
christos [Tue, 12 Mar 2002 15:20:14 +0000 (15:20 +0000)]
PR/15878: Ed Ravin: fortune all frees junk pointers. Fixed, free structure
members before freeing the structure itself.

22 years agoNo need to reference .OBJDIR here.
thorpej [Tue, 5 Mar 2002 21:29:56 +0000 (21:29 +0000)]
No need to reference .OBJDIR here.

22 years agoNo need to reference .OBJDIR here.
thorpej [Tue, 5 Mar 2002 21:28:12 +0000 (21:28 +0000)]
No need to reference .OBJDIR here.

22 years agoThere is no need to explcitly use ${.OBJDIR}; it's implied.
thorpej [Tue, 5 Mar 2002 19:17:44 +0000 (19:17 +0000)]
There is no need to explcitly use ${.OBJDIR}; it's implied.

22 years agoCorrect spelling of "delimiter", and remove from ignored-errors lists.
wiz [Tue, 26 Feb 2002 02:37:28 +0000 (02:37 +0000)]
Correct spelling of "delimiter", and remove from ignored-errors lists.

22 years agostrategy should have an 'r'. Inspired by similar change in OpenBSD.
wiz [Tue, 19 Feb 2002 17:09:40 +0000 (17:09 +0000)]
strategy should have an 'r'. Inspired by similar change in OpenBSD.

22 years agouse ${INSTALL_FILE} as appropriate
lukem [Sat, 9 Feb 2002 09:21:47 +0000 (09:21 +0000)]
use ${INSTALL_FILE} as appropriate

22 years agoGenerate <>& symbolically. I'm avoiding .../dist/... directories for now.
ross [Fri, 8 Feb 2002 01:21:55 +0000 (01:21 +0000)]
Generate <>& symbolically. I'm avoiding .../dist/... directories for now.

22 years agoBe more verbose about teleports, and fix a minor problem in autobot mode.
christos [Thu, 31 Jan 2002 17:35:52 +0000 (17:35 +0000)]
Be more verbose about teleports, and fix a minor problem in autobot mode.

22 years agoDon't put [] around the strings passed to tr -- those can be interpreted
tv [Wed, 30 Jan 2002 19:41:39 +0000 (19:41 +0000)]
Don't put [] around the strings passed to tr -- those can be interpreted
by shells.  Just quote 'em.

22 years agoTemporarily add a "MKHIDEGAME" variable that by default blocks the
perry [Sun, 27 Jan 2002 00:35:16 +0000 (00:35 +0000)]
Temporarily add a "MKHIDEGAME" variable that by default blocks the
"install some games into /usr/games/hide" dance. This is ?='ed to "no"
at the top of the file.

XXX What we should do ultimately is either add this to bsd.own.mk or
rename it to MKDM and also have it control whether dm(8) is built at all.

22 years agoMake this work if HIDEGAME is not set but SETGIDGAME is set.
perry [Sun, 27 Jan 2002 00:08:49 +0000 (00:08 +0000)]
Make this work if HIDEGAME is not set but SETGIDGAME is set.
Also, fix SETGIDGAME -- it was breaking for anything that included
bsd.own.mk

23 years agoUse standard headers.
wiz [Sun, 20 Jan 2002 00:52:22 +0000 (00:52 +0000)]
Use standard headers.

23 years agoAllow minimum word length to be set on command line. Patch based on
jsm [Sun, 20 Jan 2002 00:42:51 +0000 (00:42 +0000)]
Allow minimum word length to be set on command line.  Patch based on
one by Joey Hess <joeyh@debian.org>.

23 years agofew entries more
pooka [Thu, 10 Jan 2002 15:31:04 +0000 (15:31 +0000)]
few entries more

23 years agoSync getopt() / man page with actual getopt options.
soren [Thu, 20 Dec 2001 20:10:33 +0000 (20:10 +0000)]
Sync getopt() / man page with actual getopt options.

23 years ago.include <bsd.own.mk> early
gmcgarry [Wed, 19 Dec 2001 06:18:25 +0000 (06:18 +0000)]
.include <bsd.own.mk> early

23 years agoMKfoo=no -> NOfoo=
tv [Wed, 12 Dec 2001 00:07:45 +0000 (00:07 +0000)]
MKfoo=no -> NOfoo=

23 years agoChange deprecated curses function to new equivalent.
blymn [Thu, 6 Dec 2001 12:24:00 +0000 (12:24 +0000)]
Change deprecated curses function to new equivalent.

23 years agoChanged deprecated curses call to new equivalent.
blymn [Thu, 6 Dec 2001 12:21:00 +0000 (12:21 +0000)]
Changed deprecated curses call to new equivalent.

23 years agoChange deprecated curses call to new equivalent.
blymn [Thu, 6 Dec 2001 12:19:44 +0000 (12:19 +0000)]
Change deprecated curses call to new equivalent.

23 years agoChange deprecated curses function to new equivalent.
blymn [Thu, 6 Dec 2001 12:17:57 +0000 (12:17 +0000)]
Change deprecated curses function to new equivalent.

23 years agoChange deprecated curses function calls to new equivalents.
blymn [Thu, 6 Dec 2001 12:15:37 +0000 (12:15 +0000)]
Change deprecated curses function calls to new equivalents.

23 years agoChange deprecated curses function to new equivalent.
blymn [Thu, 6 Dec 2001 11:59:45 +0000 (11:59 +0000)]
Change deprecated curses function to new equivalent.

23 years agoReplace some misuses of "then" with "than".
wiz [Tue, 4 Dec 2001 17:56:30 +0000 (17:56 +0000)]
Replace some misuses of "then" with "than".

23 years agoReplace deprecated curses call with supported equivalent.
blymn [Tue, 4 Dec 2001 13:12:23 +0000 (13:12 +0000)]
Replace deprecated curses call with supported equivalent.

23 years agoConvert old deprecated curses call to new equivalent.
blymn [Tue, 4 Dec 2001 13:00:24 +0000 (13:00 +0000)]
Convert old deprecated curses call to new equivalent.

23 years agoPresence looks better with a 'c' instead of an 's'.
wiz [Wed, 21 Nov 2001 19:01:31 +0000 (19:01 +0000)]
Presence looks better with a 'c' instead of an 's'.

23 years agoremove a spurious .include <bsd.own.mk>
perry [Mon, 19 Nov 2001 04:48:44 +0000 (04:48 +0000)]
remove a spurious .include <bsd.own.mk>

23 years agoUpdate to the new t_agetstr() API.
christos [Fri, 2 Nov 2001 18:27:00 +0000 (18:27 +0000)]
Update to the new t_agetstr() API.

23 years agoUndo indentation glitch in previous.
wiz [Sun, 28 Oct 2001 19:52:53 +0000 (19:52 +0000)]
Undo indentation glitch in previous.

23 years agoimprove random number seeding
proff [Sun, 28 Oct 2001 19:47:48 +0000 (19:47 +0000)]
improve random number seeding

23 years agoAdd one.
mjl [Mon, 22 Oct 2001 00:55:00 +0000 (00:55 +0000)]
Add one.

23 years agoFortune is not moribund.
proff [Sat, 20 Oct 2001 09:33:39 +0000 (09:33 +0000)]
Fortune is not moribund.

Add Farberisms from Prof. Dave Farber.

From: David Farber <dave@farber.net>
To: proff@iq.org (Julian Assange)
Date: Sat, 20 Oct 2001 03:29:08 -0400
Subject: Re: farberisms

Fine with me

At 02:27 PM 10/20/2001 +1000, you wrote:

>Hi Dave,
>
>I've just come accross your list of `Farberisms', which had me in
>stiches. As these are deliciously `fortune'esqe, I'd like to add
>them to the NetBSD distribution. Do you have any objections?
>
>Cheers,
>Julian.

23 years agoRename com#.c to command#.c to avoid conflicts with those file basenames
tv [Fri, 19 Oct 2001 03:06:09 +0000 (03:06 +0000)]
Rename com#.c to command#.c to avoid conflicts with those file basenames
on certain Microsoft host OS's.

23 years agova_{start,end} audit:
wiz [Mon, 24 Sep 2001 13:22:25 +0000 (13:22 +0000)]
va_{start,end} audit:
Make sure that each va_start has one and only one matching va_end,
especially in error cases.
If the va_list is used multiple times, do multiple va_starts/va_ends.
If a function gets va_list as argument, don't let it use va_end (since
it's the callers responsibility).

Improved by comments from enami and christos -- thanks!

Heimdal/krb4/KAME changes already fed back, rest to follow.

Inspired by, but not not based on, OpenBSD.

23 years agoif we're going to quote the movie, let's at least get it *right*
lukem [Wed, 19 Sep 2001 04:54:06 +0000 (04:54 +0000)]
if we're going to quote the movie, let's at least get it *right*

23 years agoGive initiali[sz]e all the "i"s it deserves.
wiz [Tue, 18 Sep 2001 18:15:49 +0000 (18:15 +0000)]
Give initiali[sz]e all the "i"s it deserves.

23 years agoSpell 'occurred' with two 'r's.
wiz [Sun, 16 Sep 2001 16:34:23 +0000 (16:34 +0000)]
Spell 'occurred' with two 'r's.

23 years agoMore quote cleanup. Remove a fortune that also is in -o.
mjl [Sat, 1 Sep 2001 22:30:54 +0000 (22:30 +0000)]
More quote cleanup. Remove a fortune that also is in -o.
Add a couple of fortunes I had lying around.

23 years agoSome more quotes removed. Corrected errors noticed by Andrew Brown
mjl [Sat, 1 Sep 2001 21:28:28 +0000 (21:28 +0000)]
Some more quotes removed. Corrected errors noticed by Andrew Brown
<atatat@atatdot.net>.

23 years agoFix typos and spelos. Add and correct some attributions. Add a
mjl [Sat, 1 Sep 2001 19:35:32 +0000 (19:35 +0000)]
Fix typos and spelos. Add and correct some attributions. Add a
couple of fortunes. Canonize quotes. Remove duplicate fortunes.
Correct author names.
Mostly from FreeBSD and OpenBSD.

23 years agoAlways lseek back to the beginning of the file in post(), which may be
jsm [Fri, 31 Aug 2001 07:17:02 +0000 (07:17 +0000)]
Always lseek back to the beginning of the file in post(), which may be
called twice in a game if a bonus occurs.  Patch from Malcolm Parsons
<malcolm@ivywell.screaming.net>.

23 years agoEnsure that the random hop delta does make the cave connected. Based
jsm [Fri, 31 Aug 2001 07:16:22 +0000 (07:16 +0000)]
Ensure that the random hop delta does make the cave connected.  Based
on bug report and patch from <afghan@afghanhound.org.uk>.

23 years agoKeep track of visible worm length. If nowhere is available for the
jsm [Fri, 31 Aug 2001 07:15:44 +0000 (07:15 +0000)]
Keep track of visible worm length.  If nowhere is available for the
new prize, have the player win rather than hanging.  Bug reported by
Malcolm Parsons <malcolm@ivywell.screaming.net>.

23 years agoMatch quotes.
simonb [Fri, 31 Aug 2001 00:17:45 +0000 (00:17 +0000)]
Match quotes.