diff options
| author | alm <alm@NetBSD.org> | 1993-11-09 02:59:05 +0000 |
|---|---|---|
| committer | alm <alm@NetBSD.org> | 1993-11-09 02:59:05 +0000 |
| commit | bc24dd374ef57efe376c69964cfa33b01acba79c (patch) | |
| tree | 599289cc4705d9662a43ef5100f2894a657a87b0 /usr.bin/more/more.help | |
| parent | 0605e44a71c12601b7030696342827a4c71a904a (diff) | |
Add 4.4BSD more(1) from UUNET. Patched to support regex(3)
and implement historical more commands.
Diffstat (limited to 'usr.bin/more/more.help')
| -rw-r--r-- | usr.bin/more/more.help | 63 |
1 files changed, 40 insertions, 23 deletions
diff --git a/usr.bin/more/more.help b/usr.bin/more/more.help index 1ced5c9d688..2c0f54c4bb5 100644 --- a/usr.bin/more/more.help +++ b/usr.bin/more/more.help @@ -1,24 +1,41 @@ + Commands flagged with an asterisk (``*'') may be preceeded by a number. + Commands of the form ``^X'' are control characters, i.e. control-X. + + h Display this help. + + f, ^F, SPACE * Forward N lines, default one screen. + b, ^B * Backward N lines, default one screen. + j, CR * Forward N lines, default 1 line. + k * Backward N lines, default 1 line. + d, ^D * Forward N lines, default half screen or last N to d/u. + u, ^U * Backward N lines, default half screen or last N to d/u. + g * Go to line N, default 1. + G * Go to line N, default the end of the file. + p, % * Position to N percent into the file. + + r, ^L Repaint screen. + R Repaint screen, discarding buffered input. + + m[a-z] Mark the current position with the supplied letter. + '[a-z] Return to the position previously marked by this letter. + '' Return to previous position. + + /pattern * Search forward for N-th line containing the pattern. + /!pattern * Search forward for N-th line NOT containing the pattern. + ?pattern * Search backward for N-th line containing the pattern. + ?!pattern * Search backward for N-th line NOT containing the pattern. + n * Repeat previous search (for N-th occurence). + + !command Execute command in a subshell. + :!command Execute command in a subshell. + :a Display the list of files. + E [file] Examine a new file. + :n, N * Examine the next file. + :p, P * Examine the previous file. + :t [tag] Examine the tag. + v Run an editor on the current file. + + =, ^G Print current file name and stats. + + q, :q, or ZZ Exit. -Most commands optionally preceded by integer argument k. Defaults in brackets. -Star (*) indicates argument becomes new default. -------------------------------------------------------------------------------- -<space> Display next k lines of text [current screen size] -z Display next k lines of text [current screen size]* -<return> Display next k lines of text [1]* -d or ctrl-D Scroll k lines [current scroll size, initially 11]* -q or Q or <interrupt> Exit from more -s Skip forward k lines of text [1] -f Skip forward k screenfuls of text [1] -b or ctrl-B Skip backwards k screenfuls of text [1] -' Go to place where previous search started -= Display current line number -/<regular expression> Search for kth occurrence of regular expression [1] -n Search for kth occurrence of last r.e [1] -!<cmd> or :!<cmd> Execute <cmd> in a subshell -v Start up /usr/ucb/vi at current line -ctrl-L Redraw screen -:n Go to kth next file [1] -:p Go to kth previous file [1] -:f Display current file name and line number -. Repeat previous command -------------------------------------------------------------------------------- |
