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

Re: Xterm ALT key



>Please excuse my unfamiliarity with the nomenclature of the keyboard.  I
>think this is an FAQ, but I haven't grokked the previous threads.  I am
>posting to ask why xterm persists in crummy handling of ALT so that bash
>readline is a pain, or at least, not equivalent with bash on a terminal.
>This is the case in jed, for example.  On a term, I can type \M-x using the
>ALT key, but in and Xterm it's not so, I have to hit ESC then x.  The shell
>readline keys are also not working "right" with ALT.
>
>Rxvt has gone through evolutions over the post two years in handling of ALT.
>These past few months it's been ok, but over the past two years, this
>behavior has come and gone.
>
>What will I have to do to get xterm to "do the right thing"?

To have xterms send ESC+7bit-char instead of 8bit-char, add this to
your ~/.Xresources file:

XTerm*eightBitInput: false

It tells xterm not to accept characters with the 8th (or meta) bit
set, but instead strip that bit and preceede the character with the
ESC character.

Regards,
/Anders


-- 
 -- Of course I'm crazy, but that doesn't mean I'm wrong.
Anders Hammarquist   |       Mud at Kingdoms        | iko@netg.se
NetGuide Scandinavia |   telnet kingdoms.se 1812    | Fax: +46 31 50 79 39
http://www.netg.se   |                              | Tel: +46 31 50 79 40


--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: