HP-UX Reference (11i v1 05/09) - 1 User Commands A-M (vol 1)

m
more(1) more(1)
NAME
more, page - file perusal filter for crt viewing
SYNOPSIS
more [-n][-cdefisuvz][
-n number ][-p command ][-t tagstring ][-x tabs ][-W
option ]
[
+linenumber ][+/pattern ][name ...]
page [-n][-cdefisuvz][
-n number ][-p command ][-t tagstring ][-x tabs ][-W
option ]
[
+linenumber ][+/pattern ][name ...]
REMARKS:
pg is preferred in some standards and has some added functionality, but does not support character
highlighting (see pg(1)).
DESCRIPTION
more is a filter for examining continuous text, one screenful at a time, on a soft-copy terminal. It is quite
similar to pg, and is retained primarily for backward compatibility.
more
normally pauses after each
screenful, printing the filename at the bottom of the screen. To display one more line, press
<Return>.
To display another screenful press
<Space>. Other possibilities are described later.
more and page differ only slightly. more scrolls the screen upward as it prints the next page.
page
clears the screen and prints a new screenful of text when it prints a new page. Both provide one line of
overlap between screenfuls.
name can be a filename or -, specifying standard input. more processes file arguments in the order
given.
more supports the Basic Regular Expression syntax (see regexp(5)).
more recognizes the following command line options:
-n number Set the number of lines in the display window to number, a positive decimal integer.
The default is one line less than the the number of lines displayed by the terminal; on
a screen that displays 24 lines, the default is 23. The -n flag overrides any values
obtained from the environment.
-n Same as -n number except that the number of lines is set to n.
-c Draw each page by beginning at the top of the screen, and erase each line just before
drawing on it. This avoids scrolling the screen, making it easier to read while more
is writing. This option is ignored if the terminal has no clear-to-end-of-line capability.
-d Prompt user with the message Press space to continue, q to quit,
h for help
at the end of each screenful. This is useful if more is being used as a
filter in some setting, such as a training class, where many users might be unsophisti-
cated.
-e Exit immediately after writing the last line of the last file in the argument list
-f Count logical lines, rather than screen lines. That is, long lines are not folded. This
option is recommended if nroff output is being piped through ul, since the latter can
generate escape sequences. These escape sequences contain characters that would
ordinarily occupy screen positions, but which do not print when sent to the terminal
as part of an escape sequence. Thus
more might assume lines are longer than they
really are, and fold lines erroneously.
-i Perform pattern matching in searches without regard to case.
-s Squeeze multiple blank lines from the output, producing only one blank line. Espe-
cially helpful when viewing nroff output, this option maximizes the useful information
present on the screen.
-u Normally, more handles underlining and bold such as produced by nroff in a manner
appropriate to the particular terminal: if the terminal supports underlining or has a
highlighting (usually inverse-video) mode, more outputs appropriate escape
sequences to enable underlining, else highlighting mode, for underlined information in
the source file. If the terminal supports highlighting, more uses that mode informa-
tion that should be printed in boldface type. The -u option suppresses this process-
ing, as do the "ul" and "os" terminfo flags.
HP-UX 11i Version 1: September 2005 1 Hewlett-Packard Company Section 1563