From: andrewr@iagu.itd.adelaide.edu.au (Andrew Rutherford)
Subject: Re: Alt key on my DECstation
Date: 17 Nov 1992 19:45:57 GMT [thread overview]
Message-ID: <1ebi5lINNj46@huon.itd.adelaide.edu.au> (raw)
In-Reply-To: Bxtvq6.Ew2@usenet.ucs.indiana.edu
M Darrin Chaney (mdchaney@fractal.ucs.indiana.edu) wrote:
+ Here's a question that I hope someone can answer. I've got a DECstation
+ 5000/120 running Ultrix 4.2a. My keyboard, an LK401-AA (Rev. A01) comes
+ complete with two Compose keys and two Alt keys. Unfortunately, all
+ applications that have a use for both (DECwrite, for instance) insist on
+ making me use the Compose key for both. If I hold it, and press another
+ key, it is an Alt key. If I press it and let it up, it's a Compose key.
+ The same holds true for things like Mwm which has a use only for Alt. I
+ have to use Compose in its place for things like the window menus (minimize,
+ maximize, etc.)
Try this:
/usr/bin/X11/xmodmap \
-e "clear mod1" \
-e "clear mod2" \
-e "add mod1 = Alt_L Alt_R" \
-e "add mod2 = Multi_key Multi_key"
I had problems with emacs wanting me to press the compose key for
Meta, and I discovered emacs assumes that the modifier mod1 is the Alt
keys, and that Dec's Xws starts up with Compose (otherwise known as
Multi_key) as mod1 and Alt as mod2. The above swaps them around.
Note: this works for me with the Xws and emacs that DEC
provide with OSF/1, your mileage may vary with apps other than emacs.
Mwm also understands the Alt as Alt once you've done this.
Possible suggestion for DEC: It would be nice if you changed
the Xserver so the keys defaulted to that way around so that your own
apps work correctly. On the other hand, I mentioned this to my local
DEC office back in May (when I got OSF/1, I seem to recall hitting the
same problem in Ultrix before then), so something may be being done
about it.
Cya all,
Andrew.
/*
* Andrew Rutherford andrewr@itd.adelaide.edu.au
* +61 8 228 5669 Real Programmers always confuse Christmas and
* Room 1060, Adelaide Uni Halloween because OCT 31 == DEC 25 !
*/
prev parent reply other threads:[~1992-11-17 19:45 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1992-11-16 21:30 Alt key on my DECstation M Darrin Chaney
1992-11-17 9:04 ` John Peach
1992-11-17 15:40 ` Andre Beck
1992-11-17 19:45 ` Andrew Rutherford [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