diff options
author | June McEnroe <june@causal.agency> | 2019-07-14 13:32:48 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2019-07-14 13:32:48 -0400 |
commit | dc2665af8edb63055ee775285f0b2b790614b40e (patch) | |
tree | 8f2672c4624946d1f79a83ef3221b6f2a8fce2f1 | |
parent | Fix OSC PT handling (diff) | |
download | src-dc2665af8edb63055ee775285f0b2b790614b40e.tar.gz src-dc2665af8edb63055ee775285f0b2b790614b40e.zip |
Add more info to shotty man page
Diffstat (limited to '')
-rw-r--r-- | bin/man1/shotty.1 | 28 |
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 |