Path: utzoo!utgpu!watmath!clyde!att!rutgers!cmcl2!nrl-cmf!ukma!gatech!purdue!decwrl!sun!pitstop!sundc!seismo!uunet!mcvax!ukc!stl!kevin
From: kevin@stl.stc.co.uk (Kevin Lewis)
Newsgroups: comp.editors
Subject: Re: tough bug in vi
Message-ID: <875@acer.stl.stc.co.uk>
Date: 1 Dec 88 09:37:37 GMT
References: <11500001@uxh.cso.uiuc.edu> <492@solaris.UUCP> <7032@chinet.chi.il.us>
Sender: news@stl.stc.co.uk
Reply-To: kevin@stl.UUCP (Kevin Lewis)
Organization: STC Technology Limited, London Road, Harlow, Essex, UK
Lines: 24

In article <7032@chinet.chi.il.us> les@chinet.chi.il.us (Leslie Mikesell) writes:
>In article <492@solaris.UUCP> wyle@ethz.UUCP (Mitchell Wyle) writes:
>>Map the ^H char to be delete, insert as in:
>>map! ^V^H ^V^?i
>
>Doesn't work here.  If you happen to have done an "stty erase '^?'" it
>does at least delete a character, but it leaves you in a different place
>depending on whether you were at the end of a line or not.  I think that
>you really need xa if you are at the end of a line, xi otherwise.

The real problem here is that once you come out of the current insert or append,
and enter another one, you can't delete past the beginning of the insertion.
This means that you can only delete on character at a time, but you can 
continue inserting. Any answers out there? Myself, I'm happy with mapping
delete to ^H ^H, as I don't mind the text not moving backwards.

kev


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Kevin Lewis 				STC Technology Ltd
+44 279 29531 ext 2579			London Rd 
Email: kevin@stl.stc.co.uk     	        Harlow   CM17 9NA
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~