1MORE(1) BSD General Commands Manual MORE(1)
2
4 more — file perusal filter for crt viewing
5
7 more [-dlfpcsu] [-num] [+/pattern] [+linenum] [file ...]
8
10 More is a filter for paging through text one screenful at a time. This
11 version is especially primitive. Users should realize that less(1) pro‐
12 vides more(1) emulation and extensive enhancements.
13
15 Command line options are described below. Options are also taken from
16 the environment variable MORE (make sure to precede them with a dash
17 (``-'')) but command line options will override them.
18
19 -num This option specifies an integer which is the screen size (in
20 lines).
21
22 -d more will prompt the user with the message "[Press space to con‐
23 tinue, 'q' to quit.]" and will display "[Press 'h' for instruc‐
24 tions.]" instead of ringing the bell when an illegal key is
25 pressed.
26
27 -l more usually treats ^L (form feed) as a special character, and will
28 pause after any line that contains a form feed. The -l option will
29 prevent this behavior.
30
31 -f Causes more to count logical, rather than screen lines (i.e., long
32 lines are not folded).
33
34 -p Do not scroll. Instead, clear the whole screen and then display
35 the text.
36
37 -c Do not scroll. Instead, paint each screen from the top, clearing
38 the remainder of each line as it is displayed.
39
40 -s Squeeze multiple blank lines into one.
41
42 -u Suppress underlining.
43
44 +/ The +/ option specifies a string that will be searched for before
45 each file is displayed.
46
47 +num Start at line number num.
48
50 Interactive commands for more are based on vi(1). Some commands may be
51 preceded by a decimal number, called k in the descriptions below. In the
52 following descriptions, ^X means control-X.
53
54 h or ? Help: display a summary of these commands. If you forget all
55 the other commands, remember this one.
56
57 SPACE Display next k lines of text. Defaults to current screen
58 size.
59
60 z Display next k lines of text. Defaults to current screen
61 size. Argument becomes new default.
62
63 RETURN Display next k lines of text. Defaults to 1. Argument
64 becomes new default.
65
66 d or ^D Scroll k lines. Default is current scroll size, initially
67 11. Argument becomes new default.
68
69 q or Q or INTERRUPT
70 Exit.
71
72 s Skip forward k lines of text. Defaults to 1.
73
74 f Skip forward k screenfuls of text. Defaults to 1.
75
76 b or ^B Skip backwards k screenfuls of text. Defaults to 1. Only
77 works with files, not pipes.
78
79 ' Go to place where previous search started.
80
81 = Display current line number.
82
83 /pattern Search for kth occurrence of regular expression. Defaults to
84 1.
85
86 n Search for kth occurrence of last r.e. Defaults to 1.
87
88 !<cmd> or :!<cmd>
89 Execute <cmd> in a subshell
90
91 v Start up an editor at current line. The editor is taken from
92 the environment variable VISUAL if defined, or EDITOR if VIS‐
93 UAL is not defined, or defaults to "vi" if neither VISUAL nor
94 EDITOR is defined.
95
96 ^L Redraw screen
97
98 :n Go to kth next file. Defaults to 1.
99
100 :p Go to kth previous file. Defaults to 1.
101
102 :f Display current file name and line number
103
104 . Repeat previous command
105
107 More utilizes the following environment variables, if they exist:
108
109 MORE This variable may be set with favored options to more.
110
111 SHELL Current shell in use (normally set by the shell at login
112 time).
113
114 TERM Specifies terminal type, used by more to get the terminal
115 characteristics necessary to manipulate the screen.
116
118 vi(1), less(1)
119
121 Eric Shienbrood, UC Berkeley
122 Modified by Geoff Peck, UCB to add underlining, single spacing
123 Modified by John Foderaro, UCB to add -c and MORE environment variable
124
126 The more command appeared in 3.0BSD. This man page documents more ver‐
127 sion 5.19 (Berkeley 6/29/88), which is currently in use in the Linux com‐
128 munity. Documentation was produced using several other versions of the
129 man page, and extensive inspection of the source code.
130
132 The more command is part of the util-linux-ng package and is available
133 from ftp://ftp.kernel.org/pub/linux/utils/util-linux-ng/.
134
135Linux 0.98 December 25, 1992 Linux 0.98