1ZMORE(1) General Commands Manual ZMORE(1)
2
3
4
6 zmore - file perusal filter for crt viewing of compressed text
7
9 zmore [ name ... ]
10
12 Zmore is a filter which allows examination of compressed or plain text
13 files one screenful at a time on a soft-copy terminal. zmore works on
14 files compressed with compress, pack or gzip, and also on uncompressed
15 files. If a file does not exist, zmore looks for a file of the same
16 name with the addition of a .gz, .z or .Z suffix.
17
18 Zmore normally pauses after each screenful, printing --More-- at the
19 bottom of the screen. If the user then types a carriage return, one
20 more line is displayed. If the user hits a space, another screenful is
21 displayed. Other possibilities are enumerated later.
22
23 Zmore looks in the file /etc/termcap to determine terminal characteris‐
24 tics, and to determine the default window size. On a terminal capable
25 of displaying 24 lines, the default window size is 22 lines. To use a
26 pager other than the default more, set environment variable PAGER to
27 the name of the desired program, such as less.
28
29 Other sequences which may be typed when zmore pauses, and their
30 effects, are as follows (i is an optional integer argument, defaulting
31 to 1) :
32
33 i<space>
34 display i more lines, (or another screenful if no argument is
35 given)
36
37 ^D display 11 more lines (a ``scroll''). If i is given, then the
38 scroll size is set to i.
39
40 d same as ^D (control-D)
41
42 iz same as typing a space except that i, if present, becomes the
43 new window size.
44
45 is skip i lines and print a screenful of lines
46
47 if skip i screenfuls and print a screenful of lines
48
49 q or Q Quit.
50
51 = Display the current line number.
52
53 i/expr search for the i-th occurrence of the regular expression expr.
54 The user's erase and kill characters may be used to edit the
55 regular expression. Erasing back past the first column cancels
56 the search command.
57
58 in search for the i-th occurrence of the last regular expression
59 entered.
60
61 !command
62 invoke a shell with command. The character `!' in "command" is
63 replaced with the previous shell command. The sequence "\!" is
64 replaced by "!".
65
66 :q or :Q
67 Quit (same as q or Q).
68
69 . (dot) repeat the previous command.
70
71 The commands take effect immediately, i.e., it is not necessary to type
72 a carriage return. Up to the time when the command character itself is
73 given, the user may hit the line kill character to cancel the numerical
74 argument being formed. In addition, the user may hit the erase charac‐
75 ter to redisplay the --More-- message.
76
77 At any time when output is being sent to the terminal, the user can hit
78 the quit key (normally control-\). Zmore will stop sending output, and
79 will display the usual --More-- prompt. The user may then enter one of
80 the above commands in the normal manner. Unfortunately, some output is
81 lost when this is done, due to the fact that any characters waiting in
82 the terminal's output queue are flushed when the quit signal occurs.
83
84 The terminal is set to noecho mode by this program so that the output
85 can be continuous. What you type will thus not show on your terminal,
86 except for the / and ! commands.
87
88 If the standard output is not a teletype, then zmore acts just like
89 zcat, except that a header is printed before each file if there is more
90 than one file.
91
93 /etc/termcap
94 Terminal data base
95
97 more(1), gzip(1), zdiff(1), zgrep(1), znew(1), zforce(1), gzexe(1)
98
99
100
101 ZMORE(1)