forked from abishekvashok/cmatrix
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Manual: Cross-platform mdoc rewrite to section 6
Fixes: abishekvashok#87 , abishekvashok#105 and abishekvashok#162
- Loading branch information
1 parent
5c082c6
commit fde4cc2
Showing
4 changed files
with
131 additions
and
104 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,128 @@ | ||
.Dd March 31, 2024 | ||
.Dt CMATRIX 6 | ||
.Os | ||
.Sh NAME | ||
.Nm cmatrix | ||
.Nd Matrix digital rain terminal screensaver | ||
.Sh SYNOPSIS | ||
.Nm | ||
.Op Fl \&?abBcfhlLmnorsVx | ||
.Op Fl C Ar color | ||
.Op Fl u Ar delay | ||
.Sh DESCRIPTION | ||
The | ||
.Nm | ||
utility shows random 8-color characters raining down a terminal, at a | ||
user-defined speed, either at the same rate or asyncronously. | ||
.Pp | ||
The following command-line options are available: | ||
.Pp | ||
.Bl -tag -width "-C color" -compact | ||
.It Fl a | ||
Asynchronous scroll | ||
.It Fl b | ||
Bold characters on | ||
.It Fl B | ||
All bold characters, overrides | ||
.Fl b | ||
.It Fl c | ||
Use Japanese characters, requires appropriate font | ||
.It Fl C Ar color | ||
.Sq Ar green | ||
Use one of the eight | ||
.Ar color Ns s in the table below | ||
.It Fl f | ||
Force the | ||
.Va $TERM | ||
type to be on | ||
.It Fl h , Fl \&? | ||
Print usage and exit | ||
.It Fl l | ||
Linux mode, use matrix console font | ||
.Pq matrix.fnt | ||
.It Fl L | ||
Lock mode, can be | ||
.Xr kill 1 Ns ed | ||
from another terminal | ||
.It Fl m | ||
Lambda mode, every character becomes a lambda | ||
.It Fl n | ||
No bold characters, overrides | ||
.Fl b | ||
and | ||
.Fl B | ||
.It Fl o | ||
Use old-style scrolling | ||
.It Fl r | ||
Rainbow mode, rainbow colored characters | ||
.It Fl s | ||
Screensaver mode, exits on any keystroke | ||
.It Fl u Ar delay | ||
.Sq Ar 4 | ||
Screen update delay | ||
.Ar 0 Ns Pf - Ar 9 | ||
.It Fl V | ||
Print version information and exit | ||
.It Fl x | ||
X window mode, use if your | ||
.Xr xterm 1 | ||
is using mtx.pcf | ||
.El | ||
.Pp | ||
The following keystrokes are available during execution: | ||
.Pp | ||
.Bl -tag -width "! @ # $ % ^ & )" -compact | ||
.It Ic "! @ # $ % ^ & )" | ||
Switch scheme to corresponding | ||
.Ar color : | ||
.Pp | ||
.TS | ||
aw10 aw10. | ||
! red @ green | ||
# yellow $ blue | ||
% magenta ^ cyan | ||
& white ) black | ||
.TE | ||
.Pp | ||
.It Ic 0 Ns Pf - Ic 9 | ||
Set update delay | ||
.It Ic a | ||
Toggle asynchronous scroll | ||
.It Ic b | ||
Random bold characters | ||
.It Ic B | ||
All bold characters | ||
.It Ic n | ||
Turn off bold characters | ||
.It Ic p , Ic P | ||
Pause | ||
.It Ic q | ||
Quit | ||
.El | ||
.Sh EXAMPLES | ||
Interactive mode with asynchronous, partially-bold, red rain: | ||
.Dl $ cmatrix -ab -C red -u 2 | ||
.Pp | ||
Interactive mode with asynchronous, partially-bold and Japanese rain: | ||
.Dl $ cmatrix -abc | ||
.Pp | ||
Screensaver mode emulating the classic from Windows/Mac: | ||
.Dl $ cmatrix -os | ||
.Pp | ||
Most realistic emulation of original movie: | ||
.Dl $ cmatrix -abcl | ||
.Sh SEE ALSO | ||
.Xr kill 1 , | ||
.Xr xterm 1 , | ||
.Xr ncurses 3 | ||
.Pp | ||
.Lk http://www.github.com/abishekvashok/cmatrix Homepage | ||
.Sh HISTORY | ||
The | ||
.Nm | ||
utility was originally written by | ||
.An Chris Allegretta Aq Mt [email protected] | ||
for Linux in 1999. | ||
.Sh CAVEATS | ||
This is a fan made project, the Matrix movie is owned by completely | ||
unrelated trademark holders. |