264 lines
5.9 KiB
HTML
264 lines
5.9 KiB
HTML
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<HTML><HEAD><TITLE>Man page of BZMORE</TITLE>
|
|
</HEAD><BODY>
|
|
<H1>BZMORE</H1>
|
|
Section: User Commands (1)<BR><A HREF="#index">Index</A>
|
|
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
|
|
|
|
<A NAME="lbAB"> </A>
|
|
<H2>NAME</H2>
|
|
|
|
bzmore, bzless - file perusal filter for crt viewing of bzip2 compressed text
|
|
<A NAME="lbAC"> </A>
|
|
<H2>SYNOPSIS</H2>
|
|
|
|
<B>bzmore</B>
|
|
|
|
[ name ... ]
|
|
<BR>
|
|
|
|
<B>bzless</B>
|
|
|
|
[ name ... ]
|
|
<A NAME="lbAD"> </A>
|
|
<H2>NOTE</H2>
|
|
|
|
In the following description,
|
|
<I>bzless</I>
|
|
|
|
and
|
|
<I>less</I>
|
|
|
|
can be used interchangeably with
|
|
<I>bzmore</I>
|
|
|
|
and
|
|
<I>more.</I>
|
|
|
|
<A NAME="lbAE"> </A>
|
|
<H2>DESCRIPTION</H2>
|
|
|
|
<I>Bzmore</I>
|
|
|
|
is a filter which allows examination of compressed or plain text files
|
|
one screenful at a time on a soft-copy terminal.
|
|
<I>bzmore</I>
|
|
|
|
works on files compressed with
|
|
<I>bzip2</I>
|
|
|
|
and also on uncompressed files.
|
|
If a file does not exist,
|
|
<I>bzmore</I>
|
|
|
|
looks for a file of the same name with the addition of a .bz2 suffix.
|
|
<P>
|
|
|
|
<I>Bzmore</I>
|
|
|
|
normally pauses after each screenful, printing --More--
|
|
at the bottom of the screen.
|
|
If the user then types a carriage return, one more line is displayed.
|
|
If the user hits a space,
|
|
another screenful is displayed. Other possibilities are enumerated later.
|
|
<P>
|
|
|
|
<I>Bzmore</I>
|
|
|
|
looks in the file
|
|
<I>/etc/termcap</I>
|
|
|
|
to determine terminal characteristics,
|
|
and to determine the default window size.
|
|
On a terminal capable of displaying 24 lines,
|
|
the default window size is 22 lines.
|
|
Other sequences which may be typed when
|
|
<I>bzmore</I>
|
|
|
|
pauses, and their effects, are as follows (<I>i</I> is an optional integer
|
|
argument, defaulting to 1) :
|
|
<P>
|
|
|
|
<DL COMPACT>
|
|
<DT id="1"><I>i</I><space><DD>
|
|
display
|
|
<I>i</I>
|
|
|
|
more lines, (or another screenful if no argument is given)
|
|
</DL>
|
|
<P>
|
|
|
|
<DL COMPACT>
|
|
<DT id="2">^D<DD>
|
|
display 11 more lines (a ``scroll'').
|
|
If
|
|
<I>i</I>
|
|
|
|
is given, then the scroll size is set to <I>i</I>.
|
|
</DL>
|
|
<P>
|
|
|
|
<DL COMPACT>
|
|
<DT id="3">d<DD>
|
|
same as ^D (control-D)
|
|
</DL>
|
|
<P>
|
|
|
|
<DL COMPACT>
|
|
<DT id="4"><I>i</I>z<DD>
|
|
same as typing a space except that <I>i</I>, if present, becomes the new
|
|
window size. Note that the window size reverts back to the default at the
|
|
end of the current file.
|
|
</DL>
|
|
<P>
|
|
|
|
<DL COMPACT>
|
|
<DT id="5"><I>i</I>s<DD>
|
|
skip <I>i</I> lines and print a screenful of lines
|
|
</DL>
|
|
<P>
|
|
|
|
<DL COMPACT>
|
|
<DT id="6"><I>i</I>f<DD>
|
|
skip <I>i</I> screenfuls and print a screenful of lines
|
|
</DL>
|
|
<P>
|
|
|
|
<DL COMPACT>
|
|
<DT id="7">q or Q<DD>
|
|
quit reading the current file; go on to the next (if any)
|
|
</DL>
|
|
<P>
|
|
|
|
<DL COMPACT>
|
|
<DT id="8">e or q<DD>
|
|
When the prompt --More--(Next file:
|
|
<I>file</I>)
|
|
|
|
is printed, this command causes bzmore to exit.
|
|
</DL>
|
|
<P>
|
|
|
|
<DL COMPACT>
|
|
<DT id="9">s<DD>
|
|
When the prompt --More--(Next file:
|
|
<I>file</I>)
|
|
|
|
is printed, this command causes bzmore to skip the next file and continue.
|
|
</DL>
|
|
<P>
|
|
|
|
<DL COMPACT>
|
|
<DT id="10">=<DD>
|
|
Display the current line number.
|
|
</DL>
|
|
<P>
|
|
|
|
<DL COMPACT>
|
|
<DT id="11"><I>i</I>/expr<DD>
|
|
search for the <I>i</I>-th occurrence of the regular expression <I>expr.</I>
|
|
If the pattern is not found,
|
|
<I>bzmore</I>
|
|
|
|
goes on to the next file (if any).
|
|
Otherwise, a screenful is displayed, starting two lines before the place
|
|
where the expression was found.
|
|
The user's erase and kill characters may be used to edit the regular
|
|
expression.
|
|
Erasing back past the first column cancels the search command.
|
|
</DL>
|
|
<P>
|
|
|
|
<DL COMPACT>
|
|
<DT id="12"><I>i</I>n<DD>
|
|
search for the <I>i</I>-th occurrence of the last regular expression entered.
|
|
</DL>
|
|
<P>
|
|
|
|
<DL COMPACT>
|
|
<DT id="13">!command<DD>
|
|
invoke a shell with <I>command</I>.
|
|
The character `!' in "command" are replaced with the
|
|
previous shell command. The sequence "\!" is replaced by "!".
|
|
</DL>
|
|
<P>
|
|
|
|
<DL COMPACT>
|
|
<DT id="14">:q or :Q<DD>
|
|
quit reading the current file; go on to the next (if any)
|
|
(same as q or Q).
|
|
</DL>
|
|
<P>
|
|
|
|
<DL COMPACT>
|
|
<DT id="15">.<DD>
|
|
(dot) repeat the previous command.
|
|
</DL>
|
|
<P>
|
|
|
|
The commands take effect immediately, i.e., it is not necessary to
|
|
type a carriage return.
|
|
Up to the time when the command character itself is given,
|
|
the user may hit the line kill character to cancel the numerical
|
|
argument being formed.
|
|
In addition, the user may hit the erase character to redisplay the
|
|
--More-- message.
|
|
<P>
|
|
|
|
At any time when output is being sent to the terminal, the user can
|
|
hit the quit key (normally control-\).
|
|
<I>Bzmore</I>
|
|
|
|
will stop sending output, and will display the usual --More--
|
|
prompt.
|
|
The user may then enter one of the above commands in the normal manner.
|
|
Unfortunately, some output is lost when this is done, due to the
|
|
fact that any characters waiting in the terminal's output queue
|
|
are flushed when the quit signal occurs.
|
|
<P>
|
|
|
|
The terminal is set to
|
|
<I>noecho</I>
|
|
|
|
mode by this program so that the output can be continuous.
|
|
What you type will thus not show on your terminal, except for the / and !
|
|
commands.
|
|
<P>
|
|
|
|
If the standard output is not a teletype, then
|
|
<I>bzmore</I>
|
|
|
|
acts just like
|
|
<I>bzcat,</I>
|
|
|
|
except that a header is printed before each file.
|
|
<A NAME="lbAF"> </A>
|
|
<H2>FILES</H2>
|
|
|
|
|
|
/etc/termcap<TT> </TT><TT> </TT>Terminal data base<BR>
|
|
<A NAME="lbAG"> </A>
|
|
<H2>SEE ALSO</H2>
|
|
|
|
<A HREF="/cgi-bin/man/man2html?1+more">more</A>(1), <A HREF="/cgi-bin/man/man2html?1+less">less</A>(1), <A HREF="/cgi-bin/man/man2html?1+bzip2">bzip2</A>(1), <A HREF="/cgi-bin/man/man2html?1+bzdiff">bzdiff</A>(1), <A HREF="/cgi-bin/man/man2html?1+bzgrep">bzgrep</A>(1)
|
|
<P>
|
|
|
|
<HR>
|
|
<A NAME="index"> </A><H2>Index</H2>
|
|
<DL>
|
|
<DT id="16"><A HREF="#lbAB">NAME</A><DD>
|
|
<DT id="17"><A HREF="#lbAC">SYNOPSIS</A><DD>
|
|
<DT id="18"><A HREF="#lbAD">NOTE</A><DD>
|
|
<DT id="19"><A HREF="#lbAE">DESCRIPTION</A><DD>
|
|
<DT id="20"><A HREF="#lbAF">FILES</A><DD>
|
|
<DT id="21"><A HREF="#lbAG">SEE ALSO</A><DD>
|
|
</DL>
|
|
<HR>
|
|
This document was created by
|
|
<A HREF="/cgi-bin/man/man2html">man2html</A>,
|
|
using the manual pages.<BR>
|
|
Time: 00:05:08 GMT, March 31, 2021
|
|
</BODY>
|
|
</HTML>
|