xref: /titanic_51/usr/src/cmd/more/more.help (revision 6bbe05905a1c10a2703f95fb4912eb14b87f6670)
1 #ident	"%Z%%M%	%I%	%E% SMI"
2 Most commands optionally preceded by integer argument k.  Defaults in brackets.
3 Star (*) indicates argument becomes new default.
4 -------------------------------------------------------------------------------
5 <space>			Display next k lines of text [current screen size]
6 z			Display next k lines of text [current screen size]*
7 <return>		Display next k lines of text [1]*
8 d or ctrl-D		Scroll k lines [current scroll size, initially 11]*
9 q or Q or <interrupt>	Exit from more
10 s			Skip forward k lines of text [1]
11 f			Skip forward k screenfuls of text [1]
12 b or ctrl-B		Skip backwards k screenfuls of text [1]
13 '			Go to place where previous search started
14 =			Display current line number
15 /<regular expression>	Search for kth occurrence of regular expression [1]
16 n			Search for kth occurrence of last r.e [1]
17 !<cmd> or :!<cmd>	Execute <cmd> in a subshell
18 v			Start up vi at current line
19 h			Display this message
20 ctrl-L			Redraw screen
21 :n			Go to kth next file [1]
22 :p			Go to kth previous file [1]
23 :f			Display current file name and line number
24 .			Repeat previous command
25 -------------------------------------------------------------------------------
26