Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!cs.utexas.edu!convex!pixel!gstiehl From: gstiehl@pixel.convex.com (Greg Stiehl) Newsgroups: comp.windows.x Subject: Re: Ncd keyboard num-lock Message-ID: <1991Feb12.193608.27897@convex.com> Date: 12 Feb 91 19:36:08 GMT References: <18034@memqa.uucp> Sender: news@convex.com (news access account) Reply-To: gstiehl@convex.com Organization: CONVEX Computer Corporation Lines: 51 Nntp-Posting-Host: pixel.convex.com 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 the xmodmap man page: One of the more irritating differences between keyboards is the location of the Control and Shift Lock keys. A common use of xmodmap is to swap these two keys as follows: ! ! Swap Caps_Lock and Control_L ! remove Lock = Caps_Lock remove Control = Control_L keysym Control_L = Caps_Lock keysym Caps_Lock = Control_L add Lock = Caps_Lock add Control = Control_L 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" Defining something else to be the "Num_Lock" is left as an exercize to the reader (I've always wanted to say that :-) -greg. ---------- Greg Stiehl (gstiehl@convex.com) Graphics Sofware Convex Computer Corp.