Open System Services Shell and Utilities Reference Manual (G06.27+, H06.04+)

more(1) OSS Shell and Utilities Reference Manual
string you set the MORE environment variable to must begin with a - (dash).
If more is reading from a le, rather than a pipe, then a percentage is displayed along with the
lename. This gives the fraction of the le (in characters, not lines) that was displayed so far.
If the standard output is not a terminal, then more processes like cat. The compact viewing for-
mat produced by the -s ag can also be used in this case.
SUBCOMMANDS
The more command provides the following subcommands that you can type when more pauses.
These commands are designed to be similar to the commands supported by the vi editor. (i is an
optional integer argument, defaulting to 1.) Regular expressions (as referred to here) are
described under grep.
i<Return>
ij
i<Ctrl-e>
i<Space>
Scrolls forward i lines. The default i for <Space> is one screenful; for j and <Return>
it is one line. The entire i lines are written, even if i is more than the screen size. At
End-of-File, <Return> causes more to continue with the next le in the list, or exits if
the current le is the last le in the list.
d
i<Ctrl-d>
Scrolls forward i lines, with a default of one-half of the screen size. If i is specied, it
becomes the new default for subsequent d and u subcommands.
iu
i<Ctrl-u>
Scrolls backward i lines, with a default of one-half of the screen size. If i is specied,
it becomes the new default for subsequent d and u subcommands. Note that if your
line kill character is <Ctrl-u>, then you must use the u command to scroll backward.
ik
i<Ctrl-y>
Scrolls backward i lines, with a default of one line. The entire i lines are written, even
if i is more than the screen size.
iz Displays i more lines and sets the new window (screenful) size to i.
ig Goes to line i in the le, with a default of 1 (beginning of le). Scrolls or rewrites the
screen so that that line is at the current position. If i is not specied, then more
displays the last screenful in the le. Instead of exiting (or going on to the next le)
after showing the last line of the le, more displays the lename prompt. This gives
you an opportunity to scroll or page backward through the le.
iG Goes to line i in the le, with a default of the end of the le. If i is not specied, scrolls
or rewrites the screen so that the last line in the le is at the bottom of the screen. If i is
specied, scrolls or rewrites the screen so that that line is at the current position.
is Skips forward i lines, with a default of one line, and writes the next screenful beginning
at that point. If i would cause the current position to be such that less than one screen-
ful would be written, the last screenful in the le is written.
622 Hewlett-Packard Company 527188-004