From: jv@mh.nl (Johan Vromans)
Subject: Re: keyboard remapping on DECstation 3100
Date: 23 Feb 91 11:25:35 GMT [thread overview]
Message-ID: <1991Feb23.112535.26182@pronto.mh.nl> (raw)
In-Reply-To: iho@cac.washington.edu's message of 21 Feb 91 20:40:17 GMT
In article <16896@milton.u.washington.edu> iho@cac.washington.edu (Il Oh) writes:
I have a DECstation 3100. I really hate the placement of the < and >
keys. I can remap them when I use dxterm with the "customize" option,
but not with other X clients. Is there a way to do this remapping with
other X clients? Better yet, is there a way to do this remapping
globally for all applications running on it?
Yes. The answer is "xmodmap". It is on the Supported Subsets tape, in
subset UDXUNMIT400 (unsupported MIT X11 clients).
Create a file, e.g. ".keymap", in your $HOME directory, and call
xmodmap once, from your .X11Startup:
xmodmap .keymap
IMPORTANT: Cancel any remapping you have configured in DXterm, since
this remapping takes place on the xmodmap remapped keys. You get some
kind of doubly remapped keys...
This is my .keymap file. It also takes care of the Escape key.
================ start of .keymap ================
! make sure the common functions work
keycode 113 = F11
! [~`] -> ESC and ~
keycode 191 = Escape asciitilde
! [<>] -> [`~]
keycode 201 = quoteleft asciitilde
! [,,] -> [,<]
keycode 232 = comma less
! [..] -> [.>]
keycode 237 = period greater
! Remove dangerous Caps_Lock
remove Lock = Caps_Lock
================ end of .keymap ================
Happy hacking!
Johan
--
Johan Vromans jv@mh.nl via internet backbones
Multihouse Automatisering bv uucp: ..!{uunet,hp4nl}!mh.nl!jv
Doesburgweg 7, 2803 PL Gouda, The Netherlands phone/fax: +31 1820 62911/62500
------------------------ "Arms are made for hugging" -------------------------
prev parent reply other threads:[~1991-02-23 11:25 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1991-02-21 20:40 keyboard remapping on DECstation 3100 Il Oh
1991-02-22 0:42 ` John T Kohl
1991-02-23 11:25 ` Johan Vromans [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox