[comp.windows.x] XRebindKeysym ?

golds@rlgvax.UUCP (Rich Goldschmidt) (10/12/87)

We are running XV11.R1 on Sun workstations.  I have successfully rebound
the unshifted function keys (L1-L10 and R1-R15) to send a different
escape sequence from xterm.  However, I have been unable to rebind
the shifted function keys.  See example code fragments below.  Insights
as to why this fails, and suggestions for fixes and work arounds would
be most welcome (but I don't really want to change the server...).

static KeySym shifted[4] = {XK_Shift_L,XK_Shift_R,XK_Shift_Lock,XK_Caps_Lock};
static KeySym unshifted[1] = {0};

XRebindKeysym(dpy,XK_L1,shifted,1,"\033)s",3);   /* does not work */
XRebindKeysym(dpy,XK_L1,unshifted,1,"\033)S",3); /* works */


Rich Goldschmidt
Computer Consoles, Inc.
uunet!rlgvax!golds or rlgvax!golds@uunet.uu.net