Penguin
Annotated edit history of zmore(1) version 1, including all changes. View license author blame.
Rev Author # Line
1 perry 1 ZMORE
2 !!!ZMORE
3 NAME
4 SYNOPSIS
5 DESCRIPTION
6 FILES
7 SEE ALSO
8 ----
9 !!NAME
10
11
12 zmore - file perusal filter for crt viewing of compressed text
13 !!SYNOPSIS
14
15
16 __zmore__ [[ name ... ]
17 !!DESCRIPTION
18
19
20 ''Zmore'' is a filter which allows examination of
21 compressed or plain text files one screenful at a time on a
22 soft-copy terminal. ''zmore'' works on files compressed
23 with ''compress, pack'' or ''gzip,'' and also on
24 uncompressed files. If a file does not exist, ''zmore''
25 looks for a file of the same name with the addition of a
26 .gz, .z or .Z suffix.
27
28
29 ''Zmore'' normally pauses after each screenful, printing
30 --More-- at the bottom of the screen. If the user then types
31 a carriage return, one more line is displayed. If the user
32 hits a space, another screenful is displayed. Other
33 possibilities are enumerated later.
34
35
36 ''Zmore'' looks in the file ''/etc/termcap'' to
37 determine terminal characteristics, and to determine the
38 default window size. On a terminal capable of displaying 24
39 lines, the default window size is 22 lines. To use a pager
40 other than the default ''more,'' set environment variable
41 PAGER to the name of the desired program, such as
42 ''less.''
43
44
45 Other sequences which may be typed when ''zmore'' pauses,
46 and their effects, are as follows (''i'' is an optional
47 integer argument, defaulting to 1) :
48
49
50 ''i''''
51
52
53 display ''i'' more lines, (or another screenful if no
54 argument is given)
55
56
57 ^D
58
59
60 display 11 more lines (a ``scroll''). If ''i'' is given,
61 then the scroll size is set to ''i''.
62
63
64 d
65
66
67 same as ^D (control-D)
68
69
70 ''i''z
71
72
73 same as typing a space except that ''i'', if present,
74 becomes the new window size. Note that the window size
75 reverts back to the default at the end of the current
76 file.
77
78
79 ''i''s
80
81
82 skip ''i'' lines and print a screenful of
83 lines
84
85
86 ''i''f
87
88
89 skip ''i'' screenfuls and print a screenful of
90 lines
91
92
93 q or Q
94
95
96 quit reading the current file; go on to the next (if
97 any)
98
99
100 e or q
101
102
103 When the prompt --More--(Next file: ''file'') is printed,
104 this command causes zmore to exit.
105
106
107 s
108
109
110 When the prompt --More--(Next file: ''file'') is printed,
111 this command causes zmore to skip the next file and
112 continue.
113
114
115 =
116
117
118 Display the current line number.
119
120
121 ''i''/expr
122
123
124 search for the ''i''-th occurrence of the regular
125 expression ''expr.'' If the pattern is not found,
126 ''zmore'' goes on to the next file (if any). Otherwise, a
127 screenful is displayed, starting two lines before the place
128 where the expression was found. The user's erase and kill
129 characters may be used to edit the regular expression.
130 Erasing back past the first column cancels the search
131 command.
132
133
134 ''i''n
135
136
137 search for the ''i''-th occurrence of the last regular
138 expression entered.
139
140
141 !command
142
143
144 invoke a shell with ''command''. The character `!' in
145 ''
146
147
148 :q or :Q
149
150
151 quit reading the current file; go on to the next (if any)
152 (same as q or Q).
153
154
155 .
156
157
158 (dot) repeat the previous command.
159
160
161 The commands take effect immediately, i.e., it is not
162 necessary to type a carriage return. Up to the time when the
163 command character itself is given, the user may hit the line
164 kill character to cancel the numerical argument being
165 formed. In addition, the user may hit the erase character to
166 redisplay the --More-- message.
167
168
169 At any time when output is being sent to the terminal, the
170 user can hit the quit key (normally control-). ''Zmore''
171 will stop sending output, and will display the usual
172 --More-- prompt. The user may then enter one of the above
173 commands in the normal manner. Unfortunately, some output is
174 lost when this is done, due to the fact that any characters
175 waiting in the terminal's output queue are flushed when the
176 quit signal occurs.
177
178
179 The terminal is set to ''noecho'' mode by this program so
180 that the output can be continuous. What you type will thus
181 not show on your terminal, except for the / and !
182 commands.
183
184
185 If the standard output is not a teletype, then ''zmore''
186 acts just like ''zcat,'' except that a header is printed
187 before each file.
188 !!FILES
189
190
191 /etc/termcap
192
193
194 Terminal data base
195 !!SEE ALSO
196
197
198 more(1), gzip(1), zdiff(1), zgrep(1), znew(1), zforce(1),
199 gzexe(1)
200 ----
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.