summary refs log tree commit diff
path: root/bin/man1
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2019-07-09 23:47:27 -0400
committerJune McEnroe <june@causal.agency>2019-07-09 23:47:27 -0400
commita0c03a0c48e81b58e843f1168faec1722016cedb (patch)
tree9468db273c456bb09728b08785ec4e0421774287 /bin/man1
parentAdd up -c (diff)
downloadsrc-a0c03a0c48e81b58e843f1168faec1722016cedb.tar.gz
src-a0c03a0c48e81b58e843f1168faec1722016cedb.zip
Add shotty man page and build it
Diffstat (limited to '')
-rw-r--r--bin/man1/shotty.148
1 files changed, 48 insertions, 0 deletions
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 <pre>
+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
href='/torus/commit/client.c?id=8de54b3a2bb69d168014bea0dd230e0b2235441d&follow=1'>Draw lines to tile edgeJune McEnroe 2019-01-08Factor out default pathsJune McEnroe 2019-01-08Remove incorrect default coordinatesJune McEnroe 2019-01-07Set img src when explore fragment changesJune McEnroe 2019-01-07Compress PNG data in imageJune McEnroe 2019-01-07madvise MADV_NOCORE in imageJune McEnroe 2019-01-07Add license notice to explore JavaScriptJune McEnroe 2019-01-07Add Q/Home binding in exploreJune McEnroe 2019-01-07Fix explore image URLJune McEnroe 2019-01-07Add HOME button, ssh link, AGPL notice to exploreJune McEnroe 2019-01-06Add meta viewport to exploreJune McEnroe 2019-01-06Set background and max-width in exploreJune McEnroe 2019-01-06Swallow writes after the connection is closedJune McEnroe 2019-01-06Handle KCGI_HUPJune McEnroe 2019-01-06Install html filesJune McEnroe