summaryrefslogtreecommitdiff
path: root/static/v10/man1/p.1
blob: 7ba07596d27ae5ed565d2280e404a895c562d40a (plain)
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
.TH P 1
.CT 1 comm_term
.SH NAME
p, pg, more \(mi paginate
.SH SYNOPSIS
.B p
[
.BI - number
]
[
.I file ...
]
.SH DESCRIPTION
.I P
copies its standard input, or the named files if given,
to its standard output,
stopping at the end of every 22nd line, and between files,
to wait for a newline from the user.
The page size may be set by
saying (for example)
.IP
.L p -60
.PP
While waiting for a newline,
.I p
interprets some commands:
.TP
.B -
Reprint last page. 
.L --
reprints the second last page, etc.
.TP
.B !
Pass the rest of the line to the shell as a command.
.TP
.B q
Quit.
.PP
.I Pg
and
.I more
are synonyms for
.I p.
.SH BUGS
Because of limited storage,
.I p
can't back up too far.
.br
.I Pg
and 
.I more
exist only to placate old programs that call paginators.