🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.dec
Article #3188

Re: keyboard remapping on DECstation 3100

#3188
From: Johan Vromans
Date: Sat, 23 Feb 1991 11:25
46 lines
2214 bytes
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" -------------------------
Technical Details
Message-ID: <1991Feb23.112535.26182@pronto.mh.nl>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!mcsun!hp4nl!mhres!squirrel!pronto!jv
References: <16896@milton.u.washington.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!mcsun!hp4nl!mhres!squirrel!pronto!jv
From: jv@mh.nl (Johan Vromans)
Newsgroups: comp.sys.dec
Subject: Re: keyboard remapping on DECstation 3100
Message-ID: <1991Feb23.112535.26182@pronto.mh.nl>
Date: 23 Feb 91 11:25:35 GMT
References: <16896@milton.u.washington.edu>
Sender: jv@pronto.mh.nl (Johan Vromans)
Reply-To: Johan Vromans <jv@mh.nl>
Organization: Multihouse Automation, the Netherlands
Lines: 46
In-Reply-To: iho@cac.washington.edu's message of 21 Feb 91 20:40:17 GMT