1BZMORE(1) General Commands Manual BZMORE(1)
2
3
4
6 bzmore, bzless - file perusal filter for crt viewing of bzip2 com‐
7 pressed text
8
10 bzmore [ name ... ]
11 bzless [ name ... ]
12
14 In the following description, bzless and less can be used interchange‐
15 ably with bzmore and more.
16
18 Bzmore is a filter which allows examination of compressed or plain text
19 files one screenful at a time on a soft-copy terminal. bzmore works on
20 files compressed with bzip2 and also on uncompressed files. If a file
21 does not exist, bzmore looks for a file of the same name with the addi‐
22 tion of a .bz2 suffix.
23
24 Bzmore normally pauses after each screenful, printing --More-- at the
25 bottom of the screen. If the user then types a carriage return, one
26 more line is displayed. If the user hits a space, another screenful is
27 displayed. Other possibilities are enumerated later.
28
29 Bzmore looks in the file /etc/termcap to determine terminal character‐
30 istics, and to determine the default window size. On a terminal capa‐
31 ble of displaying 24 lines, the default window size is 22 lines. Other
32 sequences which may be typed when bzmore pauses, and their effects, are
33 as follows (i is an optional integer argument, defaulting to 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. Note that the window size reverts back to the
46 default at the end of the current file.
47
48 is skip i lines and print a screenful of lines
49
50 if skip i screenfuls and print a screenful of lines
51
52 q or Q quit reading the current file; go on to the next (if any)
53
54 e or q When the prompt --More--(Next file: file) is printed, this com‐
55 mand causes bzmore to exit.
56
57 s When the prompt --More--(Next file: file) is printed, this com‐
58 mand causes bzmore to skip the next file and continue.
59
60 = Display the current line number.
61
62 i/expr search for the i-th occurrence of the regular expression expr.
63 If the pattern is not found, bzmore goes on to the next file (if
64 any). Otherwise, a screenful is displayed, starting two lines
65 before the place where the expression was found. The user's
66 erase and kill characters may be used to edit the regular
67 expression. Erasing back past the first column cancels the
68 search command.
69
70 in search for the i-th occurrence of the last regular expression
71 entered.
72
73 !command
74 invoke a shell with command. The character `!' in "command" are
75 replaced with the previous shell command. The sequence "\!" is
76 replaced by "!".
77
78 :q or :Q
79 quit reading the current file; go on to the next (if any) (same
80 as q or Q).
81
82 . (dot) repeat the previous command.
83
84 The commands take effect immediately, i.e., it is not necessary to type
85 a carriage return. Up to the time when the command character itself is
86 given, the user may hit the line kill character to cancel the numerical
87 argument being formed. In addition, the user may hit the erase charac‐
88 ter to redisplay the --More-- message.
89
90 At any time when output is being sent to the terminal, the user can hit
91 the quit key (normally control-\). Bzmore will stop sending output,
92 and will display the usual --More-- prompt. The user may then enter
93 one of the above commands in the normal manner. Unfortunately, some
94 output is lost when this is done, due to the fact that any characters
95 waiting in the terminal's output queue are flushed when the quit signal
96 occurs.
97
98 The terminal is set to noecho mode by this program so that the output
99 can be continuous. What you type will thus not show on your terminal,
100 except for the / and ! commands.
101
102 If the standard output is not a teletype, then bzmore acts just like
103 bzcat, except that a header is printed before each file.
104
106 /etc/termcap Terminal data base
107
109 more(1), less(1), bzip2(1), bzdiff(1), bzgrep(1)
110
111
112
113 BZMORE(1)