home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / windows / x / 14145 < prev    next >
Encoding:
Text File  |  1992-07-21  |  1.4 KB  |  37 lines

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