m

more(1)

 

 

 

 

more(1)

-v

Do not display nonprinting characters graphically; by default, all non-ASCII and con-

 

trol characters (except <Tab>, <Backspace> , and <Return>) are displayed visi-

 

bly in the form ÃX for <Ctrl-x>,or M-xfor 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.

 

 

-pcommand

Execute the

more command initially in the command argument for each ®le 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 ®nal results of the com-

 

mand, without writing any intermediate lines of the ®le. If the positioning command

 

is unsuccessful, the ®rst line in the ®le is the current position.

 

-ttagstring

Write the screenful of the ®le containing the tag named by the tagstring argument.

 

The speci®ed tag appears in the current position.

If both -pand

-toptions are

 

speci®ed, more processes -t®rst; that is, the

®le containing

the tagstring is

 

selected by

-tand then the command is executed.

 

 

-xtabs

Set the tabstops every tabs position. The default value for the tabs argument is 8.

-Woption

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 ®le. This argument also prevents more

 

 

 

from sending the terminal de-initialization string before exiting.

 

tite

 

Causes more to send the initialization and

de-initialization

 

 

 

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 matching

 

the regular expression pattern.

 

 

Note: Unlike editors, this construct should NOT end with a /. If it does, the trailing slash is taken as character in the search pattern.

The number of lines available per screen is determined by the -noption, 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 ®t 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 ®ll 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 ®les (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 -uis not speci®ed, more treats backspace characters and carriage-return characters specially.

A character, followed ®rst by a backspace character, then by an underscore (_), causes that charac- ter to be written as underlined text, if the terminal supports that. An underscore, followed ®rst 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 ®rst 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.

Section 1544

− 2 −

HP-UX Release 11i: December 2000