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       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.  Note that the window size reverts back to the
44              default at the end of the current file.
45
46       is     skip i lines and print a screenful of lines
47
48       if     skip i screenfuls and print a screenful of lines
49
50       q or Q quit reading the current file; go on to the next (if any)
51
52       e or q When the prompt --More--(Next file: file) is printed, this  com‐
53              mand causes zmore to exit.
54
55       s      When  the prompt --More--(Next file: file) is printed, this com‐
56              mand causes zmore to skip the next file and continue.
57
58       =      Display the current line number.
59
60       i/expr search for the i-th occurrence of the regular  expression  expr.
61              If  the pattern is not found, zmore goes on to the next file (if
62              any).  Otherwise, a screenful is displayed, starting  two  lines
63              before  the  place  where  the expression was found.  The user's
64              erase and kill characters  may  be  used  to  edit  the  regular
65              expression.   Erasing  back  past  the  first column cancels the
66              search command.
67
68       in     search for the i-th occurrence of the  last  regular  expression
69              entered.
70
71       !command
72              invoke  a shell with command.  The character `!' in "command" is
73              replaced with the previous shell command.  The sequence "\!"  is
74              replaced by "!".
75
76       :q or :Q
77              quit  reading the current file; go on to the next (if any) (same
78              as q or Q).
79
80       .      (dot) repeat the previous command.
81
82       The commands take effect immediately, i.e., it is not necessary to type
83       a carriage return.  Up to the time when the command character itself is
84       given, the user may hit the line kill character to cancel the numerical
85       argument being formed.  In addition, the user may hit the erase charac‐
86       ter to redisplay the --More-- message.
87
88       At any time when output is being sent to the terminal, the user can hit
89       the quit key (normally control-\).  Zmore will stop sending output, and
90       will display the usual --More-- prompt.  The user may then enter one of
91       the above commands in the normal manner.  Unfortunately, some output is
92       lost when this is done, due to the fact that any characters waiting  in
93       the terminal's output queue are flushed when the quit signal occurs.
94
95       The  terminal  is set to noecho mode by this program so that the output
96       can be continuous.  What you type will thus not show on your  terminal,
97       except for the / and !  commands.
98
99       If  the  standard  output  is not a teletype, then zmore acts just like
100       zcat, except that a header is printed before each file.
101

FILES

103       /etc/termcap
104              Terminal data base
105

SEE ALSO

107       more(1), gzip(1), zdiff(1), zgrep(1), znew(1), zforce(1), gzexe(1)
108
109
110
111                                                                      ZMORE(1)
Impressum