1
0
Fork 0
mirror of https://github.com/vbatts/bvi.git synced 2024-11-25 18:15:39 +00:00
bvi/html/new120.html
2015-02-20 10:57:39 -05:00

155 lines
5.7 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C/DTD HTML 3.2 Final//EN">
<html><head>
<title>BVI: CHANGES in bvi 1.2.0</title>
<link rel=stylesheet type="text/css" href="bvi.css">
</head><body bgcolor="#ffffff" background="gif/bg2.gif">
<a name="top"></a>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr><td width="1%" valign="top" align="center">
<img src="gif/dot.gif" width="130" height="1" alt="">
<hr noshade width="60%">
<p>
<a class="thl" href="index.html">Home</a><br>
</p>
<p>
<a class="thl" href="quick.html">Quick Tutorial</a><br>
</p>
<p>
<a class="thl" href="download.html">Download</a><br>
<a class="ths" href="new131.html">New in 1.3.1</a><br>
<a class="ths" href="new130.html">New in 1.3.0</a><br>
<font color="#ffffff" class="ths">New in 1.2.0<br></font>
</p>
<p>
<a class="thl" href="install.html">Installation</a><br>
</p>
<p>
<a class="thl" href="overview.html">Command Overview</a><br>
</p>
<p>
<a class="thl" href="bmore.html">bmore</a><br>
</p>
<p>
<a class="thl" href="german.html">Deutsche Beschreibung</a><br>
</p>
<hr noshade width="60%">
</td>
<td width="1%"><img src="gif/dot.gif" width="40" height="1" alt=""></td>
<td width="99%">
<table width="100%" cellspacing="0" cellpadding="0" border="0">
<tr><td width="99%">
<font class="head">CHANGES in bvi 1.2.0</font>
</td>
<td align="right" valign="bottom" width="116" rowspan="2">
<a href="index.html">
<img src="gif/bvi_s.gif" alt="BVI" width="116"
height="62" border="0"></a>
</td></tr>
<tr><td valign="bottom">
<hr noshade>
</td></tr></table>
<p>
<ul>
<li>Configuration with GNU autoconfig
<li>New <b>:set</b> options:
<ul>
<li><b>:set columns=n</b><br>
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.<BR>
Default: max number of columns, divisible by four.<BR>
Abbreviation: <B>:set cm=n</B>
<LI><B>:set memmove</B>
enables the new commands to insert or delete bytes.<BR>
Per default this commands are disabled, because e.g. in
executable files you must not move bytes.<BR>
Default: <B>:set nomemmove</B><BR>
Abbreviation: <B>:set mm</B> - <B>:set nomm</B>
<LI>The listing for <B>:set all</B> is now in
alphabetical order.
</UL>
<LI>New insert and delete commands:
<UL>
<LI><B>a</B> inserts after cursor position
<LI><B>i</B> inserts on cursor position
<LI><B>x</B> deletes byte under cursor
<LI><B>X</B> deletes byte before cursor
<LI><B>d</B> delete command with modifiers:
<UL>
<LI><B>d<FONT COLOR=#888888>SPACE</FONT></B> deletes byte under cursor
<LI><B>df<FONT COLOR=#FF0000>C</FONT></B> deletes from current position to
next character <FONT COLOR=#FF0000>C</FONT>
<LI><B>d/<FONT COLOR=#FF0000>xyz</FONT></B> deletes from current position
to first matching pattern <FONT COLOR=#FF0000>xyz</FONT>
<LI><B>d$</B> deletes from current position to EOF
<LI><B>d'<FONT COLOR=#FF0000>a</FONT></B> deletes from current positions
to mark <FONT COLOR=#FF0000>a</FONT>
<LI><B>d<FONT COLOR=#FF0000>n</FONT>G</B> deletes from current position to
byte with (decimal) address <FONT COLOR=#FF0000>n</FONT>
</UL>
</UL>
<LI>New syntax for <B>p</B> (put) command:<BR>
In previous versions of <I>bvi</I> the <B>p</B> command did an overwriting
"put". Now the bytes are inserted.
<LI>New command <B>o</B> (overwrite):<BR>
This is an overwriting "put" command. It is the only command in <I>bvi</I>
that uses a command key in a complete different way than in <I>vi</I>
(<B>o</B> opens a new line in <I>vi</I>).
<LI>New syntax for <B>y</B> (yank) command:
<UL>
<LI><B>y<FONT COLOR=#888888>SPACE</FONT></B> yanks byte under cursor
<LI><B>yf<FONT COLOR=#FF0000>C</FONT></B> yanks from current position to next
character <FONT COLOR=#FF0000>C</FONT>
<LI><B>y/<FONT COLOR=#FF0000>xyz</FONT></B> yanks from current position to
first matching pattern <FONT COLOR=#FF0000>xyz</FONT>
<LI><B>y$</B> yanks from current position to EOF
<LI><B>y'<FONT COLOR=#FF0000>a</FONT></B> yanks from current position to
mark <FONT COLOR=#FF0000>a</FONT>
<LI><B>y<FONT COLOR=#FF0000>n</FONT>G</B> yanks from current position to
byte with (decimal) address <FONT COLOR=#FF0000>n</FONT>
</UL>
<LI>New ex (colon) commands:
<UL>
<LI><B>:a(ppend) a(scii)|b(binary)|d(ecimal)|h(exadecimal)|o(ctal)</B>
<LI><B>:c(hange) a(scii)|b(binary)|d(ecimal)|h(exadecimal)|o(ctal)</B>
<LI><B>:i(nsert) a(scii)|b(binary)|d(ecimal)|h(exadecimal)|o(ctal)</B><BR>
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:
<PRE>
:i b
0 010 110 1110010 10 100
1 1001 1001 0 0
.
</PRE>
Pressing the <FONT COLOR=#888888>RETURN</FONT> key does <I>not</I> insert
a newline - character into the file. If you use <B>:i a</B> (insert
ascii) you can use the special characters \n, \r, \t and \0.
<LI><B>:d(elete)</B>
<LI><B>:g(lobal)</B> does a global search with printing found items
<LI><B>:ma(rk)</B>
<LI><B>:pu(t)</B> puts yanked bytes into the file
<LI><B>:o(verwrite)</B> is an overwriting ":put"
<LI><B>:y(ank)</B>
</UL>
<LI><B>:f newname</B> - bug fixed
<LI>new command line option <B><TT>-f script</TT></B>
<LI><B>CTRL - C</B> aborts some commands, e.g. search commands
<LI>CR moves cursor to 1st column of next screen line
<LI>Local settings according to the environment variable LANG
will be evaluated (see setlocal(3)).
</UL>
<p><font size="-1">
<a class="btop" href="#top">
<img border="0" width="16" height="7" src="gif/up.gif"
alt="Back to the top">Back to the top</a>
</font>
<hr noshade>
<i>Last update: Thu Jun 01 12:00:00 CEST 2000 by Gerhard B&uuml;rgmann</i>
</td></tr></table>
</body></html>