m

more(1)

more(1)

TERM

Determines the name of the terminal type.

International Code Set Support

Single- and multi-byte character code sets are supported.

APPLICATION USAGE

When the standard output is not a terminal, none of the ®lter-modi®cation options is effective. This is based on historical practice. For example, a typical implementation of man pipes its output through more -sto squeeze excess white space for terminal users. When man is piped to lp, however, it is undesirable for this squeezing to happen.

EXAMPLES

To view a simple ®le, use:

more ®lename

To preview nroff output, use a command resembling:

nroff -mm +2 doc.n more -s

If the ®le contains tables, use:

tbl ®le nroff -mm col more -s

To display ®le stuff in a ®fteen line-window and convert multiple adjacent blank lines into a single blank line:

more -s -n 15 stuff

To examine each ®le with its last screenful:

more -p G ®le1 ®le2

To examine each ®le starting with line 100 in the current position (third line, so line 98 is the ®rst line writ- ten):

more -p 100g ®le1 ®le2

To examine the ®le that contains the tagstring tag with line 30 in the current position:

more -t tag -p 30g

WARNINGS

Standard error, ®le descriptor 2, is normally used for input during interactive use and should not be redirected (see Input/Output section in the manpage of the shell in use).

FILES

/usr/share/lib/terminfo/?/* compiled terminal capability data base

AUTHOR

more was developed by Mark Nudleman, University of California, Berkeley, OSF, and HP.

SEE ALSO

csh(1), man(1), pg(1), sh(1), term(4), terminfo(4), environ(5), lang(5), regexp(5).

STANDARDS CONFORMANCE

more: XPG4

Section 1548

− 6 −

HP-UX Release 11i: December 2000