From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,748374298d447ffd X-Google-Attributes: gid1164f8,public X-Google-Thread: 10b612,748374298d447ffd X-Google-Attributes: gid10b612,public X-Google-ArrivalTime: 1992-11-17 15:28:06 PST Xref: sparky comp.sys.dec:6015 comp.unix.ultrix:8372 Path: sparky!uunet!ferkel.ucsb.edu!taco!gatech!swrinde!zaphod.mps.ohio-state.edu!caen!batcomputer!munnari.oz.au!yoyo.aarnet.edu.au!news.adelaide.edu.au!andrewr From: andrewr@iagu.itd.adelaide.edu.au (Andrew Rutherford) Newsgroups: comp.sys.dec,comp.unix.ultrix Subject: Re: Alt key on my DECstation Date: 17 Nov 1992 19:45:57 GMT Organization: The University of Adelaide Message-ID: <1ebi5lINNj46@huon.itd.adelaide.edu.au> References: NNTP-Posting-Host: iagu.itd.adelaide.edu.au X-Newsreader: TIN [version 1.1 PL6] 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 ! */