]> git.cameronkatri.com Git - bsdgames-darwin.git/log
bsdgames-darwin.git
27 years agouse <termcap.h>
lukem [Tue, 14 Oct 1997 01:14:20 +0000 (01:14 +0000)]
use <termcap.h>

27 years agouse <termcap.h>
lukem [Tue, 14 Oct 1997 01:02:48 +0000 (01:02 +0000)]
use <termcap.h>

27 years agodefine global vars with `extern' in "back.h", and only define once in
lukem [Tue, 14 Oct 1997 00:53:26 +0000 (00:53 +0000)]
define global vars with `extern' in "back.h", and only define once in
init.c... backgammon works again...

27 years agouse <termcap.h>
lukem [Tue, 14 Oct 1997 00:41:15 +0000 (00:41 +0000)]
use <termcap.h>

27 years agoInclude string.h.
cjs [Mon, 13 Oct 1997 22:20:35 +0000 (22:20 +0000)]
Include string.h.

27 years agotime_t != long, again. *Sigh*.
cjs [Mon, 13 Oct 1997 22:18:32 +0000 (22:18 +0000)]
time_t != long, again. *Sigh*.

27 years agoSince we've got an int to store the value, why store it in a function
cjs [Mon, 13 Oct 1997 22:12:01 +0000 (22:12 +0000)]
Since we've got an int to store the value, why store it in a function
pointer and cast it?

27 years agoInclude string.h for memcpy().
cjs [Mon, 13 Oct 1997 22:05:26 +0000 (22:05 +0000)]
Include string.h for memcpy().

27 years ago#include <string.h>
cjs [Mon, 13 Oct 1997 22:01:54 +0000 (22:01 +0000)]
#include <string.h>

27 years agotime_t != long; cast it.
cjs [Mon, 13 Oct 1997 21:09:59 +0000 (21:09 +0000)]
time_t != long; cast it.

27 years agotime_t != long; fix minor type problem.
cjs [Mon, 13 Oct 1997 21:05:36 +0000 (21:05 +0000)]
time_t != long; fix minor type problem.

27 years ago- make sure that the arguments to the printf like functions are correct
christos [Mon, 13 Oct 1997 21:02:57 +0000 (21:02 +0000)]
- make sure that the arguments to the printf like functions are correct
- add a makemsg() function to accompany makesignal.

27 years agoWarns fixes:
christos [Mon, 13 Oct 1997 19:42:53 +0000 (19:42 +0000)]
Warns fixes:
use varargs properly
use unsigned chars where appropriate
fix typos
eliminate gcc warnings

27 years agouse <termcap.h> instead of <curses.h> for termcap(3) functions
lukem [Mon, 13 Oct 1997 16:13:39 +0000 (16:13 +0000)]
use <termcap.h> instead of <curses.h> for termcap(3) functions

27 years agoWARNSify, KNFify (inc. removing extremely verbose & useless comments), ...
lukem [Mon, 13 Oct 1997 02:18:06 +0000 (02:18 +0000)]
WARNSify, KNFify (inc. removing extremely verbose & useless comments), ...

27 years agoWarnsify and remove local implementations of libc functions.
christos [Sun, 12 Oct 1997 21:24:24 +0000 (21:24 +0000)]
Warnsify and remove local implementations of libc functions.

27 years agoWARNSify
christos [Sun, 12 Oct 1997 17:45:06 +0000 (17:45 +0000)]
WARNSify

27 years agoenable WARNS?=1 by default, & temporarily disable for the few unclean programs
lukem [Sun, 12 Oct 1997 14:21:44 +0000 (14:21 +0000)]
enable WARNS?=1 by default, & temporarily disable for the few unclean programs

27 years agogetopt returns -1 not EOF
lukem [Sun, 12 Oct 1997 14:19:17 +0000 (14:19 +0000)]
getopt returns -1 not EOF

27 years agodeprecate auto
lukem [Sun, 12 Oct 1997 14:17:27 +0000 (14:17 +0000)]
deprecate auto

