version 1.23, 2011/09/16 18:12:09 |
version 1.24, 2011/09/16 19:57:30 |
|
|
.Fl -version |
.Fl -version |
.Nm less \*(Ba more |
.Nm less \*(Ba more |
.Bk -words |
.Bk -words |
.Op Fl Oo Cm + Oc Ns Cm aABCcdEeFfGgIiJKLMmNnQqRrSsUuVWwX~ |
.Op Fl Oo Cm + Oc Ns Cm AaBCcdEeFfGgIiJKLMmNnQqRrSsUuVWwX~ |
.Op Fl b Ar space |
.Op Fl b Ar space |
.Op Fl h Ar lines |
.Op Fl h Ar lines |
.Op Fl j Ar line |
.Op Fl j Ar line |
|
|
If the line is specified as a fraction, the actual line number |
If the line is specified as a fraction, the actual line number |
is recalculated if the terminal window is resized, so that the |
is recalculated if the terminal window is resized, so that the |
target line remains at the specified fraction of the screen height. |
target line remains at the specified fraction of the screen height. |
If any form of the -j option is used, |
If any form of the -j option is used, |
forward searches begin at the line immediately after the target line, |
forward searches begin at the line immediately after the target line, |
and backward searches begin at the target line, |
and backward searches begin at the target line, |
unless changed by -a or -A. |
unless changed by -a or -A. |
|
|
Normally, an interrupt character causes |
Normally, an interrupt character causes |
.Nm |
.Nm |
to stop whatever it is doing and return to its command prompt. |
to stop whatever it is doing and return to its command prompt. |
Note that use of this option makes it impossible to return to the |
Note that use of this option makes it impossible to return to the |
command prompt from the "F" command. |
command prompt from the "F" command. |
.It Xo |
.It Xo |
.Fl k Ns Ar filename | |
.Fl k Ns Ar filename | |
|
|
If set to "-" or "/dev/null", a history file is not used. |
If set to "-" or "/dev/null", a history file is not used. |
The default is "$HOME/.lesshst". |
The default is "$HOME/.lesshst". |
.\" The default is "$HOME/.lesshst" on Unix systems, "$HOME/_lesshst" on |
.\" The default is "$HOME/.lesshst" on Unix systems, "$HOME/_lesshst" on |
.\" DOS and Windows systems, or "$HOME/lesshst.ini" or "$INIT/lesshst.ini" |
.\" DOS and Windows systems, or "$HOME/lesshst.ini" or "$INIT/lesshst.ini" |
.\" on OS/2 systems. |
.\" on OS/2 systems. |
.It Ev LESSHISTSIZE |
.It Ev LESSHISTSIZE |
The maximum number of commands to save in the history file. |
The maximum number of commands to save in the history file. |