Subject: Re: bin/17546: vi bug fixes and extensions
To: None <cgd@broadcom.com>
From: Olaf Seibert <rhialto@polderland.nl>
List: netbsd-bugs
Date: 07/13/2002 11:17:26
On Fri 12 Jul 2002 at 16:31:32 -0700, cgd@broadcom.com wrote:
> At Thu, 11 Jul 2002 20:16:13 +0200, Olaf Seibert wrote:
> > It is supposed that if the "compatible" option is set, all other options
> > are set to disallow any incompatible changes from traditional vi.
> 
> based on experience, there are some differences between vim and
> traditional vi in the final cursor position after executing certain
> commands.  This is what's driven me nuts the most.  Not sure off-hand
> what they are, and don't have time to go and reproduce now, but i've
> definitely suffered them in the past.

I have an Ultrix installation, I will try it to see if I can find
anything like it. Ultrix' vi is, as far as I can tell, the "original
vi".

> Also, even with -C, it still puts up the lame startup screen when
> invoked with no args other than -C, it says "--INSERT--" in bold at
> the bottom of the screen when in insert mode, etc.  This is visual
> noise which happens to be very annoying to me.  not an "improvement."

But I have also seen such "INSERT MODE" messages on "original vi". I
don't recall where exactly, perhaps SunOS, but I don't have access to
such a system anymore.

In any case, this would be fixable by putting "noshowmode" in the
settings implied by "compatible". Although I'm not sure "compatible"
also aims at visual identity with "original vi", or just with functional
identity. I know that it is good enough to run complex macro sets like
hanoi, maze and life.

> cgd
-Olaf.
-- 
___ Olaf 'Rhialto' Seibert - rhialto@       -- Woe betide the one who feels
\X/ polderland.nl  -- remorse without sin - Tom Poes, "Het boze oog", 4444.