Re: XLookupString return inconsistent

2016-09-30 Thread wettstae
> So there's no way to work around this? I can think of three: - You have two Shift keys and most likely two Mod4 keys. This gives you three more possibilities to enter the same combination. If any of this combinations works and is sufficiently convenient to type, that would be the easies

Re: XLookupString return inconsistent

2016-09-29 Thread martin f krafft
also sprach wetts...@gmail.com [2016-09-29 21:00 +0200]: > I do not know, but I do not see the benefit of doing that. It > certainly would not fix your problem, which I still think is > hardware. I think you are right. I just noticed that this only happens with my USB keyboards, not with the Thi

Re: XLookupString return inconsistent

2016-09-29 Thread wettstae
> Long story short: do you see any chance in making this bit of > legacy (nostalgia?) code configurable, or remove it altogether? I do not know, but I do not see the benefit of doing that. It certainly would not fix your problem, which I still think is hardware. Andreas __

Re: XLookupString return inconsistent

2016-09-29 Thread martin f krafft
also sprach wetts...@gmail.com [2016-09-12 18:01 +0200]: > > And moments after clicking send, I realized this is really just hardcoding > > US keyboard layout & ASCII encoding - Shift-2 is '@' and Ctrl-@ is '\0'. > > Oh, yes. And Ctrl+3-7 get mapped to 0x1b-0x1f, the control codes beyond > Ctrl-

Re: XLookupString return inconsistent

2016-09-12 Thread wettstae
> And moments after clicking send, I realized this is really just hardcoding > US keyboard layout & ASCII encoding - Shift-2 is '@' and Ctrl-@ is '\0'. Oh, yes. And Ctrl+3-7 get mapped to 0x1b-0x1f, the control codes beyond Ctrl-Z. Ctrl+8 becomes 0x7f, that is, ASCII DEL. So the full ASCII rang

Re: XLookupString return inconsistent

2016-09-12 Thread Alan Coopersmith
On 09/12/16 08:40 AM, Alan Coopersmith wrote: So Control-Shift-2 maps to the NULL character because someone three decades ago thought it useful to emulate a text terminal popular in that decade. And moments after clicking send, I realized this is really just hardcoding US keyboard layout & ASCI

Re: XLookupString return inconsistent

2016-09-12 Thread Alan Coopersmith
On 09/12/16 08:25 AM, wetts...@gmail.com wrote: Do you have any idea what might be going on? In libX11, file KeyBind.c, function _XTranslateKeySym, there is the following piece of code: /* only apply Control key if it makes sense, else ignore it */ if (modifiers & ControlMask) {

Re: XLookupString return inconsistent

2016-09-12 Thread wettstae
> Do you have any idea what might be going on? In libX11, file KeyBind.c, function _XTranslateKeySym, there is the following piece of code: /* only apply Control key if it makes sense, else ignore it */ if (modifiers & ControlMask) { if ((c >= '@' && c < '\177') || c == ' ') c &=

Re: XLookupString return inconsistent

2016-09-12 Thread Lucien Gentis
Hello, same here with french keyboard and "Shift + Ctrl_L + 2". (because on french keyboard, you have to press "Shift + 2" in order to get "2" key) Linux Ubuntu 16.04 on VirtualBox Host is Windows Seven Le 12/09/2016 à 14:21, martin f krafft a écrit : Hello, My window manager uses the nu

XLookupString return inconsistent

2016-09-12 Thread martin f krafft
Hello, My window manager uses the number keys to switch between tags (it's "awesome"). I noticed that for a while, I was no longer able to move a client to tag "2" (Mod4-Shift-2), while moving to other tags worked fine. Also, I could still switch to tag "2" (Mod4-2), so it was something about the