home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.sgi
- Path: sparky!uunet!usc!sdd.hp.com!mips!odin!mikey
- From: mikey@sgi.com (Mike Yang)
- Subject: Re: Re-mapping keys?
- Message-ID: <1992Jul21.162447.14369@odin.corp.sgi.com>
- Sender: news@odin.corp.sgi.com (Net News)
- Nntp-Posting-Host: eukanuba.wpd.sgi.com
- Organization: Silicon Graphics, Inc.
- References: <711733882@tyranno.cs.duke.edu>
- Date: Tue, 21 Jul 1992 16:24:47 GMT
- Lines: 25
-
- In article <711733882@tyranno.cs.duke.edu> jek@duke.cs.duke.edu (just james) writes:
- >Hello,
- > I was wondering: is there any way to re-map the
- >keys on the keyboard of our Iris 4D?
-
- Yes. Assuming that you're running IRIX 4.0 or later, check out the
- man page for xmodmap. For instance, to swap the Caps Lock and Ctrl keys,
- I give xmodmap the following input:
-
- !
- ! Swap Caps_Lock and Control_L
- !
- remove Lock = Caps_Lock
- remove Control = Control_L
- keysym Control_L = Caps_Lock
- keysym Caps_Lock = Control_L
- add Lock = Caps_Lock
- add Control = Control_L
-
- You can also do similar things with the Esc and ~ key, but I prefer to
- do this in a gnuemacs .emacs file.
-
- -----------------------------------------------------------------------
- Mike Yang Silicon Graphics, Inc.
- mikey@sgi.com 415/390-1786
-