version 1.3, 2003/06/10 09:12:10 |
version 1.4, 2003/07/14 09:11:26 |
|
|
with dollar sign between them: |
with dollar sign between them: |
.Pp |
.Pp |
.Dl LESS="-Ps--More--$-C -e" |
.Dl LESS="-Ps--More--$-C -e" |
.Pp |
|
.Bl -tag -width XXXX |
.Bl -tag -width XXXX |
.It Fl ? | -help |
.It Fl ? | -help |
This option displays a summary of the commands accepted by |
This option displays a summary of the commands accepted by |
|
|
Any of these special keys may be entered literally by preceding |
Any of these special keys may be entered literally by preceding |
it with the "literal" character, either ^V or ^A. |
it with the "literal" character, either ^V or ^A. |
A backslash itself may also be entered literally by entering two backslashes. |
A backslash itself may also be entered literally by entering two backslashes. |
.Pp |
|
.Bl -tag -width Ds |
.Bl -tag -width Ds |
.It LEFTARROW [ ESC-h ] |
.It LEFTARROW [ ESC-h ] |
Move the cursor one space to the left. |
Move the cursor one space to the left. |
|
|
.Pp |
.Pp |
This table shows the value of LESSCHARDEF which is equivalent |
This table shows the value of LESSCHARDEF which is equivalent |
to each of the possible values for LESSCHARSET: |
to each of the possible values for LESSCHARSET: |
.Pp |
|
.Bd -literal -offset indent |
.Bd -literal -offset indent |
ascii 8bcccbcc18b95.b |
ascii 8bcccbcc18b95.b |
dos 8bcccbcc12bc5b95.b. |
dos 8bcccbcc12bc5b95.b. |
|
|
a "b" means use the bottom line, |
a "b" means use the bottom line, |
a "B" means use the line just after the bottom line, |
a "B" means use the line just after the bottom line, |
and a "j" means use the "target" line, as specified by the -j option. |
and a "j" means use the "target" line, as specified by the -j option. |
.It %B |
.It \&%B |
Replaced by the size of the current input file. |
Replaced by the size of the current input file. |
.It %c |
.It %c |
Replaced by the column number of the text appearing in the first |
Replaced by the column number of the text appearing in the first |
|
|
The line to be used is determined by the |
The line to be used is determined by the |
.Ar X , |
.Ar X , |
as with the %b option. |
as with the %b option. |
.It %D |
.It \&%D |
Replaced by the number of pages in the input file, |
Replaced by the number of pages in the input file, |
or equivalently, the page number of the last line in the input file. |
or equivalently, the page number of the last line in the input file. |
.It %E |
.It %E |
|
|
The line used is determined by the |
The line used is determined by the |
.Ar X , |
.Ar X , |
as with the %b option. |
as with the %b option. |
.It %P Ns Ar X |
.It \&%P Ns Ar X |
Replaced by the percent into the current input file, based on line numbers. |
Replaced by the percent into the current input file, based on line numbers. |
The line used is determined by the |
The line used is determined by the |
.Ar X , |
.Ar X , |
|
|
For reference, here are the defaults for |
For reference, here are the defaults for |
the other two prompts (-m and -M respectively). |
the other two prompts (-m and -M respectively). |
Each is broken into two lines here for readability only. |
Each is broken into two lines here for readability only. |
.Pp |
|
.Bd -literal -offset indent |
.Bd -literal -offset indent |
?n?f%f\ .?m(file\ %i\ of\ %m)\ ..?e(END)\ ?x-\ Next\e:\ %x.: |
?n?f%f\ .?m(file\ %i\ of\ %m)\ ..?e(END)\ ?x-\ Next\e:\ %x.: |
?pB%pB\e%:byte\ %bB?s/%s...%t |
?pB%pB\e%:byte\ %bB?s/%s...%t |
|
|
.Ed |
.Ed |
.Pp |
.Pp |
And here is the default message produced by the = command: |
And here is the default message produced by the = command: |
.Pp |
|
.Bd -literal -offset indent |
.Bd -literal -offset indent |
?f%f\ .?m(file\ %i\ of\ %m)\ .?ltlines\ %lt-%lb?L/%L.\ . |
?f%f\ .?m(file\ %i\ of\ %m)\ .?ltlines\ %lt-%lb?L/%L.\ . |
byte\ %bB?s/%s.\ ?e(END)\ :?pB%pB\e%..%t |
byte\ %bB?s/%s.\ ?e(END)\ :?pB%pB\e%..%t |