Thanks Tim,
The following lines in sqUnixX11.c doesn't seem right. When Ctrl and p are pressed at the same time, sq2KeyPlain should return ctrl-p (16r10). This code returns p instead (16r70). I don't understand why this change was made. ------ 2065 if (charCode >= 1 && charCode <= 26) { 2066 /* check for Ctrl-letter that gets translated into charCode 1-26 instead of letters a-z */ 2067 KeySym keysym = *symbolic; 2068 if (keysym >= XK_a && keysym <= XK_z) 2069 return (int)'a' + (keysym - XK_a); 2070 if (keysym >= XK_A && keysym <= XK_Z) 2071 return (int)'A' + (keysym - XK_A); ------ Could you try a build with this section removed and see if it fixes your problem?