alt, meta, delete, backspace
alt, meta, delete, backspace
- Subject: alt, meta, delete, backspace
- From: P T Withington <email@hidden>
- Date: Tue, 28 Jan 2003 14:41:35 -0500
I prefer to have "option/alt" send Meta and "open apple/clover" send
Alt (being an emacs user, Meta is much more important to me than Alt,
and that way I can leave "Enable key equivalents under X11" set and not
lose my meta key).
I also prefer to have "delete" send Delete and "fn-delete" (or "forward
del") send BackSpace. This makes emacs in an xterm behave the same as
emacs in an X window (and sometimes I want to run emacs in an xterm
just for efficiency).
To effect this, I wrote the following .Xmodmap. But when I install
this, option-Click stops doing X-paste. xev shows that option-click is
still sending Button2, so I am mystified. (The same .Xmodmap works
without this deleterious effect under OroborOSX.)
!
! On the TiBook, the following keys have caps as listed:
!
! 60 enter
! 64 shift (both shifts)
! 67 ctrl
! 68 fn-shift (both shifts)
! 66 option
! 63 "Clover"
! 59 delete
! 84 "enter" (fn-return)
! 118 (fn-enter)
! 125 "backspace" (fn-delete)
!
! The default 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"
! and have "delete" send delete, so emacs works in an
! xterm
keycode 60 = Meta_R
keycode 63 = Alt_L
keycode 66 = Meta_L
keycode 59 = Delete
keycode 125 = BackSpace
clear Mod1
clear Mod2
clear Mod3
add Mod1 = Alt_L Alt_R
add Mod2 = Meta_L Meta_R
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe: http://www.lists.apple.com/mailman/listinfo/x11-users
Do not post admin requests to the list. They will be ignored.