home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / sys / hp / 13111 < prev    next >
Encoding:
Internet Message Format  |  1992-11-19  |  2.0 KB

  1. Xref: sparky comp.sys.hp:13111 gnu.epoch.misc:1138
  2. Path: sparky!uunet!mcsun!ub4b!news.cs.kuleuven.ac.be!blekul11!stud01
  3. Newsgroups: comp.sys.hp,gnu.epoch.misc
  4. From: stud01@cc4.kuleuven.ac.be (Barbe Albert)
  5. Distribution: world
  6. References:  <1992NOV16.232617.11982@SIERRA.COM>
  7. Date: Thursday, 19 Nov 1992 17:51:42 +01
  8. Message-ID: <1992Nov19.174446@cc4.kuleuven.ac.be>
  9. Organization: K.U.Leuven - Academic Computing Center
  10. Subject: Re: Enabling Num_lock key behavior
  11. Nntp-Posting-Host: 134.58.8.1
  12. Lines: 44
  13.  
  14. In article <1992NOV16.232617.11982@SIERRA.COM>, ldare@sierra.com writes:
  15. > Operating System HP-UX  A.08.07 A 9000/750
  16. >
  17. > HP-700 Xterminal
  18. >
  19. > X version -  R4
  20. >
  21. > Keyboard type  C1405a
  22. >
  23. >
  24. > I am trying to get my num_lock key to behave similar to the caps_lock
  25. > key.  The behavior I would like to see is that when the num-lock key
  26. > is on, the keys on the numeric keypad generate numbers, when the
  27. > num-lock key is off, the numeric keypad generate escape sequences.
  28. >
  29. > More specifically I would use this feature in epoch.
  30. >
  31. >
  32. > Any Hints on the subject????
  33. >
  34. >
  35.  
  36. At our site the Num_Lock key is Modifier 5 (mod5). I dont know if
  37. this is also true on other systems - to check you can run "xmodmap"
  38. If so,you could use lines like this:
  39.  
  40.   (rebind-key "KP_1" 'mod5 "1")    ; keypad 1 with numlock gives: 5
  41.   (rebind-key "KP_1" nil   "\e1")  ; keypad 1 without numlock gives : ESC 1
  42.  
  43. to obtain the behaviour you'd like.
  44.  
  45. >
  46. > --
  47. > Larry S. Dare                         (206) 822-5200 X259 | W E L C O M E
  48. > #include <disclaimer.h>                          | T O T H E N E
  49. > ldare@sierra.com                                          | X T L E V E L
  50. > -OR- sgihbtn!ldare@uunet.UU.NE-OR- ..!uunet!sgihbtn!ldare | OPUS IV #21
  51.  
  52. -Bert-
  53. --
  54. ------------------------------------------------------------------------
  55. Bert Barbe | stud01@cc4.kuleuven.ac.be -or-  FHGAA98@cc1.kuleuven.ac.be
  56.            |                                        @BLEKUL11.BITNET
  57. ------------------------------------------------------------------------
  58.