* Re: Digital Keyboards - escape vs. tilde
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
` (4 subsequent siblings)
5 siblings, 1 reply; 8+ messages in thread
From: Mike O'Connor @ 1992-06-02 12:25 UTC (permalink / raw)
In article <1992Jun2.115535.6575@devvax.mincom.oz.au> anita@devvax.mincom.oz.au writes:
: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.
:
:What do other people do?
Some dink with the xmodmap settings to make F11 a "real escape".
I think you're gonna have to think a lot of things through if you're
going to have Emacs work the same way on Primos as on Unix. Found
that out the first time I hit ^P. :)
--
Mike O'Connor
<mjo@snclib.snc.edu>
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: Digital Keyboards - escape vs. tilde
1992-06-02 12:25 ` Mike O'Connor
@ 1992-06-02 14:44 ` Gary Feldman
0 siblings, 0 replies; 8+ messages in thread
From: Gary Feldman @ 1992-06-02 14:44 UTC (permalink / raw)
I use the ~ key as ESC, the </> key as ~/`, and shift-, and shift-. for
< and >. This is easy to do with the DECterm keyboard customizations options, and is quite natural for those of us who were learned to type on computers before the larger international keyboards were introduced.
The one problem is that other windowing programs don't necessarily pick up those resources, so you may need to go into the resource files and set them manually; even so, there are probably some X applications that just ignore those resources. I don't let keyboard differences fluster me, even though I touch type, but I'm the exception, not the rule. If your users are just using DECterm, they shouldn't have any problems with this setup.
Gary
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Digital Keyboards - escape vs. tilde
1992-06-02 1:55 Digital Keyboards - escape vs. tilde anita
1992-06-02 12:25 ` Mike O'Connor
@ 1992-06-02 12:44 ` brian.d.reed
1992-06-02 15:17 ` Marc Evans <Consultant>
` (3 subsequent siblings)
5 siblings, 0 replies; 8+ messages in thread
From: brian.d.reed @ 1992-06-02 12:44 UTC (permalink / raw)
In article <1992Jun2.115535.6575@devvax.mincom.oz.au> anita@devvax.mincom.oz.au writes:
>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.
You can define the ESC key as ESC, and then use ALT ESC to get a tilde.
If you don't have the ALT key, the COMPOSE key should do the ALT function.
You can also define the <> key to generate a tilde.
-----------------------------------------------------------------------
| Brian D. Reed | Don't blame AT&T for me. |
| AT&T Network Systems | Don't blame me for AT&T. |
| Columbus, Ohio | |
| bdr@cbnewsg.cb.att.com | Try a Darn Cool Language. |
-----------------------------------------------------------------------
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: Digital Keyboards - escape vs. tilde
1992-06-02 1:55 Digital Keyboards - escape vs. tilde anita
1992-06-02 12:25 ` Mike O'Connor
1992-06-02 12:44 ` brian.d.reed
@ 1992-06-02 15:17 ` Marc Evans <Consultant>
1992-06-02 16:44 ` Mike Iglesias
` (2 subsequent siblings)
5 siblings, 0 replies; 8+ messages in thread
From: Marc Evans <Consultant> @ 1992-06-02 15:17 UTC (permalink / raw)
In article <1992Jun2.115535.6575@devvax.mincom.oz.au>, anita@devvax.mincom.oz.au writes:
|> This may be an FAQ but.....
|>
|> 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.
|>
|> What do other people do?
I add the following lines to my $HOME/.xsession file:
xmodmap -e 'keysym comma = comma less'
xmodmap -e 'keysym period = period greater'
xmodmap -e 'keycode 191 = Escape'
xmodmap -e 'keycode 201 = grave asciitilde'
- Marc
--
===========================================================================
Marc Evans - Marc@Synergytics.COM | Synergytics (603)635-8876
WB1GRH - WB1GRH@W2XO.#WPA.PA.USA.NOAM | 21 Hinds Ln, Pelham, NH 03076
---------------------------------------------------------------------------
Unix and X Software Consultant
===========================================================================
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: Digital Keyboards - escape vs. tilde
1992-06-02 1:55 Digital Keyboards - escape vs. tilde anita
` (2 preceding siblings ...)
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 ` Digital Keyboards - escape vs. tilde Andrew Rutherford
5 siblings, 0 replies; 8+ messages in thread
From: Mike Iglesias @ 1992-06-02 16:44 UTC (permalink / raw)
In article <1992Jun2.115535.6575@devvax.mincom.oz.au> anita@devvax.mincom.oz.au writes:
>This may be an FAQ but.....
>
>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.
>
>What do other people do?
I have the following line in my .X11Startup file:
xmodmap .xmodmaprc
In ~/.xmodmaprc, I have:
keysym comma = comma less
keysym period = period greater
keysym quoteleft = Escape Escape
keycode 201 = quoteleft asciitilde
remove Lock = Caps_Lock
remove Control = Control_L
keysym Control_L = Caps_Lock
keysym Caps_Lock = Control_L
add Lock = Caps_Lock
add Control = Control_L
These commands do the following:
Move < and > over , and .
Move ` and ~ to where < and > used to be
Make the original `/~ key the escape key
Switch control and caps lock
You can delete the last six lines if you don't want to switch control and
caps lock. I prefer to have control near the keys.
Mike Iglesias Internet: iglesias@draco.acs.uci.edu
University of California, Irvine BITNET: iglesias@uci
Office of Academic Computing uucp: ...!ucbvax!ucivax!iglesias
Distributed Computing Support phone: (714) 856-6926
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: Digital Keyboards - escape vs. tilde (answer)
1992-06-02 1:55 Digital Keyboards - escape vs. tilde anita
` (3 preceding siblings ...)
1992-06-02 16:44 ` Mike Iglesias
@ 1992-06-02 23:45 ` anita
1992-06-02 23:51 ` Digital Keyboards - escape vs. tilde Andrew Rutherford
5 siblings, 0 replies; 8+ messages in thread
From: anita @ 1992-06-02 23:45 UTC (permalink / raw)
I wrote,
> This may be an FAQ but.....
>
> 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.
>
> What do other people do?
>
First class thanks to Marc Evans (evans@zk3.dec.com0 who not only suggested
using xmodmap to remap the keyboard but sent a suitable sample, which we
will probably use.
Thanks also to Jack Churchill, Alan Watson and Darrin Chaney for
suggestions of ^[ and F11. For very frequent use (as is the case with the
emacs stuff these people use) I don't think the cntrl-key combination is
suitable. F11 is also in a spot they aren't used to using for escape. In
addition I have had problems on the Prime when F11 sends a CSIn~ sequence
that isn't recognized as escape!
Also - apologies. Someone here (almost on site) knew about modmaps. I just
hadn't thought to ask him. Sorry.
------------------------------------------------------------------------------
Anita Graham
anita@mincom.oz.au
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: Digital Keyboards - escape vs. tilde
1992-06-02 1:55 Digital Keyboards - escape vs. tilde anita
` (4 preceding siblings ...)
1992-06-02 23:45 ` Digital Keyboards - escape vs. tilde (answer) anita
@ 1992-06-02 23:51 ` Andrew Rutherford
5 siblings, 0 replies; 8+ messages in thread
From: Andrew Rutherford @ 1992-06-02 23:51 UTC (permalink / raw)
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 !
*/
^ permalink raw reply [flat|nested] 8+ messages in thread