Re: why does control-4 generate SIGQUIT in X?
On 2012-05-22 17:02:56 -0400, Eric Cooper wrote:
> On Wed, May 23, 2012 at 07:42:14AM +1200, Chris Bannister wrote:
> > Yes, stty quit "" works!!
>
> Unfortunately, I'd still like ^\ to generate SIGQUIT, but
> "stty quit ^\" also enables ctrl-4 as an alias.
Ctrl-4 generating ^\ is a keyboard configuration setting that can
be seen with xev:
KeyPress event, serial 40, synthetic NO, window 0x3200001,
root 0x2b4, subw 0x0, time 87345747, (114,90), root:(1719,110),
state 0x4, keycode 13 (keysym 0x34, 4), same_screen YES,
XLookupString gives 1 bytes: (1c) ""
XmbLookupString gives 1 bytes: (1c) ""
XFilterEvent returns: False
Byte 1c (= 28 in decimal) is ^\.
FYI, Ctrl-3 to Ctrl-7 respectively generate 1b to 1f, and Ctrl-8
generates 7f (DEL).
Since this happens just under X, I'd say that it is related to XKB.
However the XKB keyboard description generated with
xkbcomp $DISPLAY xkb.dump
doesn't show anything related to this behavior.
--
Vincent Lefèvre <vincent@vinc17.net> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
Reply to: