Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: andrewr@nautilus.itd.adelaide.edu.au (Andrew Rutherford)
Subject: Re: Digital Keyboards - escape vs. tilde
Date: 2 Jun 92 23:51:55 GMT	[thread overview]
Message-ID: <7329@sirius.ucs.adelaide.edu.au> (raw)
In-Reply-To: 1992Jun2.115535.6575@devvax.mincom.oz.au

In article <1992Jun2.115535.6575@devvax.mincom.oz.au>, anita@devvax.mincom.oz.au writes:
+ Path: sirius.ucs.adelaide.edu.au!yoyo.aarnet.edu.au!munnari.oz.au!bunyip.cc.uq.oz.au!iris.mincom.oz.au!devvax.mincom.oz.au!anita
+ From: anita@devvax.mincom.oz.au

+ We are having a load of DECstations delivered. The users will be using
+ emacs on Primos and unix. They need access to the escape key and the tilde
+ key, so using the decterm option to have ~ as <escape> will not be good
+ enough.

	Well, as you're using emacs, you may want to use Alt as the Meta
Key, so you don't need escape as much, and just use F11 as escape when
nessesary. The problem you do have is that emacs assumes that whatever is
defined as mod1 is the Meta key, but mod1 are th compose keys and mod2
are the Alt keys. To get around this you do something like this:

	xmodmap -e "clear mod1" \
		-e "clear mod2" \
		-e "keycode 172 = Meta_L Alt_L" \
		-e "keycode 178 = Meta_R Alt_R" \
		-e "keycode 173 = Multi_key" \
		-e "keycode 177 = Multi_key" \
		-e "add mod1 = Meta_L Meta_R" \
		-e "add mod2 = Multi_key Multi_key"

to swap the mods around. Note the keycode lines are not really nessesary,
I put them in more for testing than anything else (before I found out about
emacs's assumption about Meta keys being mod1, as they were originally
bound as "Alt_L Meta_L". Doesnt seem to make any difference either way.)

[ ... Digression on pet peeve follows ... ]
	I have this in my .xsession file as I use xdm (the R5 version) so
I can get Xauthority records for use on student machines, etc. DEC still
haven't got this right in OSF/1, their xdm has been kludged not to
produce Xauthority records as their X programs _still_ don't understand
them. If OSF/1 V2.0 comes out (for whatever platform) still not
understanding Xauthority records, we're just going to dump all their X
stuff and run MIT R5.

Hope this helps,
		Andrew.

--
/*
 * Andrew Rutherford                    andrewr@itd.adelaide.edu.au
 * +61 8 228 5661               Real Programmers always confuse Christmas and
 * Room 1069, Adelaide Uni         Halloween because OCT 31 == DEC 25 !
 */


      parent reply	other threads:[~1992-06-02 23:51 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1992-06-02  1:55 Digital Keyboards - escape vs. tilde anita
1992-06-02 12:25 ` Mike O'Connor
1992-06-02 14:44   ` Gary Feldman
1992-06-02 12:44 ` brian.d.reed
1992-06-02 15:17 ` Marc Evans <Consultant>
1992-06-02 16:44 ` Mike Iglesias
1992-06-02 23:45 ` Digital Keyboards - escape vs. tilde (answer) anita
1992-06-02 23:51 ` 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