Open System Services Shell and Utilities Reference Manual (G06.25+, H06.03+)
Table Of Contents
more(1) OSS Shell and Utilities Reference Manual
iN Repeats the search in the opposite direction of the previous search for the ith line
(default 1) containing the last expression (or not containing the last expression, if the
previous search was /! or ?!).
’ (single quotes)
Returns to the position from which the last large movement subcommand was executed
("large movement" is defined as any movement of more than a screenful of lines). If no
such movements have been made, returns to the beginning of the file.
!command or :!command
Invokes a shell with command. The % (percent sign) and ! (exclamation point) charac-
ters in command are replaced with the current filename and the previous shell com-
mand, respectively. If there is no current filename, % is not expanded. The sequences
\% and \! are replaced by % and !, respectively.
:e [file] Examines a new file. If a filename is not specified, the "current" file (see the :n and :p
subcommands) from the list of files in the command line is re-examined. The filename
is subject to the process of shell word expansions. If file is a # (number sign) character,
the previously examined file is re-examined.
i:n Examines the next file. If i is specified, examines the ith next file specified in the com-
mand line.
i:p Examines the previous file. If i is specified, examines the ith previous file given in the
command line. If this command is given during display of a file, more returns to the
beginning of the file. If more is not reading from a file, the bell is rung and nothing else
happens.
:f Displays the current filename and line number (same as =).
:t tagstring
Goes to the supplied tag string and scrolls or rewrites the screen with that line in the
current position. For more information, see the -t flag.
:q, :Q Exits from more (same as q or Q).
mletter Marks the current position with the specified letter, where letter represents the name of
one of the lowercase letters of the portable character set.
’letter Returns to the position that was previously marked with the specified letter, making
that line the current position.
r
<Ctrl-l> Redraws the screen.
R Redraws the screen, discarding any buffered input. If the current file is nonseekable,
buffered input is not discarded and the R subcommand is equivalent to the r subcom-
mand.
The commands take effect immediately; it is not necessary to type a carriage-return. Up to the
time when the command character itself is given, you can enter the line Kill character to cancel
the numerical argument being formed. In addition, you can enter the Erase character to redisplay
the prompt.
The terminal is set to noecho mode by this program so that the output can be continuous. Thus,
subcommands you enter do not show on your terminal, except for the / (slash), ? (question mark),
and ! (exclamation point) commands. In addition, the value of i (if it is not the default) is shown
at the bottom of the screen preceded by a : (colon).
6−24 Hewlett-Packard Company 527188-003