\s+4Ex differences \- version 1.1 to 2.0\s0
This sheet summarizes the differences between the old version 1.1 of
is available as the standard
on the \s-2VAX\s0 on the 5th floor of Evans,
and as a new and experimental version
in /usr/new on the Cory 11/70.
It will soon be available in /usr/new on the Computer Center and Ingres
Send problems over the Berkeley network to ``vax:bill''.
\s+2Changes to existing features\s0
have been deleted because of lack of use.
option will soon be superseded by the environment feature of version 7
\s-2UNIX\s0 and has been deleted.
option is superseded by the
of version 7 and has also been deleted.
option has been deleted; use ``mesg n'' at the system command level
to inhibit interconsole messages.
option is replaced by a more general mechanism which allows portions of the
buffer to be processed through specified commands; you can get
processing on lines 1 to 100 of a file by doing ``1,100!iul''.
This replaces the lines 1 to 100 by the output of an
command, giving the command these lines as input.
The alternate filename is now represented as `#' rather than `\`', since
`\`' is a shell metacharacter. The editor now uses a shell to expand
filenames containing shell metacharacters. If you use
then you can use all the shell metasyntax in forming new filenames,
including home directory references with `~' and variables you define in
Control characters are now represented as `^\fIx\fR'; thus a control X is
printed as `^X'; the delete character is represented `^?'.
There have been major changes to open/visual (incompatible ones are described
It is no longer possible to
discard changes by repeating the
You must use the variant form \fBquit!\fR to get out of the editor discarding
Similarly the variant forms \fBe!\fR and \fBnext!\fR must be used to edit
a new file or the next file without saving changes you have made.\*(dg
Less useful are \fBrewind!\fR and \fBrecover!\fR.
A new form of the `!' shell escape replaces the
Thus the command ``1,10expand'' of the old version is replaced by
``1,10!expand'' in the new.
Note also that the command abbreviation
command, which has been deleted, but rather refers to the new
command has been changed; the files are no longer numbered, rather
the entire argument list is always printed with the current file name
command output has been changed;
the editor says `[Not edited]' in the rare case that this is true rather
than saying `[Edited]'. The command also gives the percentage of the way
into the buffer that the current line is.
command has been improved;
``set all'' now prints in a three column format.
The commands ``set %'', ``set !'' and ``set \`'' have been deleted.
The command ``set'' now prints in a one line format rather than down
\s+2Changes to open and visual\s0
A large number of changes have been made to open and visual;
we summarize only the most noticeable ones here. See the attached reference
card for more information, and (even if you know
how to use visual already) you should look at
.I "An Introduction to Text Editing with Vi".
We do not discuss any of the new commands in visual here.\(dg
\(dg It is now possible to edit with the focus of the editing
using a new \fB:\fR command from within visual to run command mode commands.
The delete line command is now \fBdd\fR rather than \fB\e\e\fR (\fB\e\e\fR
In fact, \fBd\fR and other operators can now operate on lines; thus
\fBdL\fR deletes to the last line on the screen.
The shift commands \fB<\fR and \fB>\fR are now operators, thus
\fB<<\fR and \fB>>\fR now have the effect that \fB<\fR and \fB>\fR used
The command \fBv\fR has been deleted; only its synonym \fBz\fR remains.
The \fBK\fR operation has been moved to \fBm\fR; \fBK\fR has no meaning
The \fB^S\fR operation has been deleted, but \fB^G\fR does a sync, and
also prints some information.
The \fB^W\fR operation has been deleted (use \fBB\fR).
The \fB#\fR, \fB@\fR and \fB^X\fR operations have been deleted.
To delete to the beginning of the line use \fBd0\fR; the commands and
\fBx\fR and \fBX\fR are similar to \fB#\fR.
During inputs, \fB^W\fR backs up like \fBb\fR rather than \fBB\fR.
Terminal support has been vastly improved; the editor will now drive most
any display terminal, using all terminal features such as cursor addressing,
clear to end of line, insert and delete line and insert and delete character.
To help performance on slow terminals some options are now set based on the
intelligence and speed of the terminal; in particular, the default window
size is 1/2 a full screen at 300 baud, or 2/3 of a full screen at 1200 baud.