This commit was manufactured by cvs2svn to create tag 'FreeBSD-release/1.0'.
[unix-history] / usr.bin / more / more.help
CommitLineData
78ed81a3 1 Commands flagged with an asterisk (``*'') may be preceeded by a number.
2 Commands of the form ``^X'' are control characters, i.e. control-X.
3
4 h Display this help.
5
6 f, ^F, SPACE * Forward N lines, default one screen.
7 b, ^B * Backward N lines, default one screen.
8 j, CR * Forward N lines, default 1 line.
9 k * Backward N lines, default 1 line.
10 d, ^D * Forward N lines, default half screen or last N to d/u.
11 u, ^U * Backward N lines, default half screen or last N to d/u.
12 g * Go to line N, default 1.
13 G * Go to line N, default the end of the file.
14 p, % * Position to N percent into the file.
15
16 r, ^L Repaint screen.
17 R Repaint screen, discarding buffered input.
18
19 m[a-z] Mark the current position with the supplied letter.
20 '[a-z] Return to the position previously marked by this letter.
21 '' Return to previous position.
22
23 /pattern * Search forward for N-th line containing the pattern.
24 /!pattern * Search forward for N-th line NOT containing the pattern.
25 ?pattern * Search backward for N-th line containing the pattern.
26 ?!pattern * Search backward for N-th line NOT containing the pattern.
27 n * Repeat previous search (for N-th occurence).
28
29 !command Execute command in a subshell.
30 :!command Execute command in a subshell.
31 :a Display the list of files.
32 E [file] Examine a new file.
33 :n, N * Examine the next file.
34 :p, P * Examine the previous file.
35 :t [tag] Examine the tag.
36 v Run an editor on the current file.
37
38 =, ^G Print current file name and stats.
39
40 q, :q, or ZZ Exit.
15637ed4 41