Glynn Clements wrote:
 Raymond Toy (RT/EUS) wrote:
 
> This is somewhat off-topic, but it does relate to XEmacs.
>
> On my solaris box, gnome-terminals want to use Alt key to do
> command-line editing with bash.  But after decades (gasp!) of XEmacs
> usage, I want to use Meta key.  (Note that xterms work just fine with
> Meta).
 
 AFAICT, Gnome, GTK+ etc use "mod1" for "the other modifier"; they
 don't care which keysyms are bound to it.
 
 So, if you bind Meta_{L,R} to mod1 and either bind Alt_{L,R} to a
 different modifier or don't bind them to any modifier, Meta should
 work as expected in both gnome-terminal and XEmacs. 
Hmm.  I didn't know that.  Here is what xmodmap -pm says:
mod1        Alt_L (0xe9)
mod2        Mode_switch (0xed)
mod3        Num_Lock (0x5a)
mod4        Meta_L (0xea),  Meta_R (0xee)
So if I remove Alt_L from mod1 and make both Meta_L/R mod1, that should 
work?
Let me try it....
Hurray!!!!!  It works beautifully!
I owe you a beer!
 
 However, Xt-based apps (e.g. XTerm) understand the difference between
 Alt and Meta, and are normally configured accordingly. For XTerm, the
 altIsNotMeta, altSendsEscape, metaSendsEscape and eightBitInput
 resources may be relevant. 
xterms are working just fine with Meta, and still continue to work after 
that change.
Thank you!
Ray
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta