PROPHET/OS
NAME
rain: falling characters, rain, meteors and snow
SYNOPSIS
rain [options]
DESCRIPTION
Falling characters, rain, meteors and snow: the screen saver. Every option and key of cmatrix, and a model of drops beyond it.
Modes and glyphs
-v mode matrix (default), rain, drizzle, storm, meteor, snow
-z set ascii, katakana, console, binary, digits, hex, greek,
runes, braille, blocks, strokes, drops, snow, stars,
or an own text: every character of it, UTF-8
-c katakana; -l and -x do the same
-m every trail glyph a lambda
-k glyphs change while they fall
-o old style matrix: the column scrolls as a whole
Colour
-C color green, red, blue, white, yellow, cyan, magenta, black,
or #rrggbb
-P palette neon, fire, ocean, aurora, synthwave, sunset, ice,
matrix, none, or own colours #a,#b,...: every stream
takes one colour of it
-G 0..10 glide: the colour moves along the palette, softly
-Y style streak: the whole streak glides at once; trail (the
default): each cell keeps the colour it was painted in,
so the tail shows the way from head to end
-r rainbow
-I glow by heat: the tail cools along the palette
-b, -B, -n bold now and then, always, never
Head and tail
-H 0..100 how white the head is -K color the colour the head goes to -O glow: heads, bright tails and the bolt bloom into a halo (on by default) --classic the rain as it was, without the halo -T 1..20 tail length, 5 is as the mode says -F curve linear or exp -D 0..10 dissolve: tail cells go out at random
Motion
-w -10..10 wind, the slant of rain and snow
-g 0..10 gravity: drops get faster as they fall
-N 1..10 density of rain, snow and meteors
-X 0..10 lightning: bolts that strike down the screen with a flash
of the sky and an afterglow, sheet lightning between them;
storm has 5 unless set
-A 0..10 splashes where drops hit the ground, 0 none; rain and storm
have 5 unless set
-a every stream at its own pace
-d no depth: one plane instead of three
-u 0..10 delay between frames in tens of milliseconds (4)
Run
-p name a profile: classic, neon-storm, aurora, starfall,
blizzard, drizzle, runes, braille, or one of rain.conf
-M text a message in the middle of the screen
-s screen saver: the first key ends it
-e n end by itself after n seconds; a script shows scene after
scene that way
-L lock: q and Ctrl-C do not end it, another console does
-t n rain on console n, which its owner lends for the run: it
has to be a run of your user (any for a superuser), and
it gets the console back when rain ends; its reading
waits meanwhile
-f accepted; there is no TERM to force
-V, -h version, short help
Keys
q quit v mode z charset c palette g glide G style w W wind [ ] tail - + density h H head O glow D dissolve I heat X lightning p pause A splashes L lock a b B n k m o r d as the options, 0 to 9 speed, ! @ # $ % ^ & red green yellow blue magenta cyan white
Meteors fly over a sky that lives: some stars stand and breathe, some twinkle, some flicker on and off, some fade out for a while and come back. Raindrops of the near plane splash at the ground.
-S at the end: frames a second, the time of each step of a
frame, and what one call to the screen costs
On a frame buffer everything is 24 bit, and the glyphs beyond CP437 (katakana, greek, runes, braille, stars) come out of the system font by their Unicode code point. In a tile and on the text mode of the card the sixteen colours stand, and each charset shows its own CP437 stand-ins.
Config
/system/config/rain.conf: mode, color, charset, palette, bold, speed, async, depth, change, rainbow, glide, glide-style, tail, fade, dissolve, glow, lightning, splash, and profile.<name> = <options> for own profiles.
EXAMPLE
