BVI: CHANGES in bvi 1.2.0

Home Quick Tutorial Download New in 1.3.2 New in 1.3.1 New in 1.3.0 New in 1.2.0 Installation Command Overview bmore Deutsche Beschreibung |  |
CHANGES in bvi 1.2.0 |
- - Configuration with GNU autoconfig New :set options: :set columns=n 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. Default: max number of columns, divisible by four. Abbreviation: :set cm=n :set memmove enables the new commands to insert or delete bytes. Per default this commands are disabled, because e.g. in executable files you must not move bytes. Default: :set nomemmove Abbreviation: :set mm - :set nomm The listing for :set all is now in alphabetical order. New insert and delete commands: a inserts after cursor position i inserts on cursor position x deletes byte under cursor X deletes byte before cursor d delete command with modifiers: dSPACE deletes byte under cursor dfC deletes from current position to next character C d/xyz deletes from current position to first matching pattern xyz d$ deletes from current position to EOF d'a deletes from current positions to mark a dnG deletes from current position to byte with (decimal) address n New syntax for p (put) command: In previous versions of bvi the p command did an overwriting "put". Now the bytes are inserted. New command o (overwrite): This is an overwriting "put" command. It is the only command in bvi that uses a command key in a complete different way than in vi (o opens a new line in vi). New syntax for y (yank) command: ySPACE yanks byte under cursor yfC yanks from current position to next character C y/xyz yanks from current position to first matching pattern xyz y$ yanks from current position to EOF y'a yanks from current position to mark a ynG yanks from current position to byte with (decimal) address n New ex (colon) commands: :a(ppend) a(scii)|b(binary)|d(ecimal)|h(exadecimal)|o(ctal) :c(hange) a(scii)|b(binary)|d(ecimal)|h(exadecimal)|o(ctal) :i(nsert) a(scii)|b(binary)|d(ecimal)|h(exadecimal)|o(ctal) The three commands above are used to append or change or insert bytes in the selected representation until you type a line containing only a dot, e.g. insert bytes in binary mode:
        	:i b
        	0 010 110 1110010 10 100
        	1 1001 1001 0 0
        	.
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. :d(elete) :g(lobal) does a global search with printing found items :ma(rk) :pu(t) puts yanked bytes into the file :o(verwrite) is an overwriting ":put" :y(ank) :f newname - bug fixed new command line option `-f script` CTRL - C aborts some commands, e.g. search commands CR moves cursor to 1st column of next screen line Local settings according to the environment variable LANG will be evaluated (see setlocal(3)). Back to the top Last update: June, 1st 2000 by Gerhard Bürgmann, Purkersdorf/Austria