home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.windows.x:14567 comp.windows.x.motif:5296
- Path: sparky!uunet!spool.mu.edu!carroll1!cerebus.cc.edu!pwickman
- From: pwickman@cerebus.cc.edu (Paul J. Wickman)
- Newsgroups: comp.windows.x,comp.windows.x.motif
- Subject: Keymap Translations on Motif-RS/6000
- Message-ID: <3257@carroll1.cc.edu>
- Date: 29 Jul 92 16:52:42 GMT
- Article-I.D.: carroll1.3257
- Sender: news@carroll1.cc.edu
- Reply-To: pwickman@cerebus.cc.edu (Paul J. Wickman)
- Followup-To: comp.windows.x
- Organization: Carroll College-Waukesha, WI
- Lines: 26
-
-
- I'm trying to remap the function keys on my RS/6000 running Motif.
- I'm trying to redefine them in the .Xdefaults file like so:
-
- ----- .Xdefaults file -----
- *aixterm.Translations: <Key>F1: string(0x1b) string(0x4f) string(0x50) \n\
- <Key>F2: string(0x1b) string(0x4f) string(0x51) \n\
- <Key>F3: string(0x1b) string(0x4f) string(0x52) \n\
- <Key>F4: string(0x1b) string(0x4f) string(0x53) \n\
- <Key>F5: string(0x1b) string(0x5b) string(0x33) string(0x31) string(0x7e
- ) \n\
- Shift<Key>F1: string(0x1b) string(0x5b) string(0x32) string(0x34) string
- (0x7e)
- ---------------------------
-
- This almost works, except the Shifted keys never get remapped. A Shifted F1
- in this case will generate the same code as the new F1.
-
- What am I doing wrong?
-
-
- This
- --
- Paul J. Wickman - Analyst/Programmer
- Harnischfeger Corporation
- Internet: pwickman@carroll1.cc.edu Phone: 414-671-7778
-