version 1.2, 2014/04/07 21:57:12 |
version 1.3, 2014/04/08 22:39:02 |
|
|
.Os |
.Os |
.Sh NAME |
.Sh NAME |
.Nm more |
.Nm more |
.Nd file perusal filter for crt viewing |
.Nd view files |
.Sh SYNOPSIS |
.Sh SYNOPSIS |
.Nm more |
.Nm more |
.Op Fl ceisu |
.Op Fl ceisu |
|
|
The options are as follows: |
The options are as follows: |
.Bl -tag -width Ds |
.Bl -tag -width Ds |
.It Fl c |
.It Fl c |
Normally, |
When changing the display, paint from the top line down. |
.Nm |
The default is to scroll from the bottom of the screen. |
will repaint the screen by scrolling from the bottom of the screen. |
|
If the |
|
.Fl c |
|
option is set, when |
|
.Nm |
|
needs to change the entire display, it will paint from the top line down. |
|
.It Fl e |
.It Fl e |
Normally, if displaying a single file, |
Exit on reaching end-of-file twice |
.Nm |
without an intervening operation. |
exits as soon as it reaches end-of-file. |
The default is to exit as soon as end-of-file is reached. |
The |
|
.Fl e |
|
option tells more to |
|
exit if it reaches end-of-file twice without an intervening operation. |
|
If the file is shorter than a single screen |
If the file is shorter than a single screen |
.Nm |
.Nm |
will exit at end-of-file regardless. |
exits at end-of-file regardless. |
.It Fl i |
.It Fl i |
The |
Ignore case. |
.Fl i |
Upper case and lower case are considered identical. |
option causes searches to ignore case; that is, |
|
uppercase and lowercase are considered identical. |
|
.It Fl n Ar number |
.It Fl n Ar number |
The |
Page |
.Fl n |
|
option causes |
|
.Nm |
|
to page |
|
.Ar number |
.Ar number |
of lines per screenful. |
of lines per screenful. |
By default, |
By default, |
.Nm |
.Nm |
will use the terminal window size. |
uses the terminal window size. |
.It Fl p Ar command |
.It Fl p Ar command |
Execute the specified |
Execute the specified |
.Nm |
.Nm |
.Ar command |
.Ar command |
when the file is first opened. |
when the file is first opened. |
.It Fl s |
.It Fl s |
The |
Squeeze consecutive blank lines into a single blank line. |
.Fl s |
|
option causes |
|
consecutive blank lines to be squeezed into a single blank line. |
|
.It Fl t Ar tag |
.It Fl t Ar tag |
The |
Edit the file containing |
.Fl t |
.Ar tag . |
option, followed immediately by a tag, will edit the file |
For more information, see |
containing that tag. |
.Xr ctags 1 . |
For more information, see the |
|
.Xr ctags 1 |
|
command. |
|
.It Fl u |
.It Fl u |
|
Display backspaces as control characters |
|
.Pq Sq ^H |
|
and leave CR-LF sequences alone. |
By default, |
By default, |
.Nm |
.Nm |
treats backspaces and CR-LF sequences specially. |
treats backspaces and CR-LF sequences specially: |
Backspaces which appear adjacent to an underscore character are |
backspaces which appear adjacent to an underscore character are |
displayed as underlined text. |
displayed as underlined text; |
Backspaces which appear between two identical characters are displayed |
backspaces which appear between two identical characters are displayed |
as emboldened text. |
as emboldened text; |
CR-LF sequences are compressed to a single linefeed character. |
and CR-LF sequences are compressed to a single linefeed character. |
The |
|
.Fl u |
|
option causes backspaces to always be displayed as |
|
control characters, i.e. as the two character sequence |
|
.Sq ^H , |
|
and CR-LF to be left alone. |
|
.El |
.El |
.Sh COMMANDS |
.Sh COMMANDS |
Interactive commands for |
Interactive commands for |