home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / windows / x / 19473 < prev    next >
Encoding:
Text File  |  1992-11-23  |  2.3 KB  |  51 lines

  1. Newsgroups: comp.windows.x
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!uwm.edu!linac!att!cbnewse!cbnewsd!att-out!cbnewsj!dwex
  3. From: dwex@cbnewsj.cb.att.com (david.e.wexelblat)
  4. Subject: Re: [XFree86] xterm keysym mapping
  5. Organization: AT&T
  6. Date: Mon, 23 Nov 1992 15:52:54 GMT
  7. Message-ID: <1992Nov23.155254.16130@cbnewsj.cb.att.com>
  8. References: <By1AvE.H8B@space.physics.uiowa.edu>
  9. Lines: 40
  10.  
  11. In article <By1AvE.H8B@space.physics.uiowa.edu> ljg@space.physics.uiowa.edu (Larry Granroth) writes:
  12. > I'm running XFree86 on 386BSD and was trying to create an .Xdefaults
  13. > file that would provide VT200 application keypad emulation under xterm.
  14. > The file I created (attached below) almost works except that the Num_Lock
  15. > key on my 101-key keyboard toggles the behavior of the keypad such that
  16. > in one state, for example, KP_8 behaves as expected, but after using
  17. > Num_Lock (as a VT200 PF1) the KP_8 behaves like Up (until Num_Lock is
  18. > hit again).  Also, I've discovered through trial-and-error that this
  19. > Num_Lock/KP_8/Up is recognized separately from the Up arrow in the
  20. > 4-key arrow group (i.e., remapping <Key>Up doesn't affect Num_Lock/KP_8/Up).
  21. > If I knew how to specify the keysym for Num_Lock/KP_8/Up, I could remap
  22. > it just like ~Num_Lock/KP_8 and my problem would be solved.
  23. > Below, I've added the modifier "Num_Lock" in front of the problem keypad
  24. > keys, but this doesn't work.  Does anyone know the right way to do this?
  25. > Thanks in advance for any help.  I'll summarize if appropriate.
  26. > larry-granroth@uiowa.edu
  27. The way the NumLock handling is done in X386 (and hence XFree86) is
  28. arcane, and breaks a lot of things that use translations (e.g. xterm,
  29. xcalc, and anything using the Athena Text widget - try to get an '8'
  30. from the keypad into an xedit buffer (it's not possible)).
  31.  
  32. The next public release will have a completely reworked numeric
  33. keypad.  We are beta-testing it now; I'm not sure when the public
  34. release will be (there are a bunch of other things we want to add).
  35.  
  36. Bottom line - I don't think there's any way to do what you want to do
  37. with the current XFree86.
  38.  
  39. --
  40. David Wexelblat <dwex@mtgzfs3.att.com>  (908) 957-5871
  41. AT&T Bell Laboratories, 200 Laurel Ave - 4B-421, Middletown, NJ  07748
  42.  
  43. "The meaning of life?  That's simple.  Try to be happy, try not to hurt
  44.  other people, and hope to fall in love."  -- Mallory Keaton
  45.