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