27 years agodeprecate bzero, rindex, etc. use symbolic constants in open()
lukem [Sun, 12 Oct 1997 14:16:26 +0000 (14:16 +0000)]
deprecate bzero, rindex, etc. use symbolic constants in open()

27 years agoWARNSify
lukem [Sun, 12 Oct 1997 14:09:55 +0000 (14:09 +0000)]
WARNSify

27 years agoWARNSify (not an insignificant task...)
lukem [Sun, 12 Oct 1997 11:45:01 +0000 (11:45 +0000)]
WARNSify (not an insignificant task...)

27 years agoWARNSify
lukem [Sun, 12 Oct 1997 03:36:41 +0000 (03:36 +0000)]
WARNSify

27 years agoWARNSify
lukem [Sun, 12 Oct 1997 02:12:45 +0000 (02:12 +0000)]
WARNSify

27 years agomissed a couple of clock->ourclock and time->ourtime variable renames
lukem [Sun, 12 Oct 1997 02:06:15 +0000 (02:06 +0000)]
missed a couple of clock->ourclock and time->ourtime variable renames

27 years agominor WARNSify
lukem [Sun, 12 Oct 1997 02:03:45 +0000 (02:03 +0000)]
minor WARNSify

27 years agoWARNSify, KNFify
lukem [Sun, 12 Oct 1997 01:49:24 +0000 (01:49 +0000)]
WARNSify, KNFify

27 years agoWARNSify
lukem [Sun, 12 Oct 1997 01:04:43 +0000 (01:04 +0000)]
WARNSify

27 years agouse err/warn instead of perror
lukem [Sun, 12 Oct 1997 01:00:27 +0000 (01:00 +0000)]
use err/warn instead of perror

27 years agoWARNSify
lukem [Sun, 12 Oct 1997 00:53:45 +0000 (00:53 +0000)]
WARNSify

27 years agocommon_source -> common, and GC some garbage variables.
mycroft [Sat, 11 Oct 1997 20:24:05 +0000 (20:24 +0000)]
common_source -> common, and GC some garbage variables.

27 years agoDo the previous a little differently.
mycroft [Sat, 11 Oct 1997 20:22:10 +0000 (20:22 +0000)]
Do the previous a little differently.

27 years agoDon't install this library, we only need this during the build.
veego [Sat, 11 Oct 1997 19:56:42 +0000 (19:56 +0000)]
Don't install this library, we only need this during the build.

27 years agoOnly use SYMLINKS when PROG is defined.
veego [Sat, 11 Oct 1997 19:55:46 +0000 (19:55 +0000)]
Only use SYMLINKS when PROG is defined.

27 years agoUse bsd.subdir.mk as appropriate.
mycroft [Sat, 11 Oct 1997 09:34:07 +0000 (09:34 +0000)]
Use bsd.subdir.mk as appropriate.

27 years agouse err/warn instead of perror
lukem [Sat, 11 Oct 1997 08:13:40 +0000 (08:13 +0000)]
use err/warn instead of perror

27 years agouse err/warn instead of perror
lukem [Sat, 11 Oct 1997 08:01:06 +0000 (08:01 +0000)]
use err/warn instead of perror

27 years agoWARNSify
lukem [Sat, 11 Oct 1997 07:59:09 +0000 (07:59 +0000)]
WARNSify

27 years agoWARNSify, deprecate register
lukem [Sat, 11 Oct 1997 07:48:58 +0000 (07:48 +0000)]
WARNSify, deprecate register

27 years agominor KNFify
lukem [Sat, 11 Oct 1997 02:44:30 +0000 (02:44 +0000)]
minor KNFify

27 years agouse err/warn instead of perror
lukem [Sat, 11 Oct 1997 02:41:45 +0000 (02:41 +0000)]
use err/warn instead of perror

27 years agominor KNFify
lukem [Sat, 11 Oct 1997 02:40:39 +0000 (02:40 +0000)]
minor KNFify

27 years agominor KNFify
lukem [Sat, 11 Oct 1997 02:12:11 +0000 (02:12 +0000)]
minor KNFify

