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 ®le. If the terminal supports highlighting, more uses that mode informa- tion that should be printed in boldface type. The -uoption suppresses this process- ing, as do the "ul" and "os" terminfo ¯ags.
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¯ag overrides any values obtained from the environment.

more(1)

 

 

 

 

 

 

 

 

more(1)

NAME

 

 

 

 

 

 

 

 

 

 

more, page - ®le perusal ®lter 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 ®lter 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 ®lename 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 ®lename or -, specifying standard input. more processes ®le arguments in the order given.

more supports the Basic Regular Expression syntax (see regexp(5)). more recognizes the following command line options:

-nnumber

m

-n

Same as -nnumber 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

 

®lter 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 ®le 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

 

HP-UX Release 11i: December 2000

− 1 −

Section 1543