3 zmore \- file perusal filter for crt viewing of compressed text
9 is a filter which allows examination of compressed or plain text files
10 one screenful at a time on a soft-copy terminal.
12 works on files compressed with
16 and also on uncompressed files.
17 If a file does not exist,
19 looks for a file of the same name with the addition of a .gz, .z or .Z suffix.
22 normally pauses after each screenful, printing --More--
23 at the bottom of the screen.
24 If the user then types a carriage return, one more line is displayed.
25 If the user hits a space,
26 another screenful is displayed. Other possibilities are enumerated later.
31 to determine terminal characteristics,
32 and to determine the default window size.
33 On a terminal capable of displaying 24 lines,
34 the default window size is 22 lines.
36 Other sequences which may be typed when
38 pauses, and their effects, are as follows (\fIi\fP is an optional integer
39 argument, defaulting to 1) :
44 more lines, (or another screenful if no argument is given)
47 display 11 more lines (a ``scroll'').
50 is given, then the scroll size is set to \fIi\fP.
53 same as ^D (control-D)
56 same as typing a space except that \fIi\fP, if present, becomes the new
57 window size. Note that the window size reverts back to the default at the
58 end of the current file.
61 skip \fIi\fP lines and print a screenful of lines
64 skip \fIi\fP screenfuls and print a screenful of lines
67 quit reading the current file; go on to the next (if any)
70 When the prompt --More--(Next file:
72 is printed, this command causes zmore to exit.
75 When the prompt --More--(Next file:
77 is printed, this command causes zmore to skip the next file and continue.
80 Display the current line number.
83 search for the \fIi\^\fP-th occurrence of the regular expression \fIexpr.\fP
84 If the pattern is not found,
86 goes on to the next file (if any).
87 Otherwise, a screenful is displayed, starting two lines before the place
88 where the expression was found.
89 The user's erase and kill characters may be used to edit the regular
91 Erasing back past the first column cancels the search command.
94 search for the \fIi\^\fP-th occurrence of the last regular expression entered.
97 invoke a shell with \fIcommand\fP.
98 The character `!' in "command" is replaced with the
99 previous shell command. The sequence "\\!" is replaced by "!".
102 quit reading the current file; go on to the next (if any)
106 (dot) repeat the previous command.
108 The commands take effect immediately, i.e., it is not necessary to
109 type a carriage return.
110 Up to the time when the command character itself is given,
111 the user may hit the line kill character to cancel the numerical
112 argument being formed.
113 In addition, the user may hit the erase character to redisplay the
116 At any time when output is being sent to the terminal, the user can
117 hit the quit key (normally control\-\\).
119 will stop sending output, and will display the usual --More--
121 The user may then enter one of the above commands in the normal manner.
122 Unfortunately, some output is lost when this is done, due to the
123 fact that any characters waiting in the terminal's output queue
124 are flushed when the quit signal occurs.
126 The terminal is set to
128 mode by this program so that the output can be continuous.
129 What you type will thus not show on your terminal, except for the / and !
132 If the standard output is not a teletype, then
136 except that a header is printed before each file.
142 more(1), gzip(1), zdiff(1), zgrep(1), znew(1), zforce(1), gzexe(1)