home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.sys.hp:13111 gnu.epoch.misc:1138
- Path: sparky!uunet!mcsun!ub4b!news.cs.kuleuven.ac.be!blekul11!stud01
- Newsgroups: comp.sys.hp,gnu.epoch.misc
- From: stud01@cc4.kuleuven.ac.be (Barbe Albert)
- Distribution: world
- References: <1992NOV16.232617.11982@SIERRA.COM>
- Date: Thursday, 19 Nov 1992 17:51:42 +01
- Message-ID: <1992Nov19.174446@cc4.kuleuven.ac.be>
- Organization: K.U.Leuven - Academic Computing Center
- Subject: Re: Enabling Num_lock key behavior
- Nntp-Posting-Host: 134.58.8.1
- Lines: 44
-
- In article <1992NOV16.232617.11982@SIERRA.COM>, ldare@sierra.com writes:
- > Operating System HP-UX A.08.07 A 9000/750
- >
- > HP-700 Xterminal
- >
- > X version - R4
- >
- > Keyboard type C1405a
- >
- >
- > I am trying to get my num_lock key to behave similar to the caps_lock
- > key. The behavior I would like to see is that when the num-lock key
- > is on, the keys on the numeric keypad generate numbers, when the
- > num-lock key is off, the numeric keypad generate escape sequences.
- >
- > More specifically I would use this feature in epoch.
- >
- >
- > Any Hints on the subject????
- >
- >
-
- At our site the Num_Lock key is Modifier 5 (mod5). I dont know if
- this is also true on other systems - to check you can run "xmodmap"
- If so,you could use lines like this:
-
- (rebind-key "KP_1" 'mod5 "1") ; keypad 1 with numlock gives: 5
- (rebind-key "KP_1" nil "\e1") ; keypad 1 without numlock gives : ESC 1
-
- to obtain the behaviour you'd like.
-
- >
- > --
- > Larry S. Dare (206) 822-5200 X259 | W E L C O M E
- > #include <disclaimer.h> | T O T H E N E
- > ldare@sierra.com | X T L E V E L
- > -OR- sgihbtn!ldare@uunet.UU.NE-OR- ..!uunet!sgihbtn!ldare | OPUS IV #21
-
- -Bert-
- --
- ------------------------------------------------------------------------
- Bert Barbe | stud01@cc4.kuleuven.ac.be -or- FHGAA98@cc1.kuleuven.ac.be
- | @BLEKUL11.BITNET
- ------------------------------------------------------------------------
-