commit 1c4c6d33a77caaed0046b9a6006cfa4dfe866e7b
parent 3900345c80a9b585dfaa7a147ffbf36ad76a05f6
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 20 Dec 2020 15:36:16 +0100
catpoint.1: add an initial man page
Signed-off-by: Christoph Lohmann <20h@r-36.net>
Diffstat:
catpoint.1 | | | 38 | ++++++++++++++++++++++++++++++++++++++ |
1 file changed, 38 insertions(+), 0 deletions(-)
diff --git a/catpoint.1 b/catpoint.1
@@ -0,0 +1,38 @@
+.Dd December 20, 2020
+.Dt CATPOINT 1
+.Os
+.Sh NAME
+.Nm catpoint
+.Nd simple viewer of text files
+.Sh SYNOPSIS
+.Nm
+.Op Ar file...
+.Sh DESCRIPTION
+.Nm
+reads text files from the
+.Ar files
+arguments and prints them to the terminal.
+The slides can be navigated with keybinds.
+.Sh KEYBINDS
+.Bl -tag -width Ds
+.It ^D, q, ESCAPE, F5
+Quit
+.It l, j, SPACE, ARROW RIGHT, ARROW DOWN, PAGE DOWN
+Go to next slide.
+.It h, j, ARROW LEFT, ARROW UP, PAGE UP
+Go to previous slide.
+.It ., u, BEGIN KEY, HOME KEY
+Go to the first slide.
+.It i, END KEY
+Go to the last slide.
+.It r
+Reload the current slide from the file.
+.It ^L
+Redraw the current slide contents.
+.El
+.Sh EXIT STATUS
+.Ex -std
+.Sh SEE ALSO
+.Xr cat 1 ,
+.Sh AUTHORS
+.An Christoph Lohmann Aq Mt 20h@r-36.net