home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.windows.x
- Path: sparky!uunet!fmrco!fmrco!msommer
- From: fmrco!msommer@uunet.uu.net (Mark Sommer)
- Subject: Changing keymappings on a per-application basis
- Message-ID: <FMRCO!MSOMMER.92Jul21101441@ampere.uunet.uu.net>
- Sender: news@fmrco.uucp
- Organization: Fidelity Management & Research Co.
- Distribution: usa
- Date: Tue, 21 Jul 1992 15:14:41 GMT
- Lines: 25
-
- I would like to run a terminal-based application, requiring special
- keyboard keypad mappings, inside an xterm. (The application is
- actually running on a VMS Vax, talking to my Sun workstation via Kermit.
- My workstation is running mwm.)
-
- Is there a way to change the keyboard mappings -- and later restore
- them -- for a single xterm? I would like to be able to do this from a
- script, but would settle for doing it from a program. It would also be
- reasonable to dedicate a particular xterm to running this application
- -- as opposed to an arbitrary xterm -- if that makes the problem
- tractable. If I can't do this, can I change/restore the mappings for all
- xterms?
-
- If none of these are options, does anyone have a script
- that will turn the output of xmodmap (using one of the -px switches)
- into a form xmodmap understands, so I can use the output to restore
- the old mappings later? I realize this is a bad idea, but it might be
- the only solution, and one our users might tolerate.
-
- Thanks for any insights.
-
- mark
-
- --
- fmrco!msommer@uunet.uu.net
-