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

m
more(1) more(1)
-v Do not display nonprinting characters graphically; by default, all non-ASCII and
control characters (except Tab, Backspace, and Return) are displayed visibly in
the form
ˆx for Ctrl-x,or
M-x for non-ASCII character x.
-z Same as not specifying -v
, with the exception of displaying Backspace as ˆH,
Return as
ˆM, and Tab as
ˆI.
-p command Execute the more command initially in the command argument for each file exam-
ined. If the command is a positioning command, such as a line number or a regular
expression search, sets the current position to represent the final results of the com-
mand, without writing any intermediate lines of the file. If the positioning com-
mand is unsuccessful, the first line in the file is the current position.
-t tagstring Write the screenful of the file containing the tag named by the tagstring argument.
The specified tag appears in the current position. If both
-p and -t options are
specified,
more processes -t
first; that is, the file containing the tagstring is
selected by
-t and then the command is executed.
-x tabs Set the tabstops every tabs position. The default value for the tabs argument is 8.
-W option Provides optional extensions to the
more command. Currently, the following two
options are supported:
notite Prevents more from sending the terminal initialization string
before displaying the file. This argument also prevents more from
sending the terminal deinitialization string before exiting.
tite Causes more to send the initialization and deinitialization strings.
This is the default.
+linenumber Start listing such that the current position is set to linenumber.
+/pattern Start listing such that the current position is set to two lines above the line match-
ing the regular expression pattern .
Note: Unlike editors, this construct should NOT end with a
/. If it does, the trail-
ing slash is taken as character in the search pattern.
The number of lines available per screen is determined by the
-n option, if present or by examining
values in the environment. The actual number of lines written is one less than this number, as the last
line of the screen is used to write a user prompt and user input.
The number of columns available per line is determined by examining values in the environment.
more
writes lines containing more characters than would fit into this number of columns by breaking the line
into one more logical lines where each of these lines but the last contains the number of characters
needed to fill the columns. The logical lines are written independently of each other; that is, commands
affecting a single line affect them separately.
While determining the number of lines and the number of columns, if the methods described above do not
yield any number then
more uses terminfo descriptor files (see term(4)). If this also fails then the
number of lines is set to 24 and the number of columns to 80.
When standard output is a terminal and
-u is not specified, more treats backspace characters and car-
riage return characters specially.
• A character, followed first by a backspace character, then by an underscore (_), causes that char-
acter to be written as underlined text, if the terminal supports that. An underscore, followed
first by a backspace character, then any character, also causes that character to be written as
underlined text, if the terminal supports that.
• A backspace character that appears between two identical printable characters causes the first of
those two characters to be written as emboldened text, if the terminal type supports that, and the
second to be discarded. Immediately subsequent occurrences of backspaces/character pairs for
that same character is also discarded.
• Other backspace character sequences is written directly to the terminal, which generally causes
the character preceding the backspace character to be suppressed in the display.
• A carriage return character at the end of a line is ignored, rather than being written as a control
character.
HP-UX 11i Version 2: September 2004 − 2 − Hewlett-Packard Company Section 1−−599