1ZMORE(1)                    General Commands Manual                   ZMORE(1)
2
3
4

NAME

6       zmore - file perusal filter for crt viewing of compressed text
7

SYNOPSIS

9       zmore [ name ...  ]
10

DESCRIPTION

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

FILES

96       /etc/termcap
97              Terminal data base
98

SEE ALSO

100       more(1), gzip(1), zdiff(1), zgrep(1), znew(1), zforce(1), gzexe(1)
101
102
103
104                                                                      ZMORE(1)
Impressum