Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!sundc!pitstop!sun!decwrl!decvax!ucbvax!ZERMATT.LCS.MIT.EDU!RWS From: RWS@ZERMATT.LCS.MIT.EDU (Robert Scheifler) Newsgroups: comp.windows.x Subject: V11 fix #32, lib/X/XOpenDis.c, XRebindKeysym problem Message-ID: <871026170558.0.RWS@KILLINGTON.LCS.MIT.EDU> Date: Mon, 26-Oct-87 17:05:00 EST Article-I.D.: KILLINGT.871026170558.0.RWS Posted: Mon Oct 26 17:05:00 1987 Date-Received: Thu, 29-Oct-87 01:55:13 EST References: <8710161227.AA18428@rlgvax.UUCP> Sender: daemon@ucbvax.BERKELEY.EDU Organization: The ARPA Internet Lines: 46 Date: Fri, 16 Oct 87 08:27:06 est From: Rich Goldschmidt 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. FIX: in lib/X/XOpenDis.c: *** /tmp/,RCSt1005630 Mon Oct 26 17:03:49 1987 --- XOpenDis.c Sat Oct 24 21:11:53 1987 *************** *** 1,6 **** #include "copyright.h" #ifndef lint ! static char *rcsid_xopendisplay_c = "$Header: XOpenDis.c,v 11.50 87/09/01 15:00:36 toddb Exp $"; #endif /* Copyright Massachusetts Institute of Technology 1985, 1986 */ --- 1,6 ---- #include "copyright.h" #ifndef lint ! static char *rcsid_xopendisplay_c = "$Header: XOpenDis.c,v 11.51 87/10/24 21:10:14 newman Exp $"; #endif /* Copyright Massachusetts Institute of Technology 1985, 1986 */ *************** *** 164,170 **** dpy->min_keycode = u.setup->minKeyCode; dpy->max_keycode = u.setup->maxKeyCode; dpy->keysyms = (KeySym *) NULL; ! dpy->modifiermap = XNewModifiermap(0); dpy->keysyms_per_keycode = 0; dpy->current = None; dpy->xdefaults = (char *)NULL; --- 164,170 ---- dpy->min_keycode = u.setup->minKeyCode; dpy->max_keycode = u.setup->maxKeyCode; dpy->keysyms = (KeySym *) NULL; ! dpy->modifiermap = NULL; dpy->keysyms_per_keycode = 0; dpy->current = None; dpy->xdefaults = (char *)NULL;