<<< Date Index >>>     <<< Thread Index >>>

Re: 'delete' in the line editor



On Wed, Feb 02, 2005 at 02:32:31PM -0500, Bill Nottingham wrote:
> TAKAHASHI Tamotsu (ttakah@xxxxxxxxxxxxxxxxx) said: 
> > > Haven't looked, I don't need to. A cursory read of the source *shows*
> > > that you can't get the 'delete' semantics in the line editor
> > > because NO KEY IS EVER BOUND TO THAT FUNCTION.
> > 
> > Really?
> > 
> > Try
> >     bind editor ':' delete-char
> > for example.
> > Then you will be able to delete current character with ':' key.
> 
> Perhaps I wasn't clear. I was asking *why* we don't bind, say, 
> delete, to delete-char. It's obvious that you *can*
> bind a key to it; the question is why isn't it that way by
> default.

I see. Perhaps I misunderstood you. Thanks for correcting me.
I don't know why we don't bind DEL to delete-char.
Maybe because we can bind it in /etc/Muttrc. :)
Or maybe because some terminals treat BS as DEL?
Well, I was just like a know-it-all. Forget what I said.

-- 
tamo