summaryrefslogtreecommitdiffstats
path: root/backgammon/teachgammon/teach.c
Commit message (Collapse)AuthorAgeFilesLines
* Negative exit code cleanup: Replace exit(-x) with exit(x).wiz2001-04-061-3/+3
| | | As seen on tech-userlevel.
* remove redundant declchristos2001-02-051-4/+2
|
* Use setgid(), not setregid().mycroft2000-05-081-3/+3
|
* Adapt to change of "termcap.h".tron1999-08-141-3/+3
|
* As in previously sent patches: backgammon(6) does not need setgidhubertf1999-07-191-2/+5
| | | | | games privileges from dm, so should revoke them on startup. Patch submitteed in PR 8024 bye Joseph Myers <jsm28@cam.ac.uk>
* The patch below makes the game backgammon(6) use `const' wherehubertf1999-02-101-4/+4
| | | | | | | | | | | | | | appropriate. It also removes some obsolete, unused code to check the number of users on the system (obsoleted by dm); removes a prototype for an unused function that was removed earlier; and removes a control character from one message that was I think intended to clear the screen on some particular terminal (though I can't find the comment to that effect in any of the BSD source trees I have handy) but no longer serves any useful purpose. From PR 6580 by Joseph Myers <jsm28@cam.ac.uk>. Also contains two more patches, one in teachgammon/tutor.h (by Joseph) and one in common_source/fancy.c (by me).
* Fix args processing of backgammon and teachgammon, closes pr 5345 byfrueauf1998-09-151-3/+3
| | | David Brownlee.
* Use symbolic names for signals(!), open(2)-constants, ...hubertf1998-08-291-3/+3
| | | Fix applied as per PR 6058 by Joseph Myers <jsm28@cam.ac.uk>
* KNF & WARNSify, and only compile common_source once/* (compiles 25% faster)lukem1997-10-101-68/+59
|
* Use POSIX tty semantics.mycroft1995-04-291-14/+12
|
* clean up importcgd1995-03-211-7/+12
|
* Add RCS identifiers.mycroft1993-08-011-1/+2
|
* initial import of 386bsd-0.1 sourcescgd1993-03-211-0/+166