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.
35 To use a pager other than the default
37 set environment variable PAGER to the name of the desired program, such as
40 Other sequences which may be typed when
42 pauses, and their effects, are as follows (\fIi\fP is an optional integer
43 argument, defaulting to 1) :
48 more lines, (or another screenful if no argument is given)
51 display 11 more lines (a ``scroll'').
54 is given, then the scroll size is set to \fIi\fP.
57 same as ^D (control-D)
60 same as typing a space except that \fIi\fP, if present, becomes the new
61 window size. Note that the window size reverts back to the default at the
62 end of the current file.
65 skip \fIi\fP lines and print a screenful of lines
68 skip \fIi\fP screenfuls and print a screenful of lines
71 quit reading the current file; go on to the next (if any)
74 When the prompt --More--(Next file:
76 is printed, this command causes zmore to exit.
79 When the prompt --More--(Next file:
81 is printed, this command causes zmore to skip the next file and continue.
84 Display the current line number.
87 search for the \fIi\^\fP-th occurrence of the regular expression \fIexpr.\fP
88 If the pattern is not found,
90 goes on to the next file (if any).
91 Otherwise, a screenful is displayed, starting two lines before the place
92 where the expression was found.
93 The user's erase and kill characters may be used to edit the regular
95 Erasing back past the first column cancels the search command.
98 search for the \fIi\^\fP-th occurrence of the last regular expression entered.
101 invoke a shell with \fIcommand\fP.
102 The character `!' in "command" is replaced with the
103 previous shell command. The sequence "\\!" is replaced by "!".
106 quit reading the current file; go on to the next (if any)
110 (dot) repeat the previous command.
112 The commands take effect immediately, i.e., it is not necessary to
113 type a carriage return.
114 Up to the time when the command character itself is given,
115 the user may hit the line kill character to cancel the numerical
116 argument being formed.
117 In addition, the user may hit the erase character to redisplay the
120 At any time when output is being sent to the terminal, the user can
121 hit the quit key (normally control\-\\).
123 will stop sending output, and will display the usual --More--
125 The user may then enter one of the above commands in the normal manner.
126 Unfortunately, some output is lost when this is done, due to the
127 fact that any characters waiting in the terminal's output queue
128 are flushed when the quit signal occurs.
130 The terminal is set to
132 mode by this program so that the output can be continuous.
133 What you type will thus not show on your terminal, except for the / and !
136 If the standard output is not a teletype, then
140 except that a header is printed before each file.
146 more(1), gzip(1), zdiff(1), zgrep(1), znew(1), zforce(1), gzexe(1)