diff options
author | hubertf <hubertf@NetBSD.org> | 1999-07-30 02:14:56 +0000 |
---|---|---|
committer | hubertf <hubertf@NetBSD.org> | 1999-07-30 02:14:56 +0000 |
commit | ad5cd40187b784a973ea41e3d848a7cb9258f229 (patch) | |
tree | 1b0b0c0cd64731483ae02077394bbd30a89f6271 /rain/rain.6 | |
parent | 13b270759f1529f9db9779c393c17985ff565bdf (diff) | |
download | bsdgames-darwin-ad5cd40187b784a973ea41e3d848a7cb9258f229.tar.gz bsdgames-darwin-ad5cd40187b784a973ea41e3d848a7cb9258f229.tar.zst bsdgames-darwin-ad5cd40187b784a973ea41e3d848a7cb9258f229.zip |
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.
Diffstat (limited to 'rain/rain.6')
-rw-r--r-- | rain/rain.6 | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/rain/rain.6 b/rain/rain.6 index 5e11502d..e719e37a 100644 --- a/rain/rain.6 +++ b/rain/rain.6 @@ -1,4 +1,4 @@ -.\" $NetBSD: rain.6,v 1.6 1997/10/12 01:12:44 lukem Exp $ +.\" $NetBSD: rain.6,v 1.7 1999/07/30 02:14:56 hubertf Exp $ .\" .\" Copyright (c) 1989, 1993 .\" The Regents of the University of California. All rights reserved. @@ -41,21 +41,17 @@ .Nd animated raindrops display .Sh SYNOPSIS .Nm +.Op Fl d Ar delay .Sh DESCRIPTION The output of .Nm is modeled after the .Tn VAX/VMS program of the same name. -The terminal has to be set for 9600 baud to obtain the proper effect. -.Pp -As with all programs that use -.Tn termcap , -the -.Ev TERM -environment variable must be set (and exported) to the type of the -terminal being used. -.Sh FILES -.Pa /usr/share/misc/termcap +To obtain the proper effect, either the terminal must be set for 9600 +baud or the +.Fl d +option must be used to specify a delay, in milliseconds, between each +update. A reasonable delay is 120; the default is 0. .Sh AUTHOR Eric P. Scott |