[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to get vi to delete characters



On Mon, Jan 08, 2001 at 02:10:34AM +0000, Colin Watson wrote:
> DTi4565459@aol.com wrote:
> >Most of the time I can get vi to insert characters after entering 'i'
> >
> >Also know how to :wq etc
> >
> >But I can't figure out how to delete characters: my book says ndd will
> >delete N lines; but it doesn't work.  In insert mode, backspace key
> >often changes case of letters.  Del key doesn't delete anything.  
> 
> That sounds like either you're using a strange terminal, or a
> less-capable vi clone, or both. Debian doesn't tend to give you strange
> terminals (log in to other Unixes from Debian, though, and you'll find
> plenty; I've never bothered digging deep enough to find out which), so I
> suspect you're trying things which only work in certain vi clones.

You, of course, realize that the nvi program used by Debian does behave
in the annoying ways of the original Vi.

> First, install vim and use that as your vi. :)

And... Vim behaves slightly different from the original Vi unless you
":set compatible".  Nonetheless, Vim is great.

-- 
Eric G. Miller <egm2@jps.net>



Reply to: