summary refs log tree commit diff
path: root/bin/man1
diff options
context:
space:
mode:
Diffstat (limited to 'bin/man1')
-rw-r--r--bin/man1/shotty.128
1 files changed, 26 insertions, 2 deletions
diff --git a/bin/man1/shotty.1 b/bin/man1/shotty.1
index 025ff293..349e603e 100644
--- a/bin/man1/shotty.1
+++ b/bin/man1/shotty.1
@@ -23,8 +23,28 @@ or standard input
 and produces HTML
 .Sy <pre>
 on standard output.
-Terminal output can be captured with
+.
+.Pp
+Terminal output
+can be captured with
 .Xr ptee 1 .
+.Nm
+targets compatibility with
+.Ev TERM Ns = Ns Cm xterm
+and
+.Ev TERM Ns = Ns Cm xterm-256color
+as used by
+.Xr ncurses 3 .
+.
+.Pp
+HTML output uses the classes
+.Sy bg Ns Va n
+and
+.Sy fg Ns Va n ,
+and inline styles for
+bold, italic and underline.
+CSS for colors can be generated with
+.Xr scheme 1 .
 .
 .Pp
 The arguments are as follows:
@@ -61,5 +81,9 @@ Set the terminal width.
 The default value is 80.
 .El
 .
+.Sh EXAMPLES
+.Dl ptee htop | shotty -s > htop.html
+.
 .Sh SEE ALSO
-.Xr ptee 1
+.Xr ptee 1 ,
+.Xr scheme 1
-0400'>2018-08-20Add dependencies on gfx.hJune McEnroe 2018-08-18Add Blondie — Heart of GlassJune McEnroe 2018-08-18Set FCEDIT=$EDITORJune McEnroe 2018-08-18Only post commits with bodies to MastodonJune McEnroe 2018-08-18Run tf/cfg link script with /bin/shJune McEnroe 2018-08-18Run {,s,t}up with /bin/shJune McEnroe 2018-08-18Use whence instead of typeJune McEnroe 2018-08-18Cut off path components until right prompt fitsJune McEnroe 2018-08-17Add "private" alias to source encrypted fileJune McEnroe 2018-08-17Add vim mapping to add a #includeJune McEnroe