27 years agoKNFify (with indent)
lukem [Sat, 11 Oct 1997 02:06:55 +0000 (02:06 +0000)]
KNFify (with indent)

27 years agouse warn instead of perror/fprintf/...
lukem [Sat, 11 Oct 1997 02:01:02 +0000 (02:01 +0000)]
use warn instead of perror/fprintf/...

27 years agoKNFify again
lukem [Sat, 11 Oct 1997 01:55:27 +0000 (01:55 +0000)]
KNFify again

27 years agoKNFify
lukem [Sat, 11 Oct 1997 01:53:21 +0000 (01:53 +0000)]
KNFify

27 years agoWARNSify, KNFify
lukem [Sat, 11 Oct 1997 01:16:26 +0000 (01:16 +0000)]
WARNSify, KNFify

27 years agoWARNSify
lukem [Fri, 10 Oct 1997 16:38:40 +0000 (16:38 +0000)]
WARNSify

27 years agoYet Another Monster Commit:
lukem [Fri, 10 Oct 1997 16:32:15 +0000 (16:32 +0000)]
Yet Another Monster Commit:
- WARNSify
- getopt returns -1 not EOF
- select() uses an fd_set, not int/long; modify code to use FD_* et al
  instead of direct bitwise operations
- in otto.c::look (renamed to ottolook() to prevent name clash), the
  case WEST section had a 'goto cont_east', instead of 'goto cont_west'.
  (picked up by WARNS=1, because cont_west was an unused label because
  of this typo). probably meant that otto got lost in the maze :-/
- deprecate register, convert bcmp() -> memcmp()

27 years agoXXX: work around lex(1) vs termios lameness
lukem [Fri, 10 Oct 1997 13:38:51 +0000 (13:38 +0000)]
XXX: work around lex(1) vs termios lameness

27 years agoWARNSify
lukem [Fri, 10 Oct 1997 13:36:01 +0000 (13:36 +0000)]
WARNSify

27 years agoWARNSify
lukem [Fri, 10 Oct 1997 13:04:33 +0000 (13:04 +0000)]
WARNSify

27 years agoWARNSify
lukem [Fri, 10 Oct 1997 12:58:29 +0000 (12:58 +0000)]
WARNSify

27 years agoWARNSify
lukem [Fri, 10 Oct 1997 12:49:45 +0000 (12:49 +0000)]
WARNSify

27 years agoWARNSify
lukem [Fri, 10 Oct 1997 12:26:34 +0000 (12:26 +0000)]
WARNSify

27 years agoWARNSify
lukem [Fri, 10 Oct 1997 12:04:23 +0000 (12:04 +0000)]
WARNSify

27 years agodeprecate register, fixup .Nm usage
lukem [Fri, 10 Oct 1997 11:59:26 +0000 (11:59 +0000)]
deprecate register, fixup .Nm usage

27 years agogetopt returns -1 not EOF
lukem [Fri, 10 Oct 1997 11:49:44 +0000 (11:49 +0000)]
getopt returns -1 not EOF

27 years agoWARNSify
lukem [Fri, 10 Oct 1997 11:39:08 +0000 (11:39 +0000)]
WARNSify

27 years agoWARNSify, fixup .Nm usage
lukem [Fri, 10 Oct 1997 09:54:16 +0000 (09:54 +0000)]
WARNSify, fixup .Nm usage

27 years agoWARNSify, fixup .Nm usage
lukem [Fri, 10 Oct 1997 09:48:47 +0000 (09:48 +0000)]
WARNSify, fixup .Nm usage

27 years agohunt isn't "Missing:" anymore ;-)
lukem [Fri, 10 Oct 1997 09:39:04 +0000 (09:39 +0000)]
hunt isn't "Missing:" anymore ;-)

