home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / sgi / 11117 < prev    next >
Encoding:
Text File  |  1992-07-21  |  1.2 KB  |  38 lines

  1. Newsgroups: comp.sys.sgi
  2. Path: sparky!uunet!usc!sdd.hp.com!mips!odin!mikey
  3. From: mikey@sgi.com (Mike Yang)
  4. Subject: Re: Re-mapping keys?
  5. Message-ID: <1992Jul21.162447.14369@odin.corp.sgi.com>
  6. Sender: news@odin.corp.sgi.com (Net News)
  7. Nntp-Posting-Host: eukanuba.wpd.sgi.com
  8. Organization: Silicon Graphics, Inc.
  9. References: <711733882@tyranno.cs.duke.edu>
  10. Date: Tue, 21 Jul 1992 16:24:47 GMT
  11. Lines: 25
  12.  
  13. In article <711733882@tyranno.cs.duke.edu> jek@duke.cs.duke.edu (just james) writes:
  14. >Hello,
  15. >    I was wondering: is there any way to re-map the
  16. >keys on the keyboard of our Iris 4D?
  17.  
  18. Yes.  Assuming that you're running IRIX 4.0 or later, check out the
  19. man page for xmodmap.  For instance, to swap the Caps Lock and Ctrl keys,
  20. I give xmodmap the following input:
  21.  
  22. !
  23. ! Swap Caps_Lock and Control_L
  24. !
  25. remove Lock = Caps_Lock
  26. remove Control = Control_L
  27. keysym Control_L = Caps_Lock
  28. keysym Caps_Lock = Control_L
  29. add Lock = Caps_Lock
  30. add Control = Control_L
  31.  
  32. You can also do similar things with the Esc and ~ key, but I prefer to
  33. do this in a gnuemacs .emacs file.
  34.  
  35. -----------------------------------------------------------------------
  36.                  Mike Yang        Silicon Graphics, Inc.
  37.                mikey@sgi.com           415/390-1786
  38.