Quick Tutorial |
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 OptionsThere are some additional command line options in bvi:-f scriptThis 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 beginThis option causes bvi to load a file not from start but from address begin. -e endThis option causes bvi to load a file not till end but till address end. -s sizeThis 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 |