+![]() +
+Home
+Download
+Installation
+bmore + + |
+![]() |
+
+
+
+bmore is a filter that displays the contents of a binary +file on the terminal, one screenful at a time. It normally pauses after each +screenful, and prints --More-- at the bottom of the screen. +bmore provides a two-line over lap between screens for +continuity. If bmore is reading from a file rather than a pipe, +the percentage of characters displayed so far is also shown. + +bmore 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 commands 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). + +
+Equal lines will only displayed once, a star (*) is the placeholder +for one or more lines equal to the line above. + +
+
+ +Last update: Fri Oct 13 22:30:06 CEST 2000 by Gerhard Bürgmann + |
+![]() +
+Home
+Download
+Installation
+bmore + + |
+![]() |
+
+
+
+ + +Most commands optionally preceded by integer argument k. Defaults in brackets. +Star (*) indicates argument becomes new default. + +
+
+
+ +Last update: Fri Jun 30 22:05:32 CEST 2000 by Gerhard Bürgmann + |
+![]() +
+Home
+Download
+Installation
+bmore + + |
+![]() |
+
+
+
+
+This is the default display: +
+With the -a option the display looks like this: + +
+
+
+ +Last update: Fri Oct 13 21:38:17 CEST 2000 by Gerhard Bürgmann + |
+Command Overview
+ Colon (ex) Commands + |
+
+![]() |
+ + |
+ +
+
+When forming a colon command, the first character, the colon, can be +followed by zero, one or two addresses. These addresses are byte +addresses, in contrast to vi, which uses line addresses.+ +
+The byte addresses can be given in decimal notation or, with a +leading zero, in hexadecimal notation. If you have specified an +address offset (e.g. :set offset=256), this offset has to be +added to the byte addresses.
+Without an address, the whole file is affected or the current cursor +position is used (depending of the command). ++
+ ++
++ Address Corresponding bytes + . The current byte + 7 The seventh byte of file (if offset=0) + .-n n bytes before the current byte + .+n n bytes after the current byte + 'x The byte marked with x + ^ The first byte in file + $ The last byte + '' The previous current byte + /pat/ The first byte that matches pat + #12 A4 6F# The first byte that matches hex pattern
Command | BVI | VI | ||
---|---|---|---|---|
File Commands |
+
| |||
Substitute Commands |
+
+
| |||
+
| Not available | |||
Edit Commands |
+
+
| +Usually not available in vi but in ex (without the m - modifier). + | ||
Logical Operations |
+
+
| + Not available. + | ||
Miscellaneous | +
+
| |||
+
|
+
|
+
+
+Back to the top
+
+
+Command Overview
+ Cursor Movements + |
+
+![]() |
+ + |
+
+
Command | BVI | VI | ||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Cursor movements |
+
| |||||||||||||||||||||||
Move to begin and end of (screen) line |
+
+
|
+
| ||||||||||||||||||||||
Move by words |
+
+
|
+
|
+
+
+Back to the top
+
+
+![]() +
+Home
+Download
+Installation
+bmore + + |
+![]() |
+
+
+
+NOTE: All packages are compressed with the GNU gzip program. You +can download it from ftp://ftp.gnu.org/gnu/gzip/. + +Current stable release of bvi is 1.3.0 +(Check out what's new): + + Sources+
Executables+
+
+ +Last update: October 23rd 22:36:45 CEST 2000 by Gerhard Bürgmann + |
+Command Overview
+ Edit Movements + |
+
+![]() |
+ + |
+ +
+If you would like to use the insert and delete commands, you have to +enable them with the :set memmove option. These commands are +locked per default, because you must not move bytes to a different +address for many types of binary files (e.g. executables, database files, +etc.). If you usually edit files where bytes can be moved, you can add +the :set memmove directive to your .bvirc file. +
+
Command | BVI | VI | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Replace bytes |
+
| |||||||||||||||||
Append bytes |
+
+
|
+
| ||||||||||||||||
Insert bytes |
+
+
| |||||||||||||||||
+
|
+
| |||||||||||||||||
+
|
+
| |||||||||||||||||
Delete bytes |
+
+
| |||||||||||||||||
+
|
+
| |||||||||||||||||
+
|
+
| |||||||||||||||||
+
|
+
| |||||||||||||||||
Undo edits |
+
+
| |||||||||||||||||
+
|
+
|
+Note that most of the commands can be used with a decimal repeat count in front +of the command! +
+
+
+Back to the top
+
+
+![]() +
+Home
+Download
+Installation
+bmore
+Deutsche Beschreibung + + |
+![]() |
+
+
+
+Der BVI (Binary-VI) ist ein Editor für Binärfiles. Seine Kommandos sind +weitgehend an den Standard UNIX Editor VI(1) angelehnt. Der Bildschirm +ist in einen hexadezimalen und einen ASCII-Bereich geteilt. Einige zusätzliche +Kommandos wurden zugefügt, einige Kommandos adaptiert und einige Kommandos, +die bei Binärfiles keinen Sinn machen, wurden weggelassen. Für eine +Gesamtübersicht siehe Manual Page BVI(1). + + Zusätzliche Kommandos+ +Eine wichtige Funktion für binäre Files ist das Suchen nach Hexcodes. +Dafür gibt es analog zum '/' und '?' - Kommando zusätzlich das '\' und +das '#' - Kommando.+ +Beispiel: +\1e f4 56 - Sucht die angegebene Bytefolge in vorwärts-Richtung +#34 5a a4 - Sucht Bytefolge rückwärts. + +Die normalen Textsuchkommandos sind auch vorhanden, wobei zusätzlich ein +Return, Linefeed oder NULL im Suchstring aufscheinen darf (\n \r oder \0). + +Die Kommandos w, W, b, B (nächstes oder vorhergehendes Wort) wurden insoweit +abgeändert, daß sie eher dem STRINGS(1) - Kommando entsprechen, also in +einem Binärfile Textstrings suchen. Dabei sucht W und B nach Strings, die +mit einem \0 oder \n enden, w und b sucht nach Strings, die mit einem +beliebigen, nicht druckbaren Zeichen enden. Die Stringlänge beträgt 4 Zeichen, +wobei mit ":set wordlength=x" die Stringlänge auf x Zeichen eingestellt werden +kann. + +Der Bildschirm ist in einen HEX und einen ASCII-Bereich aufgeteilt, wobei +jederzeit mit der TAB - Taste von einem Bereich in den anderen gewechselt +werden kann (auch im Eingabemodus). Es kann also bei der Eingabe zwischen +normalen ASCII-Zeichen und Hex-Eingabe hin- und hergesprungen werden. + + +Am unteren Bildrand befindet sich eine Statusanzeige, welche die Adresse des +Bytes, auf welchem der Cursor momentan steht, anzeigt. Außerdem wird das Byte +in oktaler, hexadezimaler, dezimaler und ASCII-Repräsentation anzeigt. Die +ASCII-Anzeige kann von DOS-Style (27 entspricht ^Z) auf UNIX-Style entsprechend +Manual Page ASCII(7) umgeschaltet werden (27 entspricht SUB). +Kommando ist ":set unixstyle". Die Statusanzeige kann mit ":set noshowmode" +ausgeschaltet werden. + + Regular Expressions+ +Für die Suchkommandos sowohl für Text als auch Hex sind Regular Expressions +zulässig, wobei es die Zeichen ^ und $ für Zeilenanfang und Zeilenende nicht +gibt. Die Kombination .* ist unzulässig, da sie sich auf jeden Fall auf das +Ende des Files beziehen würde. + +Zeilen+ +Da es in binären Files keine Zeilen gibt (die Darstellung der einzelnen +Zeilen am Bildschirm hat keinen Bezug zum File) gibt es keinerlei +zeilenorientierte Kommandos (dd, o, O, yy). Ein Kommando +wie :s/XXX/UUU/g ändert somit das gesamte File. Zu beachten ist auch, daß +:s/XX/UUUU/ nicht die beiden X durch vier U ersetzt, sondern die beiden den +X folgenden Zeichen auch durch U überschrieben werden. + +Editierkommandos+ +Da binäre Files häufig ausführbare Programme oder Datenbankfiles sind, +bei denen Bytes nicht einfach an eine andere Adresse verschoben werden +dürfen, sind Einfüge- und Löschkommandos (z.B. a, i, x) +deaktiviert. Mit dem Kommando :set memmove können sie +aktiviert werden. ++Die Kommandos :a (append), :c (change) und :i (insert) +können benutzt werden, um ein oder mehrere Bytes in ASCII, binärer, +dezimaler, hexadezimaler oder oktaler Schreibweise einzugeben +(a, b, d, h oder o). Es +können mehrere (Bildschirm) Zeilen eingegeben werden. Das Kommando +wird beendet, sobald eine Zeile, die nur aus einem Punkt besteht, +eingegeben wird. + +Beispiel: + ++Zu beachten ist, daß kein Einzelwert den maximalen Byte-Wert (255) +überschreiten darf, da sonst die Eingabe abgebrochen wird. Das +Drücken der RETURN - Taste führt zu keinem "RETURN" - Zeichen in +der Datei, im ASCII - Modus können allerdings die Sonderzeichen +\n, \r, \t und \0 benutzt werden. + ++:i b +1 1001 010101 1111 +11111 1010 1 0 1 +. ++ Yank und Put+ +Auch hier gilt eine etwas geänderte Funktion. Das y (yank) - +Kommando ist allerdings ab Version 1.2.0 dem Vi angenähert:+
+Das Kommando ":r filename" fügt das angegebene File nicht an der Cursor- +Position sondern am Dateiende an. + + Adressen+ +Das Kommando nG führt nicht zur n. Zeile, sondern zum n. Byte. +Die Eingabe der Nummer wird dezimal interpretiert. Um eine Adresse +hexdezimal angeben zu können, kann g eingegeben werden. Es erscheint ein +Prompt in der Statuszeile, bei dem eine hexadezimale Eingabe erfolgen kann. +Das erste Byte hat Adresse 0.+Die Anzeige der Adressen kann mit einem Offset versehen werden +(:set offset=256), beispielsweise um für .COM Files in DOS einen Beginn +bei Adresse 100Hex anzuzeigen. Wird ein offset=1 angegeben, so ist +hat das erste Byte Adresse 1. Das G - Kommando berücksichtigt den Offset. +Im Gegensatz dazu zeigt das :f - Kommando immer die Ordnungszahl des +Bytes an, beginnend mit 1 ohne Berücksichtigung des Offsets. + + Bitweise Kommandos+ +Um Manipulationen auf Bit-Ebene durchführen zu können, stehen +folgende Kommandos zur Verfügung: +
Der Wert i für die logische Verknüpfung kann +dezimal, hexadezimal, oder mit führendem B in binärer +Schreibweise angegeben werden. Auch bei Eingabe von genau acht 0 und 1 +Werten wird der Byte - Wert binär interpretiert. +Beispiel: + +:100,500and 01A RETURN+
+
+ +Last update: Thu Jun 01 12:00:00 CEST 2000 by Gerhard Bürgmann + |
![]() + + + + + + + + + + + + + + + + + + + + + + + + + + |
+![]() |
+
+Welcome to the
+Here you can find all the informations about bvi you need.
+ |
---|
+![]() +
+Home
+Download
+Installation
+bmore + + |
+![]() |
+
+
+
+The following steps are necessary to get bvi running: + UNIX+The Unix version of bvi needs the curses (ncurses) library +for cursor movement. +
MSDOS+You have to convert the sourcefiles from the UNIX textformat to +the MSDOS textformat first. This can be done e.g. by loading and +saving them with the MSDOS standard editor `edit'. +
+The MSDOS version is using the conio routines of the
+Borland - C compilers for cursor movement. The doscur.h
+header file substitutes the curses commands.
+
+ +Last update: Thu Oct 19 21:31:04 CEST 2000 by Gerhard Bürgmann + |
+![]() +
+Home
+Download
+Installation
+bmore + + |
+![]() |
+
+
+
+
+
+ +Last update: Thu Jun 01 12:00:00 CEST 2000 by Gerhard Bürgmann + |
+![]() +
+Home
+Download
+Installation
+bmore + + |
+![]() |
+
+
+
+
+
+ +Last update: Thu Oct 12 20:51:06 CEST 2000 by Gerhard Bürgmann + |
+![]() +
+Home
+Download
+Installation
+Command Overview
+bmore + + |
+![]() |
+
+
+
+This overview compares bvi commands with the corresponding commands of +the standard ascii vi. + +
+Special keys are displayed in a gray font, e.g. +RETURN, +ARROW_UP or +CTRL. + + Topics:++ +
+
+ +Last update: Thu Jun 01 12:00:00 CEST 2000 by Gerhard Bürgmann + |
+![]() +
+Home
+Quick Tutorial
+Download
+Installation
+bmore + + |
+![]() |
+
+
+
+To perform logical operations, bvi has a set of bit-level commands. +The following commands are available: +
+The i value can be entered as a decimal number (0 - 255), +a hexadecimal number with a leading zero (0 - 0ff) or a binary number, +either with a leading B (B101) or exactly eight digits long (00000101). +
+On default the whole file is affected, but you can use the usual
+colon command address forms. In contrast to vi the addresses designate
+not line numbers but byte numbers. These addresses can be enterd in
+decimal or hexadecimal notation. +:100,500and 01A RETURN+
+
+ +Last update: Thu Jun 01 12:00:00 CEST 2000 by Gerhard Bürgmann + |
+![]() +
+Home
+Quick Tutorial
+Download
+Installation
+bmore + + |
+![]() |
+
+
+
+Inserting or deleting bytes can be dangerous on some kind of files, +because binary files are mostly executables, database files or maybe +graphic files. So you must not shift the remaining bytes to another +address. +Therefor commands for inserting or deleting bytes are disabled by +default. +You can use the r command to change a single byte, or +the R command to replace multiple characters. You can use a +numeric prefix for both commands. + +You can add characters at the end of the file using the A command. +If you start with an empty file, you can create a binary file from +scratch. If the cursor is in the ASCII section of the screen and you +type 100AxESC, you create a file +which contents 100 x'es. + +The D command can be used to truncate a file at a certain position. +Since there are no lines in a binary file, the D command deletes +to end of file. + +If you have to edit a binary file where it does not matter to move bytes +to a different address, you can enable the insert and delete commands by +typing :set memmove. +Now you are able to use the i command for inserting bytes, the +x or X command to delete the byte over or before the cursor +and those types of d commands, which does not rely on text lines +(e.g. dSPACE, dfC, d/xyz, +d$, d'a, dnG). + + +All edits can be undone by pressing the u key. + Using ex (colon) commands+The edit commands of the ex editor are usually not available in +standard vi implementations (:i[nsert], :a[ppend] +and :c[hange]). In bvi +they are available with extended options. There are five +modifiers a[scii], b[inary], d[ecimal], h[exadecimal] and +o[ctal] (ascii is default). Therefor you can insert, append +or change data in all five representations. +
+Example: +A line with only a period (.) in it will terminate the command. ++:a d +0 12 3 128 255 17 0 0 255 255 +23 24 25 128 6 6 6 +. + +You must not type values greater than a byte value (255 decimal, FF hex). +This causes an abandon of the command. +Pressing the RETURN key does not insert +a newline - character into the file. If you use :i a (insert +ascii) you can use the special characters \n, \r, \t and \0. + +An additional advantage is, that all typed bytes are inserted into the +file at once. If you insert characters in vi - mode, for every byte typed, +the whole remaining file has to be moved one position backwards. +
+
+ +Last update: Thu Jun 01 12:00:00 CEST 2000 by Gerhard Bürgmann + |
![]() + +Home + +
+Quick Tutorial
+Editing Files +Download + ++ + |
+![]() |
+
+
+
+Inserting or deleting bytes can be dangerous on some kind of files, +because binary files are mostly executables, database files or maybe +graphic files. So you must not shift the remaining bytes to another +address. +Therefor commands for inserting or deleting bytes are disabled by +default. +You can use the r command to change a single byte, or +the R command to replace multiple characters. You can use a +numeric prefix for both commands. + +You can add characters at the end of the file using the A command. +If you start with an empty file, you can create a binary file from +scratch. If the cursor is in the ASCII section of the screen and you +type 100AxESC, you create a file +which contents 100 x'es. + +The D command can be used to truncate a file at a certain position. +Since there are no lines in a binary file, the D command deletes +to end of file. + +If you have to edit a binary file where it does not matter to move bytes +to a different address, you can enable the insert and delete commands by +typing :set memmove. +Now you are able to use the i command for inserting bytes, the +x or X command to delete the byte over or before the cursor +and those types of d commands, which does not rely on text lines +(e.g. dSPACE, dfC, d/xyz, +d$, d'a, dnG). + + +All edits can be undone by pressing the u key. + Using ex (colon) commands+The edit commands of the ex editor are usually not available in +standard vi implementations (:i[nsert], :a[ppend] +and :c[hange]). In bvi +they are available with extended options. There are five +modifiers a[scii], b[inary], d[ecimal], h[exadecimal] and +o[ctal] (ascii is default). Therefor you can insert, append +or change data in all five representations. +
+Example: +A line with only a period (.) in it will terminate the command. ++:a d +0 12 3 128 255 17 0 0 255 255 +23 24 25 128 6 6 6 +. + +You must not type values greater than a byte value (255 decimal, FF hex). +This causes an abandon of the command. +Pressing the RETURN key does not insert +a newline - character into the file. If you use :i a (insert +ascii) you can use the special characters \n, \r, \t and \0. + +An additional advantage is, that all typed bytes are inserted into the +file at once. If you insert characters in vi - mode, for every byte typed, +the whole remaining file has to be moved one position backwards. +
+
+ +Last update: 17 - 06 - 2000 by Gerhard Bürgmann + |
+![]() +
+Home
+Quick Tutorial
+Download
+Installation
+bmore + + |
+![]() |
+
+
+
+The :s (substitute) command behaves a little bit
+different to that of vi. If you type a command like this in vi +:0,500s/Taste\0/Key\0/RETURN+
+This command replaces within the first 500 bytes of a file the 0 -
+terminated ASCII string "Taste"
+with the 0 - terminated
+string "Key". After the substitution
+you will find a
+character sequence "Key\0e\0" in the file. +Of course you can do also binary substitutions, similar to the search +command. The ability of remembering patterns like \(pattern\) +is currently not implemented. +
+
+ +Last update: Fri Jun 30 22:33:20 CEST 2000 by Gerhard Bürgmann + |
+![]() +
+Home
+Quick Tutorial
+Download
+Installation
+bmore + + |
+![]() |
+
+
+
+A new feature of version 1.3.0 is the Partial File Read.
+If you want to edit a file, you have not to read the file into
+memory but only the part you want to edit. You can write back this part
+into the file after editing.
+ + bvi -s 1000 large.gif ++In this case of course you cannot insert or delete bytes of the file. +The editor is set to the no memmove mode. You can write back +only as much bytes as you read before. If you add or delete bytes +even though, the extra bytes will be ignored or garbage will be +written to the file. + +It is also possible to start not at the begin of the file, but at a +certain address. To do this you have to use the option -b. +You can read the file from this starting point until the end of the file +or you can use the -s option to specify a size or the +-e option to specify an end address. + +If you read the file not from the start an offset will be set to +display the correct address at the left side of the screen. If you change this +offset with the :set offset=nnnn command, this has +no effect to the write back operation. The edited part of the +file will always be written back at the same position, where it was read. + +In the Linux /proc directory there are files which are listed +with length 0 in a directory listing. But in reality they have a content. +You can read this files, if you use the -s option and guess a +size. This size should be a little bit larger than the size you expect. + +The same guidlines can be used, if you load a block device, e.g. a +floppy disk. + + bvi -s 1450k /dev/fd0 ++After reading the device, you get a message with the value of the +real read bytes at the bottom of the screen: + + "/dev/fd0" range 0-1474559 ++Note that the size value will be used to allocate memory before +reading the file. Therefore do not choose a too large size. +Note further, that 1450k in the example above is calculated as +1450 * 1024 bytes. This gives 1484800 bytes allocated size. +If bvi reads the exact number of bytes you have asked for +in the -s option, the file may be larger. + +WARNING: + +Do not use bvi at mounted disk devices!+ Interaction with bmore+You may use bmore to browse through large files or +devices. You may use the ASCII - or Hex - search possibilities to +locate a certain section of the file.+If you see the desired part of the file on your screen, press w to +read the contents of the file displayed currently on your screen into +bvi. You can use a decimal prefix at the w - +command to read more or less bytes than displayed into bvi. + +The letter w is the next letter after v, which +is used in more and bmore to read the whole file into vi or bvi! + +If you used the ZZ or :w command, this part of the file will be +written back into the original file. + +
+
+ +Last update: Sun Jul 09 21:57:38 CEST 2000 by Gerhard Bürgmann + |
+![]() +
+Home
+Quick Tutorial
+Download
+Installation
+bmore + + |
+![]() |
+
+
+
+Additional to the well known / and ? for searching ASCII +strings there are two new commands for searching binary strings. These +are the keys \ and #. + +In the ASCII search commands / and ? you can use \n, \r, +\t and \0. You can also use regular expressions. Do not use +^ and $, because there are no lines in a binary file. +Type /foo\0RETURN to +search for the null terminated string foo in the file. +
+In the Hex section you can search for a sequence of bytes in hexadecimal
+notation, e.g. Global Search+There is also a global search option available, but only with the +print option.+Example: + +:g/text_pattern/pRETURN ++This commands are displaying all found patterns, one per screen line. +Of course you can limit the search to a certain part of the file by +specifying the starting and ending address. +Other forms of the global search command +are line oriented, therefor not useful for binary files and +not implemented, e.g. + ++
+
+ +Last update: Thu Jun 01 12:00:00 CEST 2000 by Gerhard Bürgmann + |
+![]() +
+Home
+Quick Tutorial
+Download
+Installation
+bmore + + |
+![]() |
+
+
+
+To customize bvi some additional :set options are +available. You can add them to your .bvirc +file, if you need them all the time. + + columns++You can set the number of columns on the screen to an arbitrary value. +This might be useful if you edit a file with a fixed record length.+ + memmove++This option enables the commands for inserting and deleting bytes. ++ + offset++You can change the beginning of the displayed byte numbering to a +certain number. The default address of the first byte is 0. You can +change it to 1 or to any other number by typing:+ + unixstyle++The rightmost character in the status line displays the ASCII value of +the current byte. For values below 32 you can use the notation used on +the ascii(7) man page (like NUL, SOH, STX etc.) if you do a+ + wordlength++This setting is used to define the minimum length of a "word". +A "word" is a sequence of ASCII characters within a binary +file. The commands w, b, e, W, B and E are affected by +this setting. ++
+
+ +Last update: Thu Jun 01 12:00:00 CEST 2000 by Gerhard Bürgmann + |
+![]() +
+Home
+Quick Tutorial
+Download
+Installation
+bmore + + |
+![]() |
+
+
+
+Starting with version 1.2.0 there is a new syntax for the yank and put +commands! Yank is now more similare to vi. + +
Using ex (colon) Commands+:y(ank) ++yank can be used with one or two addresses specified. One address +with no count specified copies the specified byte into the buffer. +Two addresses with no count specified copies multiple bytes +starting and ending with the specified bytes. Two addresses and a count +value copies count bytes starting at the second specified address (the +first address is ignored). If no address is specified, the current address +ist used by yank.+ +:pu(t) + +Restores previously deleted or yanked bytes after the address specified +in the put command. ++ +:o(verwrite) + +Overwrites bytes after the specified address with previously deleted or yanked +bytes. ++ +NOTE: There are currently no namend buffers available. +
+
+ +Last update: Thu Jun 01 12:00:00 CEST 2000 by Gerhard Bürgmann + |
+![]() +
+Home
+Quick Tutorial
+Download
+Installation
+bmore + + |
+![]() |
+
+
+
+This tutorial will explain all commands which behaves different to +vi. Note that, if you are on a Linux system, you will probably +have an 'improved' version of vi. Bvi is more similar to the standard +version. + + The Screen+
+The screen is divided into four areas, symbolized by four different
+colors. The magenta area contents the addresses in hexadecimal
+notation. The green area contents the values of the edited file in
+hexadecimal notation. The red area contents the same bytes in ASCII
+representation. The yellow status line displays on the left side the
+current status messages and on the right site the current position
+of the cursor and the value of the byte on this address in octal,
+hexadecimal, decimal and ASCII notation.
+ Command Line Options+There are some additional command line options in bvi:+ + +-f script ++This command provides a means for collecting a series of ex +(colon) commands into a script file, then using this file to edit +other files. Since there is no binary stream editor bsed, you +can use this option to make several global changes in a binary file. +You can do this of course with the source command (:so file) +from within bvi too. + + +-b begin ++This option causes bvi to load a file not from start but from address +begin. + + +-e end ++This option causes bvi to load a file not till end but till address +end. + + +-s size ++This option causes bvi not to load the complete file but only size +bytes. This option can also be used to read a file reported with a +length 0 like some files in the Linux /proc +directory. + +begin, end or size can be an integer value (decimal or +hexadecimal) or an integer value with an appended k (for +multiply by 1024) or m (for multiply by 1.048.576). + +You should use at most two of the three address options to avoid ambiguity! + + + Not Implemented Commands++
+
+ +Last update: Thu Oct 19 20:58:31 CEST 2000 by Gerhard Bürgmann + |
+Command Overview
+ Set Commands + |
+
+![]() |
+ + |
+ +
+
Command | BVI | VI | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Search settings |
+
| |||||||||||
Display options |
+
| |||||||||||
File options |
+
| |||||||||||
bvi options |
+
+
| + Not available. + |
+
+
+Back to the top
+
+
+![]() +
+Home
+Download
+Installation
+bmore + + |
+![]() |
+
+
+
+
+
+
+ +Last update: Thu Oct 12 20:42:01 CEST 2000 by Gerhard Bürgmann + |
+Command Overview
+ Yank and Put Commands + |
+
+![]() |
+ + |
+ +
+NOTE: the o command (overwriting put) is the only command in +bvi that uses a key for a complete different purpose than in vi. +
+
Command | BVI | VI | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Put bytes |
+
+
| |||||||||||||
+
|
+
| |||||||||||||
+
|
+
| |||||||||||||
Yank bytes |
+
+
| |||||||||||||
+
|
+
| |||||||||||||
+
|
+
| |||||||||||||
+
|
+
|
+Note that most of the commands can be used with a decimal repeat count in front +of the command! + +
+
+
+Back to the top
+
+