annotate src/bzip2-1.0.6/bzmore.1 @ 23:619f715526df sv_v2.1

Update Vamp plugin SDK to 2.5
author Chris Cannam
date Thu, 09 May 2013 10:52:46 +0100
parents e13257ea84a4
children
rev   line source
Chris@4 1 .\"Shamelessly copied from zmore.1 by Philippe Troin <phil@fifi.org>
Chris@4 2 .\"for Debian GNU/Linux
Chris@4 3 .TH BZMORE 1
Chris@4 4 .SH NAME
Chris@4 5 bzmore, bzless \- file perusal filter for crt viewing of bzip2 compressed text
Chris@4 6 .SH SYNOPSIS
Chris@4 7 .B bzmore
Chris@4 8 [ name ... ]
Chris@4 9 .br
Chris@4 10 .B bzless
Chris@4 11 [ name ... ]
Chris@4 12 .SH NOTE
Chris@4 13 In the following description,
Chris@4 14 .I bzless
Chris@4 15 and
Chris@4 16 .I less
Chris@4 17 can be used interchangeably with
Chris@4 18 .I bzmore
Chris@4 19 and
Chris@4 20 .I more.
Chris@4 21 .SH DESCRIPTION
Chris@4 22 .I Bzmore
Chris@4 23 is a filter which allows examination of compressed or plain text files
Chris@4 24 one screenful at a time on a soft-copy terminal.
Chris@4 25 .I bzmore
Chris@4 26 works on files compressed with
Chris@4 27 .I bzip2
Chris@4 28 and also on uncompressed files.
Chris@4 29 If a file does not exist,
Chris@4 30 .I bzmore
Chris@4 31 looks for a file of the same name with the addition of a .bz2 suffix.
Chris@4 32 .PP
Chris@4 33 .I Bzmore
Chris@4 34 normally pauses after each screenful, printing --More--
Chris@4 35 at the bottom of the screen.
Chris@4 36 If the user then types a carriage return, one more line is displayed.
Chris@4 37 If the user hits a space,
Chris@4 38 another screenful is displayed. Other possibilities are enumerated later.
Chris@4 39 .PP
Chris@4 40 .I Bzmore
Chris@4 41 looks in the file
Chris@4 42 .I /etc/termcap
Chris@4 43 to determine terminal characteristics,
Chris@4 44 and to determine the default window size.
Chris@4 45 On a terminal capable of displaying 24 lines,
Chris@4 46 the default window size is 22 lines.
Chris@4 47 Other sequences which may be typed when
Chris@4 48 .I bzmore
Chris@4 49 pauses, and their effects, are as follows (\fIi\fP is an optional integer
Chris@4 50 argument, defaulting to 1) :
Chris@4 51 .PP
Chris@4 52 .IP \fIi\|\fP<space>
Chris@4 53 display
Chris@4 54 .I i
Chris@4 55 more lines, (or another screenful if no argument is given)
Chris@4 56 .PP
Chris@4 57 .IP ^D
Chris@4 58 display 11 more lines (a ``scroll'').
Chris@4 59 If
Chris@4 60 .I i
Chris@4 61 is given, then the scroll size is set to \fIi\|\fP.
Chris@4 62 .PP
Chris@4 63 .IP d
Chris@4 64 same as ^D (control-D)
Chris@4 65 .PP
Chris@4 66 .IP \fIi\|\fPz
Chris@4 67 same as typing a space except that \fIi\|\fP, if present, becomes the new
Chris@4 68 window size. Note that the window size reverts back to the default at the
Chris@4 69 end of the current file.
Chris@4 70 .PP
Chris@4 71 .IP \fIi\|\fPs
Chris@4 72 skip \fIi\|\fP lines and print a screenful of lines
Chris@4 73 .PP
Chris@4 74 .IP \fIi\|\fPf
Chris@4 75 skip \fIi\fP screenfuls and print a screenful of lines
Chris@4 76 .PP
Chris@4 77 .IP "q or Q"
Chris@4 78 quit reading the current file; go on to the next (if any)
Chris@4 79 .PP
Chris@4 80 .IP "e or q"
Chris@4 81 When the prompt --More--(Next file:
Chris@4 82 .IR file )
Chris@4 83 is printed, this command causes bzmore to exit.
Chris@4 84 .PP
Chris@4 85 .IP s
Chris@4 86 When the prompt --More--(Next file:
Chris@4 87 .IR file )
Chris@4 88 is printed, this command causes bzmore to skip the next file and continue.
Chris@4 89 .PP
Chris@4 90 .IP =
Chris@4 91 Display the current line number.
Chris@4 92 .PP
Chris@4 93 .IP \fIi\|\fP/expr
Chris@4 94 search for the \fIi\|\fP-th occurrence of the regular expression \fIexpr.\fP
Chris@4 95 If the pattern is not found,
Chris@4 96 .I bzmore
Chris@4 97 goes on to the next file (if any).
Chris@4 98 Otherwise, a screenful is displayed, starting two lines before the place
Chris@4 99 where the expression was found.
Chris@4 100 The user's erase and kill characters may be used to edit the regular
Chris@4 101 expression.
Chris@4 102 Erasing back past the first column cancels the search command.
Chris@4 103 .PP
Chris@4 104 .IP \fIi\|\fPn
Chris@4 105 search for the \fIi\|\fP-th occurrence of the last regular expression entered.
Chris@4 106 .PP
Chris@4 107 .IP !command
Chris@4 108 invoke a shell with \fIcommand\|\fP.
Chris@4 109 The character `!' in "command" are replaced with the
Chris@4 110 previous shell command. The sequence "\\!" is replaced by "!".
Chris@4 111 .PP
Chris@4 112 .IP ":q or :Q"
Chris@4 113 quit reading the current file; go on to the next (if any)
Chris@4 114 (same as q or Q).
Chris@4 115 .PP
Chris@4 116 .IP .
Chris@4 117 (dot) repeat the previous command.
Chris@4 118 .PP
Chris@4 119 The commands take effect immediately, i.e., it is not necessary to
Chris@4 120 type a carriage return.
Chris@4 121 Up to the time when the command character itself is given,
Chris@4 122 the user may hit the line kill character to cancel the numerical
Chris@4 123 argument being formed.
Chris@4 124 In addition, the user may hit the erase character to redisplay the
Chris@4 125 --More-- message.
Chris@4 126 .PP
Chris@4 127 At any time when output is being sent to the terminal, the user can
Chris@4 128 hit the quit key (normally control\-\\).
Chris@4 129 .I Bzmore
Chris@4 130 will stop sending output, and will display the usual --More--
Chris@4 131 prompt.
Chris@4 132 The user may then enter one of the above commands in the normal manner.
Chris@4 133 Unfortunately, some output is lost when this is done, due to the
Chris@4 134 fact that any characters waiting in the terminal's output queue
Chris@4 135 are flushed when the quit signal occurs.
Chris@4 136 .PP
Chris@4 137 The terminal is set to
Chris@4 138 .I noecho
Chris@4 139 mode by this program so that the output can be continuous.
Chris@4 140 What you type will thus not show on your terminal, except for the / and !
Chris@4 141 commands.
Chris@4 142 .PP
Chris@4 143 If the standard output is not a teletype, then
Chris@4 144 .I bzmore
Chris@4 145 acts just like
Chris@4 146 .I bzcat,
Chris@4 147 except that a header is printed before each file.
Chris@4 148 .SH FILES
Chris@4 149 .DT
Chris@4 150 /etc/termcap Terminal data base
Chris@4 151 .SH "SEE ALSO"
Chris@4 152 more(1), less(1), bzip2(1), bzdiff(1), bzgrep(1)