Path: utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!chinacat!sequoia!memqa!qfhca81 From: qfhca81@memqa.uucp (Henry Melton) Newsgroups: comp.windows.x Subject: Re: Ncd keyboard num-lock Message-ID: <18285@memqa.uucp> Date: 13 Feb 91 09:24:39 GMT References: <18034@memqa.uucp> <1991Feb12.193608.27897@convex.com> Organization: Memory R&QA, Motorola SPD Lines: 47 In article <1991Feb12.193608.27897@convex.com>, gstiehl@pixel.convex.com (Greg Stiehl) writes: > In article <18034@memqa.uucp>, qfhca81@memqa.uucp (Henry Melton) writes: >> I am currently using an NCD X-terminal with their RT-101 keyboard. This >> keyboard has the NUM-LOCK key on the upper left of the keypad, where the DEC >> style "gold-key" is. I have re-defined the NUM-LOCK key to generate the >> correct escape sequence for the DEC applications. However, it still lights the >> num-lock light and performs the num-lock function, and when lit, does not >> generate the escape sequence. >> >> How can I completely get rid of this num-lock activity? > > From a xmodmap -pm of my office mates NCD: > > shift Shift_L (0x12) > lock Caps_Lock (0x11) > control Control_L (0x14) > mod1 Alt_L (0x19) > mod2 > mod3 > mod4 > mod5 Num_Lock (0x76) > > I would try giving this to xmodmap: > > remove mod5 = Num_Lock > keysym Num_Lock = "gold-key escape sequence" > I agree that it _ought_ to work, but it doesn't. What you suggest is a variant of what I had tried before, but after applying your version, and removing mod5, .eg, shift Shift_L (0x12), Shift_R (0x59) lock Caps_Lock (0x11) control Control_L (0x14), Control_R (0x58) mod1 Alt_L (0x19), Alt_R (0x39) mod2 mod3 mod4 mod5 I STILL see the num-lock light toggle and the escape sequence only generated every other time. :-( -- Henry Melton qfhca81@memrqa.sps.mot.com {slow} qfhca81@memqa ..!cs.utexas.edu!execu!sequoia!memqa!qfhca81 {home} henry@hutto ..!emx.utexas.edu!hutto!henry