.Dd July 14, 2019 .Dt SHOTTY 1 .Os . .Sh NAME .Nm shotty .Nd terminal capture . .Sh SYNOPSIS .Nm .Op Fl Bcds .Op Fl b Ar bg .Op Fl f Ar fg .Op Fl h Ar rows .Op Fl w Ar cols .Op Ar file . .Sh DESCRIPTION .Nm interprets terminal output from .Ar file or standard input and produces HTML .Sy
on standard output.
Terminal output can be captured with
.Xr ptee 1 .
.
.Pp
The arguments are as follows:
.Bl -tag -width "-w cols"
.It Fl B
Replace bold with bright colors.
.
.It Fl b Ar bg
Set the default background color.
The default value is 0 (black).
.
.It Fl c
Show the position of the cursor
with reverse video.
.
.It Fl d
Output the terminal state
for each CSI sequence.
.
.It Fl f Ar fg
Set the default foreground color.
The default value is 7 (white).
.
.It Fl h Ar rows
Set the terminal height.
The default value is 24.
.
.It Fl s
Set the terminal size
from the current terminal size.
.
.It Fl w Ar cols
Set the terminal width.
The default value is 80.
.El
.
.Sh SEE ALSO
.Xr ptee 1