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

Re: 'delete' in the line editor



On Mon, Jan 31, 2005 at 01:09:20PM -0500, Bill Nottingham wrote:
> Christoph Berg (cb@xxxxxxxx) said: 
> > Re: Bill Nottingham in <20050128193702.GB29337@xxxxxxxxxxxxxxxxxxxxxxxxx>
> > > > That's probably the old BS-vs-DEL unix issue. He should configure his
> > > > keymap and/or use "stty erase".
> > > 
> > > I don't think so. The code in question is:
> > 
> > What does the <what-key> function say about that key?
> 
> 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.

-- 
tamo