* Alt key on my DECstation
@ 1992-11-16 21:30 M Darrin Chaney
1992-11-17 9:04 ` John Peach
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: M Darrin Chaney @ 1992-11-16 21:30 UTC (permalink / raw)
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.)
I'd like to be able to use the Alt key for its functions, and the Compose
key for its functions. I've dug through all the possible files that I
could think of, and I can't find anything that says "this workstation's
keyboard has an Alt key" or "this workstation's keyboard doesn't have an
Alt key."
Anyone have any ideas?
Thanks-
Darrin
--
mdchaney@iubacs mdchaney@bronze.ucs.indiana.edu mdchaney@rose.ucs.indiana.edu
"I want- I need- to live, to see it all..."
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: Alt key on my DECstation
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
2 siblings, 0 replies; 4+ messages in thread
From: John Peach @ 1992-11-17 9:04 UTC (permalink / raw)
In article <Bxtvq6.Ew2@usenet.ucs.indiana.edu>, mdchaney@fractal.ucs.indiana.edu (M Darrin Chaney) writes:
|> 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.)
|>
|> I'd like to be able to use the Alt key for its functions, and the Compose
|> key for its functions. I've dug through all the possible files that I
|> could think of, and I can't find anything that says "this workstation's
|> keyboard has an Alt key" or "this workstation's keyboard doesn't have an
|> Alt key."
|>
|> Anyone have any ideas?
|>
.X11Startup...
xmodmap ~/.xmodmaprc
.xmodmaprc...
keycode 172 = Meta_L
keycode 178 = Meta_R
or whatever you want the alt keys to do.
|> Thanks-
|>
|> Darrin
|> --
|>
|> mdchaney@iubacs mdchaney@bronze.ucs.indiana.edu mdchaney@rose.ucs.indiana.edu
|>
|> "I want- I need- to live, to see it all..."
--
John Peach
Chevron (UK) Ltd.
Ninian House, Crawpeel Road, Altens, Aberdeen, AB1 4LG, Scotland.
Internet: epeas@aberdeen.chevron.com Phone: +44 224 242637
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: Alt key on my DECstation
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
2 siblings, 0 replies; 4+ messages in thread
From: Andre Beck @ 1992-11-17 15:40 UTC (permalink / raw)
Hi,
the problem is known and is simply to explain: The keys nearer to the
space bar (the Alt keys) are new to this keyboard at all, as the other
two (the mode_switch keys, NOT Compose ones) are too.
In the normal setup, the modifier mapping is bogus, coze the Alt keys
are mapped to mod2 and the modifieres to mod1, giving the problem of
most apps thinking the mods are the alts and the alts are for hell...
I run:
keycode 113 = Escape F11
keycode 90 = Break F5
clear mod1
clear mod2
add mod1 = Alt_L Alt_R
add mod2 = Mode_switch
through xmodmap and than i have:
Two real alt keys
Two keys that keep their function as mode switches. Decwrite beeps on
them, but you can use them still for the extra chars.
A compose key by pressing Alt Space as on the older keyboards.
Hope this helps you (as you see, also a physical ESC key is set onto F11)
--
,------------------------+---------------------------------------------.
| Andre' Beck (ABPSoft) | TCP/IP-Mail: beck@freia.inf.tu-dresden.de |
| HG R 142 | VMS : hermes::beck |
+------------------------+---------------------------------------------+
| Windows is the best placebo against MS-DOOF headaches ! |
`----------------------------------------------------------------------'
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: Alt key on my DECstation
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
2 siblings, 0 replies; 4+ messages in thread
From: Andrew Rutherford @ 1992-11-17 19:45 UTC (permalink / raw)
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 !
*/
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1992-11-17 19:45 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox