From dc2665af8edb63055ee775285f0b2b790614b40e Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Sun, 14 Jul 2019 13:32:48 -0400 Subject: Add more info to shotty man page --- bin/man1/shotty.1 | 28 ++++++++++++++++++++++++++-- 1 file 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
 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
-- 
cgit 1.4.1