Re: Using Alt in xterm
Set eightBitInput to false. You might want to avoid xmodmap, too, if you can.
On Mon, Mar 11, 2002 at 02:29:40PM -0600, Mark J. Tilford wrote:
> One program I use (frotz) runs in an xterm and uses Alt-(various
> keys). The program ran fine on my old redhat system, but on this setup,
> Alt-U (or other key) simply registers as U. It works fine in character
> mode, though. Any ideas how to get it to work in X?
> (from my ~/.Xdefaults file)
> *eightBitInput: true
> *metaSendsEscape: true
> XTerm*metaSendsEscape: true
> XTerm*eightBitInput: true
> (from my ~/.xmodmap)
> keycode 113 = Mode_switch
> keycode 115 = Meta_L
> clear mod1
> add mod1 = Meta_L
> clear mod3
> add mod3 = Mode_switch
> Does anybody know how to get this to work correctly?
> Mark Jeffrey Tilford
Andrew Davenport | All good gifts around us
firstname.lastname@example.org | are sent from Heaven above.
http://www.tropnevad.org/~adavenpo | Then thank the Lord! Thank the Lord
103 Cluff Crossing Road, Apt. X-8 | for all his love!
Salem, NH 03079 | (Chorus of All Good Gifts, from GodSpell)