XLookupString return inconsistent

wettstae at gmail.com wettstae at gmail.com
Mon Sep 12 16:01:17 UTC 2016


> 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
range becomes available.  It does make sense, from a perspective of text
terminals.

Andreas


More information about the xorg mailing list