roy
258cf0abec
Add capfile(5) to describe the termcap format.
...
Adjust various man pages and other documentation to point to capfile(5)
instead of termcap(5).
Remove getcap(3) as curses hasn't been building it for a long time.
Punt wrterm.c as tset no longer uses it.
2012-04-21 12:27:24 +00:00
dholland
ae56ae8f3f
Use __dead and __printflike instead of __attribute__.
2011-08-26 06:18:16 +00:00
mrg
5f0f7c9f12
rename text() to wrtext(), aligning it with most other output routines,
...
and avoiding a compile error on powerpc64.
XXX: this tries to make a ".text" symbol, which already exists...
2010-03-22 05:10:19 +00:00
roy
98eb889579
Userland now builds and uses terminfo instead of termcap.
...
OK: core@, jdc@
2010-02-03 15:34:37 +00:00
dholland
9795f61a5a
sprinkle static
2009-08-12 05:17:57 +00:00
dholland
24ddf1fdf8
looks as if "ospeed" here was meant to be extern.
2009-08-12 04:51:11 +00:00
lukem
f0bccc0f62
Remove the \n and tabs from the __COPYRIGHT() strings.
2008-07-21 13:24:38 +00:00
lukem
2fe2731d3f
Remove the \n and tabs from the __COPYRIGHT() strings.
2008-07-20 00:52:39 +00:00
lukem
66176dfdff
Rename MKPRIVATELIB to LIBISPRIVATE, to make it clearer that this is
...
a variable that is used by in-tree Makefiles to control behaviour.
(MKsomevar variables are generally intended to be controlled by the end-user)
2008-05-03 14:48:30 +00:00
martin
ce099b4099
Remove clause 3 and 4 from TNF licenses
2008-04-28 20:22:51 +00:00
dholland
b67b08da79
Pedanticism about time_t (not really a bug, but now it won't show up when
...
audited.)
2008-01-31 05:22:45 +00:00
perry
8b0f9554ff
convert __attribute__s to applicable cdefs.h macros
2007-12-15 19:44:37 +00:00
snj
bf5ceaae16
It's "its."
2006-04-24 18:00:53 +00:00
christos
1990635dbb
Coverity CID 558: && should be obviously ||
2006-03-22 04:22:05 +00:00
christos
c873d1eb57
Coverity CID 1230: Remove spurious close().
2006-03-18 23:25:30 +00:00
christos
e0b976a0ae
Coverity CID 1294: Avoid negative variable used as index.
2006-03-18 23:23:33 +00:00
simonb
5cfbf7bf76
Use MKPRIVATELIB instead of NOLINKLIB/NOMAN/NOPIC/NOLINT.
2006-02-25 12:04:23 +00:00
wiz
d9f5a9df01
Use standard AUTHORS section header. From YOMURA Masanori in private mail
...
Sort sections if necessary. Use more/better markup.
2005-09-15 02:09:41 +00:00
jmc
fcb317ee49
KNF and WARNS=3 fixes
2005-07-01 01:12:39 +00:00
jsm
b91a81ab9f
Cast last argument of execl to (char *).
...
Reviewed by <hubertf>.
2005-02-15 12:56:20 +00:00
simonb
9bc855a931
s/the the/the/ (only in sources that aren't regularly imported from
...
elsewhere).
2004-04-23 02:58:27 +00:00
jsm
10b61a7cca
Mark unused parameters, nonreturning functions and format functions in
...
the few cases not already marked.
2004-02-08 22:23:50 +00:00
jsm
cb5fd8342e
Remove uses of __P.
2004-01-27 20:30:28 +00:00
jsm
540217796b
Only score as a Gammon or a Backgammon if the opponent hasn't removed
...
any pieces, not if the opponent has removed pieces but has had a piece
knocked back to the bar afterwards. Fixes Debian bug 185101 from
Konstantin Seiler <list@kseiler.de>.
2004-01-01 15:59:58 +00:00
jsm
0ea00847c5
Make tutorial text match actual moves. From FreeBSD via OpenBSD.
...
Fixes Debian bug 212478 from Jim W. Jaszewski <grok@sprint.ca>.
2004-01-01 15:59:09 +00:00
agc
e5aeb4ea46
Move UCB-licensed code from 4-clause to 3-clause licence.
...
Patches provided by Joel Baker in PR 22269, verified by myself.
2003-08-07 09:36:50 +00:00
wiz
4f5188442b
Grammar and punctuation fixes, from jmc@openbsd.
2003-04-26 21:28:40 +00:00
wiz
c91d8d6b9b
Lots of minor fixes resulting from reading these man pages in detail.
2002-09-26 18:31:58 +00:00
lukem
bcf4617b61
some makefile de-linting
2002-09-18 06:16:39 +00:00
tv
a2291b79c0
MKfoo=no -> NOfoo=
2001-12-12 00:07:45 +00:00
wiz
9fa0b17629
Give initiali[sz]e all the "i"s it deserves.
2001-09-18 18:15:49 +00:00
wiz
14dbdf5518
Negative exit code cleanup: Replace exit(-x) with exit(x).
...
As seen on tech-userlevel.
2001-04-06 11:13:45 +00:00
wiz
8a84240a6e
Whitespace and/or punctuation fixes.
2001-04-02 22:47:29 +00:00
christos
d249c86e88
remove redundant decl
2001-02-05 00:23:59 +00:00
lukem
443a19e035
convert to using .WAIT
2001-01-09 03:13:39 +00:00
sommerfeld
83454472f9
${PRINTOBJDIR}ify
2000-12-30 17:51:26 +00:00
mycroft
f9eca6973d
Use setgid(), not setregid().
2000-05-08 07:55:59 +00:00
lukem
88d3d7c59e
update after change to return value of tputs() third argument
1999-10-04 23:26:59 +00:00
jsm
ba40c8d63d
Fix some uses of NULL as non-pointer and 0 for null pointer.
1999-09-17 17:07:11 +00:00
jsm
2b25de3a90
Include <time.h> in various places in the games where time() or time_t
...
are used.
1999-09-09 17:30:17 +00:00
jsm
b03d4fa882
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).
1999-09-08 21:45:25 +00:00
tron
679f4a54e3
Adapt to change of "termcap.h".
1999-08-14 16:29:22 +00:00
hubertf
c26f3e09fd
This is a trivial fix to backgammon(6): '\a' is cleaner than '\007'.
...
Submitted in PR 8104 by Joseph Myers <jsm28@cam.ac.uk>
1999-07-28 23:15:51 +00:00
hubertf
d29d591c01
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.
1999-07-28 02:07:39 +00:00
hubertf
83d9f5b7e0
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>
1999-07-26 20:56:03 +00:00
hubertf
b8d8fccc22
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>
1999-07-26 20:50:44 +00:00
hubertf
79705e8498
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>
1999-07-26 18:39:06 +00:00
hubertf
420d34ff13
Hardcore const poisoning
...
Patch submitted by Joseph Myers <jsm28@cam.ac.uk> in PR 8057
1999-07-25 00:06:13 +00:00
hubertf
3521abbb40
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>
1999-07-19 00:33:58 +00:00
hubertf
9c8243f4e2
Fix scoring, submitted in PR 7992 by Joseph Myers <jsm28@cam.ac.uk>
1999-07-14 22:46:21 +00:00