Re: wierd paste behaviour when capslock remapped to be a character
Re: wierd paste behaviour when capslock remapped to be a character
- Subject: Re: wierd paste behaviour when capslock remapped to be a character
- From: Jeremy Huddleston <email@hidden>
- Date: Wed, 13 Oct 2010 20:53:50 -0700
On Oct 13, 2010, at 18:02, raf wrote:
> hi,
>
> macbookpro mid-2010, macosx-10.6.4, xquartz-{2.3.5,2.5.3}
>
> i'm experiencing some behaviour i'd like to get rid of
> if possible.
>
> when the capslock key is remapped to underscore
> (using these xmodmap commands):
Yeah, capslock is special and there's not really any way to "fix" it. You'll run into trouble if you try using it for any other purpose. See DarwinUpdateModifiers in darwinEvents.c:
http://cgit.freedesktop.org/~jeremyhu/xserver/tree/hw/xquartz/darwinEvents.c
/* Capslock is special. This mask is the state of capslock (on/off),
* not the state of the button. Hopefully we can find a better solution.
*/
if(NX_ALPHASHIFTMASK & flags) {
DarwinPressModifierKey(KeyPress, NX_MODIFIERKEY_ALPHALOCK);
DarwinPressModifierKey(KeyRelease, NX_MODIFIERKEY_ALPHALOCK);
}
This is likely the origin of your dual underscores. _______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden