Commit Graph

21 Commits

Author SHA1 Message Date
drochner 432ec04420 if initscr() fails, exit with a message rather than crash in the
next curses call
2008-08-08 16:10:47 +00:00
lukem 2fe2731d3f Remove the \n and tabs from the __COPYRIGHT() strings. 2008-07-20 00:52:39 +00:00
perry 8b0f9554ff convert __attribute__s to applicable cdefs.h macros 2007-12-15 19:44:37 +00:00
rpaulo dc2f26bcaa Enable WARNS=3 and pass lint(1).
ok christos@
2005-08-09 09:15:23 +00:00
christos fc21964e2e - don't catch STOP, TSTP, QUIT; the first you cannot catch and the other two
you should not.
- don't accept delay == 1000, because it turns to 0 and fix the number parsing
- misc KNF cleanups.
2004-05-02 21:31:23 +00:00
jsm a12bf9a7e0 Hide the cursor if possible. From OpenBSD. 2004-02-08 22:21:57 +00:00
jsm cb5fd8342e Remove uses of __P. 2004-01-27 20:30:28 +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
simonb 32a44f6987 Revert inclusion of <string.h> now that curses has been fixed. 1999-08-08 02:06:01 +00:00
thorpej 810b5148c4 Need <strings.h>. 1999-08-04 18:38:12 +00:00
hubertf 1543eff804 This patch converts rain(6) to use curses, thereby
significantly simplifying the code and improving its portability.  It
also adds a delay option from OpenBSD to make the display go at a
useful speed on fast terminals, and fixes signal handling to make it
reliable.

Patch supplied by Joseph Myers <jsm28@cam.ac.uk> in PR 6659.
1999-07-30 02:14:56 +00:00
cjs 846ccfbf7f #include <string.h> 1997-10-13 22:01:54 +00:00
lukem 2a7a558e44 use <termcap.h> instead of <curses.h> for termcap(3) functions 1997-10-13 16:13:39 +00:00
lukem bc7a354dc9 WARNSify 1997-10-12 01:04:43 +00:00
mycroft eab5a76524 Use POSIX tty semantics. 1995-04-29 00:44:03 +00:00
cgd e99f511266 clean up fputchar types (again) 1995-04-22 10:26:09 +00:00
cgd b56b88a585 clean up import. NetBSD RCS IDs 1995-04-22 08:19:45 +00:00
deraadt 65893ce47b TIOCGWINSZ 1994-04-05 23:35:16 +00:00
mycroft d52010132e Eliminate a compiler warning. 1993-12-08 08:18:22 +00:00
mycroft 8542364e07 Add RCS identifiers. 1993-08-01 18:49:50 +00:00
cgd 61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00