The player needs JavaScript. The file: rain.vt
rain ("animated raindrops display")
bsd-1980/rain.vt
- Creator
- Eric P. Scott
- Date
- 1980 (source: "rain 11/3/1980 EPS/CITHEP"); 4.2BSD 1983; this recording 2026-11-18
- Certainty
- verified: checked against the original post, archive or file
- Notes
- A program of BSD Unix, not a file: it has no delay and draws through termcap, so its speed was the speed of the line; the later NetBSD manual says that "If the terminal is faster than 9600 baud" a delay must be set "to obtain a proper rain effect", and that it was "modeled after the VAX/VMS program of the same name". Dots, drops (o, O) and splashes (-, |.|, / \, | O |, \ /). Recorded on a 24 x 80 vt100 at 9600 baud: 115,202 bytes, 2 minutes, then stopped with Ctrl-C (SIGINT) as a user would. The NULs are the vt100 padding that rain sends itself (5 ms after each cursor move). Two fixes outside its code: a vt100 terminfo without padding on cursor-right/up, and the "$<5>" dropped from its last line, because rain prints those strings without tputs and today's padding syntax would show as text. Same bytes on every run (rand() unseeded). Its companion is worms.vt (same author, Oct 1980), recorded the same way.
- Origin
- Recorded by the collector in 2026 from rain.c of 4.2BSD (Unix History Repository, branch BSD-4_2, usr/src/games/rain.c, = tuhs.org 4.2BSD), with only the tty handling ported to Linux (sgtty to termios, marked "2026" in the ported source)
- References
- Found at
- recorded by the collector (2026) from rain of 4.2BSD
- Kind
- vt100: moves the cursor and redraws only what changes, and/or uses VT100-only features: made for the terminal
- Playback
- 9600 baud · 80×24 · 2:00
- File
rain.vt· 115202 bytes · md52a8e12cd3d8061dc505fcabb9e4dbfad· on GitHub