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: raf <email@hidden>
- Date: Fri, 15 Oct 2010 09:55:53 +1100
- Resent-date: Fri, 15 Oct 2010 10:06:15 +1100
- Resent-from: email@hidden
- Resent-message-id: <email@hidden>
- Resent-to: email@hidden
Jeremy Huddleston wrote:
> 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.
that's a shame. it's not special in X11 on any other platform.
and imho it should stop being special as soon as it no longer
exists (i.e. after xmodmap -e "clear Lock").
i can always fix it by installing gnu/linux or a bsd if i get sick
of being annoyed by it. :-)
cheers,
raf
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden