mike-w@cs.aukuni.ac.nz (05/17/91)
>>> On 13 May 91 21:19:27 GMT, in gnu.bash.bug >>> "Me" == mike-w@cs.aukuni.ac.nz writes: Me> I'm running 1.07-cwru, but still can't get the Meta key working in an Me> xterm window. I've tried 'stty pass8', and several other stabs in the Me> dark ... any better ideas ?? Thanks to all those who replied. Since there was such a variety of responses, I thought I'd summarise: I was rather hasty in posting this to gnu.bash.bug ... the problem was with xterm itself (having recently moved to a R4 xterm). * In the R4 xterm translation table, the event "Meta<KeyPress>" is bound to `insert-eight-bit'. However, "Meta" in this context means "Meta_L or Meta_R" rather than "a mod1 modifier". * The "Meta" key on my keyboard actually sends the "Alt_L" keysym by default, so although it was registered as a "mod1" modifier, and treated as Meta by other Xclients (eg. emacs, R3 xterm) R4 xterm did not grok it as a Meta key. * The solution (with thanks to Liam Breck <breck@risky.ecs.umass.edu>) was xmodmap -e "keysym Alt_L = Meta_L" -- /-------------------- mike-w@cs.aukuni.ac.nz ---------------------\ | Mike Williams, Computer Science, Auckland University, Aotearoa. | \-------------- What's another word for Thesaurus? ---------------/ -- New administrater uofa.
gildea@expo.lcs.mit.EDU (Stephen Gildea) (05/17/91)
I was rather hasty in posting this to gnu.bash.bug ... the problem was with xterm itself (having recently moved to a R4 xterm). * In the R4 xterm translation table, the event "Meta<KeyPress>" is bound to `insert-eight-bit'. However, "Meta" in this context means "Meta_L or Meta_R" rather than "a mod1 modifier". * The "Meta" key on my keyboard actually sends the "Alt_L" keysym by default, so although it was registered as a "mod1" modifier, and treated as Meta by other Xclients (eg. emacs, R3 xterm) R4 xterm did not grok it as a Meta key. In R4, a new X Consortium standard, the ICCCM, defined how Mod<n> keys were to be interpreted: clients must look at the keysyms of the keys on the list to deduce how that list is to be interpreted. R4 xterm correctly obeys these conventions. Emacs 18 does not. If there's any problem here, it is, "why do keyboard manufacturers put Alt keys on their keyboards, when Meta keys are so much more useful?" < Stephen MIT X Consortium