|
|
1.1 root 1:
2:
3: more Command more
4:
5:
6:
7:
8: Display text one page at a time
9:
10: mmoorree [ -ccddffllssuu ] [ -_w_i_n_d_o_w__s_i_z_e ] [ +_l_i_n_e__n_u_m_b_e_r ] [ +/_p_a_t_t_e_r_n ] [ _f_i_l_e ... ] [ - ]
11:
12: mmoorree is a filter for paging through text one screenful at a time.
13: _f_i_l_e is a text file; the operator - tells mmoorree to read and
14: display the standard input.
15:
16: ***** Options *****
17:
18: mmoorree reads options from the command line and from the
19: environmental variable MMOORREE. In case of a conflict, the options
20: given on the command line take precedence. Every cluster of
21: options must be preceded with a hyphen `-', even if passed via
22: the environmental variable MMOORREE.
23:
24: mmoorree recognizes the following options:
25:
26: -cc Paint the screen from the top line down. mmoorree normally
27: repaints the screen by scrolling from the bottom of the
28: screen.
29:
30: -dd Prompt the user at the end of each screen with the message:
31: [Press space to continue, 'q' to quit.]
32:
33: The default is to not issue a prompt.
34:
35: -ff Count actual lines from the input file rather than screen
36: lines. This option is useful when the input contains escape
37: sequences that mmoorree does not recognize.
38:
39: -ll Do not treat the formfeed character <ccttrrll-LL> as special. By
40: default, mmoorree pauses at each formfeed character, as if a full
41: screen had been displayed.
42:
43: -ss Squeeze consecutive blank lines into one blank line. This is
44: useful for looking at nnrrooffff output, such as manual pages.
45:
46: -uu Display backspaces as control characters and leave the
47: carriage return-linefeed (CR-LF) pair alone. By default, mmoorree
48: displays backspaces that appear adjacent to an underscore
49: character as underlined text; backspaces that appear between
50: two identical characters as emboldened text; and compresses
51: CR-LF sequences.
52:
53: +/_p_a_t_t_e_r_n
54: Search for _p_a_t_t_e_r_n before displaying a file. _p_a_t_t_e_r_n is a
55: regular expression, as recognized by commands eedd or eeggrreepp.
56: _p_a_t_t_e_r_n should be escaped to avoid being processed by the
57: shell.
58:
59: -_w_i_n_d_o_w__s_i_z_e
60: Set the size of the window that mmoorree displays to _w_i_n_d_o_w__s_i_z_e,
61: which is a decimal integer less than or equal to the number of
62:
63:
64: COHERENT Lexicon Page 1
65:
66:
67:
68:
69: more Command more
70:
71:
72:
73: lines on your terminal. The default window size is read from
74: the tteerrmmccaapp description for your terminal.
75:
76: +_l_i_n_e__n_u_m_b_e_r
77: Make _l_i_n_e__n_u_m_b_e_r the beginning line to display in _f_i_l_e.
78: _l_i_n_e__n_u_m_b_e_r is a decimal integer less than the number of lines
79: in _f_i_l_e.
80:
81: ***** Commands *****
82:
83: The following describes mmoorree's interactive commands. These
84: commands are based on those for the UNIX editor vvii. Some commands
85: may optionally be preceded by a decimal number. If you enter an
86: invalid command, mmoorree will beep at you.
87:
88: hh
89:
90: ? Help: display a summary of these commands.
91:
92: [_N]<ssppaaccee>
93: Display the next _N lines of text (default, one screenful).
94:
95: [_N]zz
96: If _N is not specified, display the next screenful. Otherwise,
97: display _N lines and set the default scrolling size to _N for
98: all subsequent <ssppaaccee> and zz commands.
99:
100: [_N]<ccttrrll-FF>
101: [_N]ff
102: Scroll forward _N screenfuls (default, one screenful). If _N is
103: more than the screen size, only the final screenful is
104: displayed.
105:
106: [_N]<ccttrrll-BB>
107: [_N]bb
108: Scroll backward _N screenfuls (default, one screenful). If _N
109: is more than the screen size, only the final screenful is
110: displayed.
111:
112: [_N]ss
113: Skip forward _N lines (default, one line) and display one
114: screenful.
115:
116: [_N]<rreettuurrnn>
117: [_N]<eenntteerr>
118: Scroll forward _N lines (default, one). Display all _N lines,
119: even if _N is more than the screen size.
120:
121: [_N]<ccttrrll-DD>
122: [_N]dd
123: Scroll forward _N lines (default, one half of the screen size).
124: If _N is specified, it becomes the new default for subsequent dd
125: and <ccttrrll-DD> commands.
126:
127:
128:
129:
130: COHERENT Lexicon Page 2
131:
132:
133:
134:
135: more Command more
136:
137:
138:
139: <ccttrrll-LL>
140: Redraw the screen.
141:
142: ' (Apostrophe) Return to the position in the current file where
143: the previous search command started, or to the beginning of
144: the file if no search commands have occurred. This
145: information is lost when a new file is examined.
146:
147: [_N]/_p_a_t_t_e_r_n
148: Search forward for the _N-th line that contains _p_a_t_t_e_r_n
149: (default, one). _p_a_t_t_e_r_n is a regular expression, as
150: recognized by eedd or eeggrreepp. The search starts at the second
151: line displayed.
152:
153: nn Repeat previous search.
154:
155: :ff Display the name of the current file with the current line
156: number.
157:
158: [_N]:nn
159: Examine the _N-th file after the current file, as given in the
160: command line (default, the next file).
161:
162: [_N]:pp
163: Examine the _N-th file previous to the current file, as given
164: in the command line (default, the previous file).
165:
166: ! _c_o_m_m_a_n_d
167: :! _c_o_m_m_a_n_d
168: Pass _c_o_m_m_a_n_d to the shell specified by environment variable
169: SSHHEELLLL for execution. The default shell is /bbiinn/sshh.
170:
171: vv Invoke an editor to edit the current file. The editor is set
172: by the environment variables VVIISSUUAALL and EEDDIITTOORR, in that order.
173: If these variables are not set, use vvii.
174:
175: = Display the current line number.
176:
177: qq
178:
179: :qq
180:
181: QQ
182:
183: :QQ Quit.
184:
185: ***** Environment *****
186:
187: mmoorree uses the following environment variables:
188:
189: EEDDIITTOORR Specify default editor.
190:
191: MMOORREE Set default options for mmoorree
192:
193:
194:
195:
196: COHERENT Lexicon Page 3
197:
198:
199:
200:
201: more Command more
202:
203:
204:
205: SSHHEELLLL Specify the shell being used (normally set at login
206: time).
207:
208: TTEERRMM Specify the type of terminal you are using. mmoorree uses
209: this variable to read from /eettcc/tteerrmmccaapp the terminal
210: characteristics needed to manipulate the screen.
211:
212: VVIISSUUAALL Specify default visual editor.
213:
214: ***** See Also *****
215:
216: ccoommmmaannddss, eeggrreepp, ssccaatt, vvii
217:
218: ***** Author *****
219:
220: This software is derived from software contributed to Berkeley by
221: Mark Nudleman. mmoorree is copyright (c) 1988,1990 by The Regents of
222: the University of California. Copyright (c) 1988 by Mark
223: Nudleman. All rights reserved.
224:
225: mmoorree is distributed as a service to COHERENT customers, as is.
226: It is not supported by Mark Williams Company. _C_a_v_e_a_t _u_t_i_l_i_t_o_r.
227:
228:
229:
230:
231:
232:
233:
234:
235:
236:
237:
238:
239:
240:
241:
242:
243:
244:
245:
246:
247:
248:
249:
250:
251:
252:
253:
254:
255:
256:
257:
258:
259:
260:
261:
262: COHERENT Lexicon Page 4
263:
264:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.