27 years agoKNF & WARNSify, and only compile common_source once/* (compiles 25% faster)
lukem [Fri, 10 Oct 1997 08:59:32 +0000 (08:59 +0000)]
KNF & WARNSify, and only compile common_source once/* (compiles 25% faster)

27 years agoremove advertising clause from all my licenses.
mrg [Fri, 10 Oct 1997 05:39:47 +0000 (05:39 +0000)]
remove advertising clause from all my licenses.

27 years agoWARNSify
lukem [Fri, 10 Oct 1997 02:07:01 +0000 (02:07 +0000)]
WARNSify

27 years agoKNFify, WARNSify, use errx(), clean up .Nm in manpage
lukem [Thu, 9 Oct 1997 23:07:00 +0000 (23:07 +0000)]
KNFify, WARNSify, use errx(), clean up .Nm in manpage

27 years agofix compiler warnings on the alpha.
mrg [Sat, 4 Oct 1997 09:28:32 +0000 (09:28 +0000)]
fix compiler warnings on the alpha.

27 years agoadd hunt.
mrg [Sat, 4 Oct 1997 09:27:11 +0000 (09:27 +0000)]
add hunt.

27 years agonote that huntd lives in /usr/games.
mrg [Sat, 4 Oct 1997 09:16:27 +0000 (09:16 +0000)]
note that huntd lives in /usr/games.

27 years agobuild hunt.
mrg [Sat, 4 Oct 1997 09:11:14 +0000 (09:11 +0000)]
build hunt.

27 years agohunt version 1993-07-17
mrg [Sat, 4 Oct 1997 09:00:13 +0000 (09:00 +0000)]
hunt version 1993-07-17

27 years agoadd a man page for countmail(6)
mrg [Fri, 3 Oct 1997 10:25:35 +0000 (10:25 +0000)]
add a man page for countmail(6)

27 years agoadd countmail.
mrg [Fri, 3 Oct 1997 08:51:33 +0000 (08:51 +0000)]
add countmail.

27 years agoadd rcsid
mrg [Fri, 3 Oct 1997 08:50:42 +0000 (08:50 +0000)]
add rcsid

27 years agoinstall countmail into /usr/games
mrg [Fri, 3 Oct 1997 08:50:36 +0000 (08:50 +0000)]
install countmail into /usr/games

27 years agocountmail -- be obnoxious about how much mail you have. this version
mrg [Fri, 3 Oct 1997 08:43:09 +0000 (08:43 +0000)]
countmail -- be obnoxious about how much mail you have.  this version
written by mycroft.  original version by noah friedman.  the original
idea for this program came from lauren p. burka <exile@gnu.ai.mit.edu>

"countmail is the work of someone in an altered state."
   --Ben A. Mesander <ben@piglet.cr.usgs.gov>

27 years ago- WARNSify
lukem [Sat, 20 Sep 1997 14:28:16 +0000 (14:28 +0000)]
- WARNSify
- deprecate register
- getopts returns -1 not EOF
- last character returned by fgetln() isn't always \n
- cleanup .Nm use

27 years agofix typo; from Hubert Feyrer in PR bin/4070
mikel [Mon, 1 Sep 1997 23:26:11 +0000 (23:26 +0000)]
fix typo; from Hubert Feyrer in PR bin/4070

27 years agoPR/3964: Eric Fischer: Remove dependencies to traditional cpp...
christos [Mon, 11 Aug 1997 14:06:10 +0000 (14:06 +0000)]
PR/3964: Eric Fischer: Remove dependencies to traditional cpp...
While I was there add WARNS?= too.

27 years agodon't xref obsolete regcmp(3)
mikel [Wed, 16 Jul 1997 06:59:59 +0000 (06:59 +0000)]
don't xref obsolete regcmp(3)

27 years agogtime -> gltime to avoid conflict in time.h
christos [Sun, 13 Jul 1997 20:21:32 +0000 (20:21 +0000)]
gtime -> gltime to avoid conflict in time.h

27 years agomake explicit comparisons to NULL, s/rindex/strrchr/
mikel [Thu, 10 Jul 1997 06:47:29 +0000 (06:47 +0000)]
make explicit comparisons to NULL, s/rindex/strrchr/

27 years agoClean up play, let player see play more often, improve display timing.
phil [Wed, 9 Jul 1997 06:25:45 +0000 (06:25 +0000)]
Clean up play, let player see play more often, improve display timing.
Preliminary work from PR 2055 (as reverse patches).

27 years agoAdd missing space between play and act.
mycroft [Sun, 6 Jul 1997 11:20:10 +0000 (11:20 +0000)]
Add missing space between play and act.

27 years agoFix parsing error with escaped colons.
mycroft [Sun, 6 Jul 1997 11:19:16 +0000 (11:19 +0000)]
Fix parsing error with escaped colons.

27 years agoUse tbl support from bsd.man.mk instead of having a special rule.
phil [Mon, 30 Jun 1997 19:33:34 +0000 (19:33 +0000)]
Use tbl support from bsd.man.mk instead of having a special rule.

27 years agoBack out BUILDDIR and NOINSTALL changes.
cjs [Sat, 31 May 1997 21:21:13 +0000 (21:21 +0000)]
Back out BUILDDIR and NOINSTALL changes.

27 years agoFix broken uses of Dd. Both the mdoc and mdoc.samples pages agree:
cgd [Thu, 29 May 1997 01:48:05 +0000 (01:48 +0000)]
Fix broken uses of Dd.  Both the mdoc and mdoc.samples pages agree:
.Dd is supposed to be invoked like:
.Dd month day, year
e.g. ".Dd January 25, 1989", rather than:
.Dd "month day, year"
which is what these pages did.

27 years agocurses needs termcap
mellon [Thu, 29 May 1997 00:40:03 +0000 (00:40 +0000)]
curses needs termcap

27 years agoThese updates to the build allow building against include files
cjs [Mon, 26 May 1997 03:55:19 +0000 (03:55 +0000)]
These updates to the build allow building against include files
and libs in the object tree, if you use a separate object tree,
while maintaining backward compatability with other build methods.
See the notes in src/share/mk/bsd.README for full details. Note
that the `make includes' target now only installs the include files
in the build directory (if you use one--otherwise they go in DESTDIR
just like before); `make install' will install include files in
DESTDIR.

27 years agoRemove calls to flushok(). That function doesn't really do anything in
jtc [Fri, 23 May 1997 23:40:16 +0000 (23:40 +0000)]
Remove calls to flushok().  That function doesn't really do anything in
our curses implementation, and it doesn't even exist in others...

27 years agoRemove mvcur() after wrefresh() call, as the latter does not move the
jtc [Fri, 23 May 1997 23:27:40 +0000 (23:27 +0000)]
Remove mvcur() after wrefresh() call, as the latter does not move the
cursor.  The fact that we don't have to grovel in the curses internels
for curx or cury is an added bonus.

27 years agoRemove unctrl.h, use public version.
jtc [Fri, 23 May 1997 23:13:35 +0000 (23:13 +0000)]
Remove unctrl.h, use public version.

27 years agoChange "reg" to "register"
jtc [Fri, 23 May 1997 23:09:36 +0000 (23:09 +0000)]
Change "reg" to "register"
Remove private implementation of erasechar() and killchar().

27 years agoNULL => 0 (Arne Juul; PR#3629)
pk [Sat, 17 May 1997 19:24:44 +0000 (19:24 +0000)]
NULL => 0 (Arne Juul; PR#3629)

27 years agoUse afterinstall, not beforeinstall.
mycroft [Fri, 9 May 1997 16:51:41 +0000 (16:51 +0000)]
Use afterinstall, not beforeinstall.

27 years agoEliminate bogus redefinitions of standard targets.
mycroft [Fri, 9 May 1997 07:50:03 +0000 (07:50 +0000)]
Eliminate bogus redefinitions of standard targets.

27 years agoBack out the .PATH.c changes. The .depend problem (and others)
gwr [Thu, 8 May 1997 21:11:01 +0000 (21:11 +0000)]
Back out the .PATH.c changes.  The .depend problem (and others)
will be fixed using the new .NOPATH make feature instead.