Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!rlgvax!golds From: golds@rlgvax.UUCP (Rich Goldschmidt) Newsgroups: comp.windows.x Subject: XRebindKeysym ? Message-ID: <663@rlgvax.UUCP> Date: Mon, 12-Oct-87 11:15:59 EDT Article-I.D.: rlgvax.663 Posted: Mon Oct 12 11:15:59 1987 Date-Received: Tue, 13-Oct-87 04:48:22 EDT Organization: Computer Consoles Inc, Reston VA Lines: 17 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