*BSD News Article 11561


Return to BSD News archive

Received: by minnie.vk1xwt.ampr.org with NNTP
	id AA1644 ; Tue, 23 Feb 93 14:51:45 EST
Path: sserve!manuel.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!elroy.jpl.nasa.gov!sdd.hp.com!cs.utexas.edu!news
From: cloyce@cs.utexas.edu (Cloyce D. Spradling)
Newsgroups: comp.os.386bsd.questions
Subject: Re: patch to vi editor
Date: 18 Feb 1993 22:57:06 -0600
Organization: Not Necessarily the CS Dept, University of Texas at Austin
Lines: 21
Message-ID: <lo8q52INNgh@dimebox.cs.utexas.edu>
References: <C2nKsx.9Mp@ux1.cso.uiuc.edu>
NNTP-Posting-Host: dimebox.cs.utexas.edu
Summary: I've got them!
Keywords: vi patch editor bug

In article <C2nKsx.9Mp@ux1.cso.uiuc.edu> lwinzeler@uiuc.edu (Loren Winzeler) writes:
>Is there a bug fix or patch kit for the vi editor that comes with the
>distribution?  I have experienced a couple bugs or inconsistencies.
>
>For example, insert at the first char of a line and then hit return...
>the line would appear to have been deleted.

I have a patch for this, as well as a couple of other patches that make elvis
look more like vi (at least, vi on Suns).  I will post them tomorrow if at all
possible.

On a related note, has anyone but me experienced the problem of hitting 'dd'
and having elvis erase the line *above* the one the cursor is on?  Undoing it
and redoing the 'dd' works.  I haven't been able to discern any kind of
special conditions that it occurs under, and since it's not too frequent I
haven't gone a-hunting for it.  Are any of you secretly hoarding a patch for
this? :-)

-- 
| Cloyce D. Spradling    |           cloyce@{ccwf.cc, cs}.utexas.edu           |
| No matter how you think, you're still only *simulating* logic! |   ENTROPY!  |