bchen@argon.berkeley.edu (Benjamin Chen) (12/12/89)
I'm on a DECstation 3100 running the X11 that comes with Ultrix 3.1 (whichever release that is). I can't find any keysyms for <ctrl>-(letter) sequences such as <ctrl-a>. Am I supposed to use the XComposeStatus struct that is returned by XLookUpString()? If so, how? The documentation I have are the O'Reilly books and says XComposeStatus is not implemented for R2. Thanks, in advance, BC Benjamin Chen Office: 550-A4 Cory Hall, 2-4332 UUCP: !ucbvax!esvax!bchen HEPNET: LBL::"bchen@esvax.Berkeley.EDU"
swick@ATHENA.MIT.EDU (Ralph R. Swick) (12/12/89)
From: pasteur!argon.berkeley.edu!bchen@UCBVAX.BERKELEY.EDU (Benjamin Chen) I can't find any keysyms for <ctrl>-(letter) sequences such as <ctrl-a>. Thats 'cause there aren't any. If you have the modifier mapping table setup correctly (or haven't changed it since server startup), then the server will set one of the 8 modifier bits (i.e. ControlMask) in XKeyEvent.state and you can ignore the KeyPress event for Control.