Manpager works interactively. It can, however, be used as a filter to remove the escape sequences it finds if it detects that stdout is not the console. This occurs if output of manpager is redirected as in:
manpager file >newfile
All input on stdin is ignored in this mode.
However, when manpager is invoked automatically by man(1), it is placed in interactive mode. Like less(1), interactive commands are based on both more and vi. Some commands may be preceeded by a decimal number, called N in the descriptions below. The number is used by some commands, as indicated. Commands not using N ignore it.
Manpager can also handle compressed files, i.e. those compressed with compress(1), if the -z option is given.
where ``xxx'' is the octal representation of the ASCII character. This makes manpager function more or less like less(1).
Note that -s and -fun are mutually exclusive.
g go to line N (default 1) G go to last line f, space forward N screens (default 1) b backward N screens (default 1) d forward N half screens (default 1) u backward N half screen (default 1) j,e,CR forward N lines (default 1) k,y backward N lines (default 1)
/string search forward for string (no regular expressions) ?string search backward for string n repeat last search (backward or forward)
q,Q quit r repaint screen h,H help = show file name and position V show version
The commands g, f, b, d, u, j, and k all accept optional numerical prefixes, N. To change their defaults, enter a number, then the command. For example, enter ``22g'' to go to line 22 or ``2f'' to advance 2 screens.
The escape sequences for the fonts are as follows ("\E" means the ESCAPE character):
\E[9m begin using alternate char set \E[8m begin using small char set \E[7m enter standout mode (reverse video) \E[4m enter undeline mode \E[1m enter bold mode \E[m or \E[0m cancel all modes (normal)
These escape sequences are consistent with vt100 or ANSI terminal behavior, except the alternate and small character sets.
Uses Line A to change fonts, so it may not work on the TT.
Should be able to load fonts. Maybe next version.