OpenBSD Handbook Manuals
Search

rain(6)

Canonical URL: /rain.6/

RAIN(6) Games Manual RAIN(6)

rainanimated raindrops display

rain [-d delay]

rain is modeled after the VAX/VMS program of the same name.

To obtain the proper effect, the -d option may be used to specify a delay in milliseconds between each update. Reasonable values are around 20–200. The default is based on the terminal speed, computed via the following formula:

delay = speed / 9600 - 1

As with any curses(3) program, the TERM environment variable must be set (and exported) to the type of the terminal being used.

Eric P. Scott

OpenBSD 7.9 January 15, 2015 RAIN(6)

Need conceptual guidance? Continue in the OpenBSD Handbook.