Alt Key Issue
garrett "at" bgb.cc
Fri Jul 19 03:27:01 2002
trash1 "at" PlumasBank.com wrote:
> Even if you don't get the event, you can always look at the state of the
> keyboard to see if the alt key is down when handling a keystroke. There must
> be some legacy reason for this problem.
The VNC viewer is correctly trapping the event, and sending it through a
mechanism that is at least somewhat correct, because bash is processing the
However, it's not doing things the same way a normal X server would, since
some apps (specifically emacs) know how to handle.
I was really hoping that someone would know the difference between the
events being generated on VNC and normal X, and how to config emacs to deal
with the difference.
Perhaps the standard X server is treating the Alt key as the Meta key, and
XVNC is treating it as just Alt? I don't know.
> -----Original Message-----
> From: "Beerse, Corni" [mailto:cbeerse "at" hiscom.nl]
>>From: Don Garrett [mailto:garrett "at" bgb.cc]
>> I don't understand why I'm having this problem, but maybe
>>someone else does...
>> I'm running a RedHat 7.2 machine with the RPM
>>Redhat installed. I'm using the standard windows client
>>version 3.3.3 R3 on
>> When I run emacs on the linux machine, the Alt key doesn't
>>work for escape
>>sequences. Alt-b is ignored. Explicitly hitting escape b
>>jumps back a word
>>(just as expected).
> I have similar problems with W2K viewer to Linux or HP-UX servers. Specially
> the alt and ctrl key actions don't arive timely on the unix side. I think
> there are just to much parties that like to handle these keys: first it is
> the firmware on your desktop, then the os on you desktop. If they let the
> key's pass, only then it is in the control of vncviewer. The M$Windows based
> viewer has special options to simulate ctrl and alt actions to overcome
> these problems.
> VNC-List mailing list
> VNC-List "at" realvnc.com
Don Garrett http://www.bgb.cc/garrett/
BGB Consulting garrett "at" bgb.cc