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

Re: Backspace in xterm (again)



skribis Gilbert Laycock:
> Pete> Does Alt-backspace work for anyone in an xterm (deleting the previous
> Pete> word on bash input, for example)?  This worked fine in Bo and before.
> 
> What kind of keyboard do you have? On my 104 key ("windows 95")
> keyboard, the "windows" key produces Meta and the Alt key produces Alt 
> when in X. Meta-backspace deletes the previous word in bash in an
> xterm. Alt-backspace just deletes one character. Using an rxvt it is
> the other way around. 
> 
> It is my understanding that Meta and Alt should be separate when there
> are enough keyboard buttons to allow it, and that Meta-backspace is
> the definitive way to delete a word, since it is emulating "emacs key
> bindings".

But then `Alt-Backspace' in emacs deletes one word, as it does on
the VC and so on. So I don't see the point in doing it different
on an xterm. Nor do I think it is good: When I press `Alt-Backspace',
I want something different to happen than when I just press `Backspace'.
Whatever `different' means is discutable, but just mapping the two keys
to the same action seems not quite the best thing.

Mapping Both Alt and Esc to the same thing seem s OK to me, as that's
what happens in most other environments too.

> 
> -- 
> 
>   Gilbert Laycock                 email:          gtl1@mcs.le.ac.uk
>   Maths and Computer Science,     http://www.mcs.le.ac.uk/~glaycock
>   Leicester University            phone:         (+44) 116 252 3902
> 


Reply to: