Re: Missing meta key with Emacs under X11b3
Re: Missing meta key with Emacs under X11b3
- Subject: Re: Missing meta key with Emacs under X11b3
- From: John Harper <email@hidden>
- Date: Fri, 25 Apr 2003 09:30:50 -0700
On Friday, April 25, 2003, at 4:26, Adrian F. Clark wrote:
I'm sorry if this is a FAQ but I can't find an answer to my problem in
previous threads. I'm having trouble getting the meta key to work in
an xterm under Apple's X11b3. I have both "Follow system keyboard
layout" and "Enable key equivalents under X11" unchecked in my
preferences and the following ~/.xinitrc file:
to swap the meta and alt (actually, Mode_switch) keys it's not enough
to just switch which modifier bits they're assigned to. You need to
first redefine the keysyms that the keycodes are bound to - it's the
keycode->keysym mapping that controls which keys are treated as meta
and which as alt (at least, it does for standards-compliant
applications, historically some applications have always treated Mod1
as alt, but that's incorrect)
So try something like:
clear mod1
clear mod2
keycode 63 = Mode_switch
keycode 66 = Meta_L
keycode 69 = Meta_R
add mod1 = Mode_switch
add mod2 = Meta_L Meta_R
John
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/x11-users
X11 for Mac OS X FAQ: http://developer.apple.com/qa/qa2001/qa1232.html
Report issues, request features, feedback: http://developer.apple.com/bugreporter
Do not post admin requests to the list. They will be ignored.