From owner-freebsd-hackers Fri Aug 25 07:32:56 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.FreeBSD.org (8.6.11/8.6.6) id HAA04938 for hackers-outgoing; Fri, 25 Aug 1995 07:32:56 -0700 Received: from expo.x.org (expo.x.org [198.112.45.11]) by freefall.FreeBSD.org (8.6.11/8.6.6) with ESMTP id HAA04930 for ; Fri, 25 Aug 1995 07:32:54 -0700 Received: from exalt.x.org by expo.x.org id AA08798; Fri, 25 Aug 95 10:32:22 -0400 Received: from localhost by exalt.x.org id KAA26472; Fri, 25 Aug 1995 10:32:19 -0400 Message-Id: <199508251432.KAA26472@exalt.x.org> To: "Michael C. Newell" Cc: hackers@freefall.FreeBSD.org Subject: Re: Odd X behaviour In-Reply-To: Your message of Thu, 24 Aug 1995 19:23:32 EST. Organization: X Consortium Date: Fri, 25 Aug 1995 10:32:18 EST From: "Kaleb S. KEITHLEY" Sender: hackers-owner@FreeBSD.org Precedence: bulk > On Thu, 24 Aug 1995, Frank Nobis wrote: > > > Check wether the numlock is active or not. If You have numlock > > pressed, xterm and many other clients don't respond to mouse events as > > one would expect. > > Cool - that seemed to be it!! What's also odd os that pressing the "Num > Lock" key leaves the "Num Lock" *LIGHT* turned on, but alternatively > pressing it enables/disables the buttons. Weird. Toggle the value of the "typematic keyboard" in your CMOS setup. The newer Key Tronic keyboards and who knows what else now latch the Caps_Lock and Num_Lock keys. The BIOS won't know what kind of keyboard you've got unless you tell it. > !!*THANKS*!! for the hint! > > > This seems to be a generall X problem. This behaviour is reproducable > > on Sun workstations too. > Get thyself patched. This is fixed in fix-12. Here's a patch for xterm that didn't make it into fix-12: *** charproc.c Wed Apr 5 19:59:00 1995 --- programs/xterm/charproc.c Thu Aug 24 17:06:01 1995 *************** *** 1,5 **** /* ! * $XConsortium: charproc.c,v 1.183 95/04/05 19:59:00 kaleb Exp $ */ /* --- 1,5 ---- /* ! * $XConsortium: charproc.c /main/185 1995/08/24 17:05:11 kaleb $ */ /* *************** *** 276,301 **** */ static char defaultTranslations[] = "\ ! Shift Prior:scroll-back(1,halfpage) \n\ ! Shift Next:scroll-forw(1,halfpage) \n\ ! Shift Select:select-cursor-start() select-cursor-end(PRIMARY, CUT_BUFFER0) \n\ ! Shift Insert:insert-selection(PRIMARY, CUT_BUFFER0) \n\ ! ~Meta :insert-seven-bit() \n\ ! Meta :insert-eight-bit() \n\ ! !Ctrl :popup-menu(mainMenu) \n\ ! !Lock Ctrl :popup-menu(mainMenu) \n\ ! ~Meta :select-start() \n\ ! ~Meta :select-extend() \n\ ! !Ctrl :popup-menu(vtMenu) \n\ ! !Lock Ctrl :popup-menu(vtMenu) \n\ ! ~Ctrl ~Meta :ignore() \n\ ! ~Ctrl ~Meta :insert-selection(PRIMARY, CUT_BUFFER0) \n\ ! !Ctrl :popup-menu(fontMenu) \n\ ! !Lock Ctrl :popup-menu(fontMenu) \n\ ! ~Ctrl ~Meta :start-extend() \n\ ! ~Meta :select-extend() \n\ ! :select-end(PRIMARY, CUT_BUFFER0) \n\ ! :bell(0) \ "; static XtActionsRec actionsList[] = { --- 276,307 ---- */ static char defaultTranslations[] = "\ ! Shift Prior:scroll-back(1,halfpage) \n\ ! Shift Next:scroll-forw(1,halfpage) \n\ ! Shift Select:select-cursor-start() select-cursor-end(PRIMARY , CUT_BUFFER0) \n\ ! Shift Insert:insert-selection(PRIMARY, CUT_BUFFER0) \n\ ! ~Meta :insert-seven-bit() \n\ ! Meta :insert-eight-bit() \n\ ! !Ctrl :popup-menu(mainMenu) \n\ ! !Lock Ctrl :popup-menu(mainMenu) \n\ ! !Lock Ctrl @Num_Lock :popup-menu(mainMenu) \n\ ! ! @Num_Lock Ctrl :popup-menu(mainMenu) \n\ ! ~Meta :select-start() \n\ ! ~Meta :select-extend() \n\ ! !Ctrl :popup-menu(vtMenu) \n\ ! !Lock Ctrl :popup-menu(vtMenu) \n\ ! !Lock Ctrl @Num_Lock :popup-menu(vtMenu) \n\ ! ! @Num_Lock Ctrl :popup-menu(vtMenu) \n\ ! ~Ctrl ~Meta :ignore() \n\ ! ~Ctrl ~Meta :insert-selection(PRIMARY, CUT_BUFFER0) \n\ ! !Ctrl :popup-menu(fontMenu) \n\ ! !Lock Ctrl :popup-menu(fontMenu) \n\ ! !Lock Ctrl @Num_Lock :popup-menu(fontMenu) \n\ ! ! @Num_Lock Ctrl :popup-menu(fontMenu) \n\ ! ~Ctrl ~Meta :start-extend() \n\ ! ~Meta :select-extend() \n\ ! :select-end(PRIMARY, CUT_BUFFER0) \n\ ! :bell(0) \ "; static XtActionsRec actionsList[] = {