Open System Services Shell and Utilities Reference Manual (G06.29+, H06.08+, J06.03+)

User Commands (m - o) more(1)
if
i<Ctrl-f>
Moves forward i lines, with a default of one screenful. At End-of-File, more continues
with the next file in the list, or exits if the current file is the last file in the list.
ib
i<Ctrl-b>
Moves backward i lines, with a default of one screenful (see the -n flag). If i is more
than the screen size, only the final screenful is written.
q, Q
ZZ Exits from more.
=
<Ctrl-g>
Writes the name of the file currently being examined, the number relative to the total
number of files there are to examine, the current line number, the current byte number,
and the total bytes to write, and what percentage of the file precedes the current posi-
tion. If more is reading from standard input, or the file is shorter than a single screen,
some of these items need not be written. All of these items reference the first byte of
the line after the last line written.
v Invokes an editor to edit the current file being examined. The name of the editor is
taken from the $EDITOR environment variable and defaults to vi.If$EDITOR
represents either vi or ex, the editor is invoked with options such that the current editor
line is the physical line corresponding to the current position in more at the time of
invocation. For example, either ex or vi is invoked by specifying the editor name and
following that with -c linenumber.
When the editor exits, more resumes on the current file by rewriting the screen with
the current line as the current position.
h Displays a description of all the more subcommands.
i/[!]expre ssion
Searches forward in the file for the ith line containing the regular expression expres-
sion. The default value for i is 1. If the search is successful, the screen is modified so
that the searched-for line is in the current position. The null regular expression
(/<Return>) repeats the search using the previous regular expression. If the ! (excla-
mation point) character is included, the lines for searching are those that do not contain
expression.
If there are less than i occurrences of expression, and the input is a file rather than a
pipe, then the position in the file remains unchanged.
You can use Erase and Kill characters to edit the regular expression, which must be ter-
minated by pressing <Return> (with no trailing / character). Erasing back past the first
column cancels the search command.
i?[!]e
xpression
Same as /, but searches backward in the file for the ith line containing the regular
expression expression.
in Repeats the previous search for the ith line (default 1) containing the last e xpression
(or not containing the last expression, if the previous search was /! or ?!).
527188-021 Hewlett-Packard Company 623