xref: /original-bsd/usr.bin/more/more.help (revision 823023b8)
1      Commands marked with * may be preceeded by a number, N.
2
3  H              Display this help.
4  q              Exit.
5
6  f, SPACE    *  Forward  N lines, default one screen.
7  b           *  Backward N lines, default one screen.
8  e, j, CR    *  Forward  N lines, default 1 line.
9  y, k        *  Backward N lines, default 1 line.
10  d           *  Forward  N lines, default half screen or last N to d/u.
11  u           *  Backward N lines, default half screen or last N to d/u.
12  r              Repaint screen.
13  R              Repaint screen, discarding buffered input.
14
15  /pattern    *  Search forward for N-th line containing the pattern.
16  ?pattern    *  Search backward for N-th line containing the pattern.
17  n           *  Repeat previous search (for N-th occurence).
18
19  g           *  Go to line N, default 1.
20  G           *  Like g, but default is last line in file.
21  p, %        *  Position to N percent into the file.
22  m<letter>      Mark the current position with <letter>.
23  '<letter>      Return to a previously marked position.
24  ''             Return to previous position.
25
26  E [file]       Examine a new file.
27  N           *  Examine the next file (from the command line).
28  P           *  Examine the previous file (from the command line).
29  =              Print current file name.
30  V              Print version number of "less".
31
32  -<flag>        Toggle a command line flag.
33  _<flag>        Display the setting of a command line flag.
34  +cmd           Execute the less cmd each time a new file is examined.
35
36  !command       Passes the command to the system to be executed (by $SHELL).
37  v              Edit the current file (with $EDITOR).
38