1
0
Fork 0
mirror of https://github.com/vbatts/bvi.git synced 2025-08-02 07:30:28 +00:00

bvi-1.3.0.src.tar.gz

This commit is contained in:
Gerhard Bürgmann 2001-01-15 00:00:00 +00:00 committed by Vincent Batts
commit 0220b756fa
80 changed files with 17347 additions and 0 deletions

198
bmore.man Normal file
View file

@ -0,0 +1,198 @@
BMORE(1) BMORE(1)
NNAAMMEE
bmore - browse through a binary file
SSYYNNOOPPSSIISS
bbmmoorree [ --aaddii ] [ ++_l_i_n_e_n_u_m_b_e_r ] [ ++//_A_S_C_I_I_-_p_a_t_t_e_r_n ] [
++\\_H_e_x_-_p_a_t_t_e_r_n ] [ _f_i_l_e_n_a_m_e ... ]
DDEESSCCRRIIPPTTIIOONN
mmoorree is a filter that displays the contents of a binary
file on the terminal, one screenful at a time. It nor­
mally pauses after each screenful, and prints ----MMoorree---- at
the bottom of the screen. bbmmoorree provides a two-line over­
lap between screens for continuity. If bbmmoorree is reading
from a file rather than a pipe, the percentage of charac­
ters displayed so far is also shown.
bbmmoorree scrolls up to display one more screen line in
response to a RETURN character; it displays another
screenful in response to a SPACE character. Other com­
mands are listed below.
The screen is divided in three sections or panes: The byte
offset (extreme left), the hex pane (middle), and an ascii
pane (right) which shows as printable characters those
bytes in the hex pane. On an 80 column terminal there
will be sixteen hex values and their ASCII values on each
screen line. Note that (as one would expect) the first
byte has the offset 0 (zero).
bbmmoorree sets the terminal to _n_o_e_c_h_o mode, so that the output
can be continuous. Commands that you type do not normally
show up on your terminal, except for the // , \\ and !! com­
mands.
If the standard output is not a terminal, mmoorree acts just
like ccaatt(1V), except that a header is printed before each
file in a series.
OOPPTTIIOONNSS
--aa ASCII mode: no hex representation of the contents.
Non printable characters are displayed as a dot (.)
--dd Display error messages rather than ringing the ter­
minal bell if an unrecognized command is used.
This is helpful for inexperienced users.
--ii Ignore case for searching.
++_l_i_n_e_n_u_m_b_e_r
Start up at _l_i_n_e_n_u_m_b_e_r.
++//_A_S_C_I_I_-_p_a_t_t_e_r_n
Start up at the line containing the regular
13 June 2000 1
BMORE(1) BMORE(1)
expression _p_a_t_t_e_r_n. Note: unlike editors, this
construct should _n_o_t end with a `//'. If it does,
then the trailing slash is taken as a character in
the search pattern.
UUSSAAGGEE
CCoommmmaannddss
The commands take effect immediately; it is not necessary
to type a carriage return. Up to the time when the com­
mand character itself is given, the user may type the line
kill character to cancel the numerical argument being
formed. In addition, the user may type the erase charac­
ter to redisplay the `----MMoorree----((_x_x%%))' message.
In the following commands, _i is a numerical argument (11 by
default).
_iSPACE Display another screenful, or _i more lines if _i
is specified.
_iRETURN Display another line, or _i more lines, if speci­
fied.
_i^^DD (CTRL-D) Display (scroll down) 11 more lines. _i
is given, the scroll size is set to _i.
_id Same as ^^DD.
_izz Same as SPACE, except that _i, if present,
becomes the new default number of lines per
screenful.
_iss Skip _i lines and then print a screenful.
_iff Skip _i screenfuls and then print a screenful.
_i^^BB (CTRL-B) Skip back _i screenfuls and then print a
screenful.
_b Same as ^^BB (CTRL-D).
qq
QQ Exit from mmoorree.
== Display the current line number.
vv Drop into the bbvvii(1) editor at the current off­
set of the current file.
ww Drop into the bbvvii(1) editor at the current off­
set of the current file. Only the portion of the
file displayed on the screen will be loaded.
13 June 2000 2
BMORE(1) BMORE(1)
hh Help. Give a description of all the mmoorree com­
mands.
_i//_p_a_t_t_e_r_n Search for the _ith occurrence of the regular
expression _p_a_t_t_e_r_n. Display the screenful
starting at the file position that contains the
_ith match for the regular expression _A_S_C_I_I_-_p_a_t_­
_t_e_r_n, or the end of a pipe, whichever comes
first. If bbmmoorree is displaying a file and there
is no such match, its position in the file
remains unchanged. Regular expressions can be
edited using erase and kill characters. Erasing
back past the first column cancels the search
command.
´´ Single quote. Go to the point from which the
last search started. If no search has been per­
formed in the current file, go to the beginning
of the file.
!!_c_o_m_m_a_n_d Invoke a shell to execute _c_o_m_m_a_n_d. The charac­
ters %% and !!, when used within _c_o_m_m_a_n_d are
replaced with the current filename and the pre­
vious shell command, respectively. If there is
no current filename, %% is not expanded. Prepend
a backslash to these characters to escape expan­
sion.
_i::nn Skip to the _ith next filename given in the com­
mand line, or to the last filename in the list
if _i is out of range.
_i::pp Skip to the _ith previous filename given in the
command line, or to the first filename if _i is
out of range. If given while mmoorree is positioned
within a file, go to the beginning of the file.
If mmoorree is reading from a pipe, mmoorree simply
rings the terminal bell.
::ff Display the current filename and offset number.
::qq
::QQ Exit from bbmmoorree (same as qq or QQ ))..
.. Dot. Repeat the previous command.
FFIILLEESS
//eettcc//tteerrmmccaapp terminal data base
//uussrr//llooccaall//sshhaarree//bbmmoorree..hheellpp
help file
SSEEEE AALLSSOO
bbvvii(1), tteerrmmccaapp(5)
13 June 2000 3