Re: Request for more control over keyboard shortcuts
Re: Request for more control over keyboard shortcuts
- Subject: Re: Request for more control over keyboard shortcuts
- From: P T Withington <email@hidden>
- Date: Fri, 7 Nov 2003 22:10:26 -0500
From: Richard Johnson <email@hidden>
Date: Fri, 7 Nov 2003 02:09:23 -0800
Dear Apple,
I'm using the X11 version of Emacs under Apple's X11 server. From
years of using Emacs I'm used to making use of the Meta command keys
[...]
The simplest solution for emacs users is to remap option/alt to be your
meta key, thus freeing the command key to be the command key. I
understand that there are other X apps out there that want to use both
alt and meta, but if you really are only using emacs, this should not
be a problem.
I use the following .Xmodmap to acheive that:
!
! On the TiBook, the following keys have caps as listed:
!
! 60 enter (next to right Clover)
! 64 shift (both shifts)
! 67 ctrl
! 68 fn-shift (both shifts)
! 66 option
! 63 "Clover" (both Clovers)
! 59 delete
! 84 "enter" (fn-return)
! 118 (fn-enter)
! 125 "backspace" (fn-delete)
!
! The default Apple mapping is:
! keycode 59 = BackSpace
! keycode 60 = KP_Enter
! keycode 63 = Meta_L
! keycode 64 = Shift_L
! keycode 65 = Caps_Lock
! keycode 66 = Alt_L
! keycode 67 = Control_L
! keycode 68 = Shift_R
! keycode 69 = Alt_R
! keycode 70 = Control_R
! keycode 125 = Delete
!
! I prefer to have meta on option and alt on "Clover"
! I make the enter next to right Clover be Meta_R
! I leave BackSpace and Delete alone, and teach xterm
! to interpret them correctly.
! Cf. http://www.squish.net/docs/delbs.html
! (for powerbooks, where enter is next to right Clover)
keycode 60 = Meta_R
keycode 69 = Meta_R
keycode 63 = Alt_L
keycode 66 = Meta_L
clear Mod1
clear Mod2
add Mod1 = Alt_L Alt_R
add Mod2 = Meta_L Meta_R
_______________________________________________
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.