From a9c4586213c1d79394d76e3ad6fdb31885d26ccd Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Tue, 9 Jul 2019 23:47:27 -0400 Subject: Add shotty man page and build it --- bin/man1/shotty.1 | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 bin/man1/shotty.1 (limited to 'bin/man1/shotty.1') diff --git a/bin/man1/shotty.1 b/bin/man1/shotty.1 new file mode 100644 index 00000000..7500f20b --- /dev/null +++ b/bin/man1/shotty.1 @@ -0,0 +1,48 @@ +.Dd July 9, 2019 +.Dt SHOTTY 1 +.Os +. +.Sh NAME +.Nm shotty +.Nd terminal capture +. +.Sh SYNOPSIS +.Nm +.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 Ar bg
+Set the default background color.
+The default value is 0 (black).
+.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.
+If unset,
+the height of the current terminal is used.
+.It Fl w Ar cols
+Set the terminal width.
+If unset,
+the width of the current terminal is used.
+.El
+.
+.Sh SEE ALSO
+.Xr ptee 1
-- 
cgit 1.4.1