OpenGrok
Cross Reference: rain.c
xref
: /
src
/
games
/
rain
/
rain.c
Home
|
History
|
Annotate
|
Download
|
only in
rain
History log of
/src/games/rain/rain.c
Revision
Date
Author
Comments
1.24
28-Feb-2024
charlotte
rain(6): Update the "rainable area" upon SIGWINCH
This makes sure rain falls to fill the entire window even if the window
grows in size.
1.23
28-Feb-2024
charlotte
rain(6): Avoid division by zero
If there were exactly 4 LINES or COLS then we'd attempt to draw a raindrop
at some value mod 0, which is invalid.
1.22
14-Oct-2020
nia
rain(6): Make the default delay useful for modern terminals
1.21
08-Aug-2008
drochner
if initscr() fails, exit with a message rather than crash in the
next curses call
1.20
20-Jul-2008
lukem
Remove the \n and tabs from the __COPYRIGHT() strings.
1.19
15-Dec-2007
perry
branches: 1.19.6;
convert __attribute__s to applicable cdefs.h macros
1.18
09-Aug-2005
rpaulo
branches: 1.18.10;
Enable WARNS=3 and pass lint(1).
ok christos@
1.17
02-May-2004
christos
- 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.
1.16
08-Feb-2004
jsm
Hide the cursor if possible. From OpenBSD.
1.15
27-Jan-2004
jsm
Remove uses of __P.
1.14
07-Aug-2003
agc
Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22269, verified by myself.
1.13
08-Aug-1999
simonb
Revert inclusion of <string.h> now that curses has been fixed.
1.12
04-Aug-1999
thorpej
Need <strings.h>.
1.11
30-Jul-1999
hubertf
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.
1.10
13-Oct-1997
cjs
#include <string.h>
1.9
13-Oct-1997
lukem
use <termcap.h> instead of <curses.h> for termcap(3) functions
1.8
12-Oct-1997
lukem
WARNSify
1.7
29-Apr-1995
mycroft
Use POSIX tty semantics.
1.6
22-Apr-1995
cgd
clean up fputchar types (again)
1.5
22-Apr-1995
cgd
clean up import. NetBSD RCS IDs
1.4
05-Apr-1994
deraadt
TIOCGWINSZ
1.3
08-Dec-1993
mycroft
Eliminate a compiler warning.
1.2
01-Aug-1993
mycroft
Add RCS identifiers.
1.1
21-Mar-1993
cgd
branches: 1.1.1;
Initial revision
1.1.1.2
22-Apr-1995
cgd
src/games/rain from Lite
1.1.1.1
21-Mar-1993
cgd
initial import of 386bsd-0.1 sources
1.18.10.1
09-Jan-2008
matt
sync with HEAD
1.19.6.1
18-Sep-2008
wrstuden
Sync with wrstuden-revivesa-base-2.
Indexes created Sat Oct 25 16:10:12 GMT 2025