File: c_pager.so

package info (click to toggle)
lookup 1.08b-10
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, lenny
  • size: 1,112 kB
  • ctags: 1,306
  • sloc: ansic: 12,638; makefile: 245; perl: 174; sh: 53
file content (33 lines) | stat: -rw-r--r-- 1,084 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
.TP
pager [ \fIboolean\fP | \fIsize\fP ]
Turns on or off an output pager, sets it's idea of the screen size, or
reports the current status.

.I Size
can be a single number indicating the number of lines to be printed
between\c
.Q MORE?
prompts (usually a few lines less than the total screen
height, the default being 20 lines). It can also be two numbers in the
form\c
.Q #x#
where the first number is the width (in half-width characters; default 80)
and the second is the lines-per-page as above.

If the pager is on, every page of output will result in a\c
.Q MORE?
prompt,
at which there are four possible responses. A space will allow one more
full page to print. A return will allow one more line.
A\&\&c\&\&(for\c
.Q continue ") "
will all the rest of the output (for the current command)
to proceed without pause, while a\&\&q\&\&(for\c
.Q quit ") "
will flush the output for the current command.

If supported by the OS, the pager size parameters are set appropriately
from the window size upon startup or window resize.

The default pager status is\c
.Q "off" ".  "