MPE/iX Shell and Utilities Reference Manual, Vol 1

more(1) MPE/iX Shell and Utilities more(1)
NAME
more — display files on a page-by-page basis
SYNOPSIS
more [–ceiSs][–A|–u][–n number][–P prompt][–p command][–t tag][file ...]
more [–ceiSs][–A|–u][–n number][–P prompt][–t tag][+command][file ...]
DESCRIPTION
more displays files one page at a time. It obtains the number of lines per page from the envi-
ronment or from the –n option. If the standard output is not a terminal device, the number of
lines per page is infinite.
more displays the files specified by file ... (that is, a list of file names) one at a time. When
more finishes displaying one file, it begins displaying the next one in the list. If you give as
one of the file names, more reads the standard input at that point in the sequence.
more allows paging forwards and backwards (if possible) and searching for strings.
Options
more accepts the following options:
–A causes the display of all characters, including unprintable ones. Normally unprint-
able characters are displayed in a printable format. Further,
ANSI escape sequences
for display modes are processed. This option cannot be used with –u.
–c clears the screen before displaying a new file. If at any time, the new screen to be
displayed does not have any lines in common with the current screen, more does not
scroll, but instead, redraws the screen one line at a time, starting from the top. more
may ignore this option if the terminal doesn’t support such operations.
–e exits immediately after displaying the last line of the last file. Normally, if standard
output is a terminal device, more stops after displaying the last line of the last file
and prompts for a new command. If the command that displays text causes more to
reach the end of the file again, more exits.
–i ignores case during searches.
–n number
specifies the number of lines per page. This overrides any values obtained from the
environment.
–P string
sets the prompt that appears at end of each page of text to string. The default prompt
is [filename]. more normally displays the prompt in
STANDOUT mode.
1-378 Commands and Utilities