NAME
more - browse or page through a text file
SYNOPSIS
/usr/bin/more [ -cdflrsuw ] [ -lines ] [ +linenumber ]
[ +/pattern ] [ filename ... ]
DESCRIPTION
more is a filter that displays the contents of a text file
on the terminal, one screenful at a time. It normally
pauses after each screenful. If more is reading from a file
rather than a pipe, the percentage of characters displayed
so far is also shown.
more scrolls up to display one more line in response to a
RETURN character; it displays another screenful in response
to a SPACE character. Other commands are listed below.
more sets the terminal to NOECHO mode, so that the output
can be continuous. Commands that you type do not normally
show up on your terminal, except for the / and ! commands.
If the standard output is not a terminal, more acts just
like cat(1), except that a header is printed before each
file in a series.
OPTIONS
-c Clear before displaying. Redraws the screen
instead of scrolling for faster displays.
This option is ignored if the terminal does
not have the ability to clear to the end of a
line.
-d Display error messages rather than ringing
the terminal bell if an unrecognized command
is used. This is helpful for inexperienced
users.
-s Squeeze. Replace multiple blank lines with
a single blank line. This is helpful when
viewing nroff(1) output on the screen.
-f Do not fold long lines. This is useful when
lines contain nonprinting characters or
escape sequences, such as those generated
when nroff(1) output is piped through ul(1).
-l Do not treat FORMFEED characters (CTRL-L) as
page breaks. If -l is not used, more pauses
to accept commands after any line containing
a ^L character (CTRL-L). Also, if a file
begins with a FORMFEED, the screen is cleared
before the file is printed.
-r Normally, more ignores control characters
that it does not interpret in some way. The
-r option causes these to be displayed as ^C
where C stands for any such control charac-
ter.
-u Suppress generation of underlining escape
sequences. Normally, more handles underlin-
ing, such as that produced by nroff(1), in a
manner appropriate to the terminal. If the
terminal can perform underlining or has a
stand-out mode, more supplies appropriate
escape sequences as called for in the text
file.
-w Normally, more exits when it comes to the
end of its input. With -w, however, more
prompts and waits for any key to be struck
-lines Display the indicated number of lines in
each screenful, rather than the default (the
number of lines in the terminal screen less
two).
+linenumber Start up at linenumber.
+/pattern Start up two lines above the line containing
the regular expression pattern. Note:
Unlike editors, this construct should not end
with a `/.' If it does, then the trailing
slash is taken as a character in the search
pattern.
SEE ALSO
cat(1), csh(1), ctags(1), man(1), nroff(1), script(1),
sh(1), ul(1), environ(4), terminfo(4), environ(5)
for more information, use the 'man more' command.