W3C home > Mailing lists > Public > www-amaya@w3.org > January to March 1998

Re: Alt or Meta key?

From: Irene VATTON <Irene.Vatton@imag.fr>
Date: Mon, 30 Mar 1998 14:43:17 +0200
Message-Id: <199803301243.OAA12483@tahiti.inrialpes.fr>
To: bob@rattlesnake.com
cc: www-amaya@w3.org
In-reply-to: Your message of Fri, 27 Mar 1998 20:09:08 -0500."
             <m0yIk7Q-000HzrC@rattlesnake.com> 
>     i486-decpc-linux-gnu, X toolkit
>     amaya-LINUX-ELF-1.2a
> 
> How do I configure Alt or Meta key bindings to work?
> On my system, they work with Emacs and Netscape.

Emacs and Netscape don't take the system key binding into account, but Amaya
yes.
Perhaps on your machine the Alt key send a Meta keycode.
The Meta key doesn't exist on PC keyboards and it's often mapped on the
Alt key.
See /usr/X11R6/lib/X11/XF86Config file and other key bindings defined
by your current Window manager.
The Amaya keyboard binding is executed after all these other key bindings
and there is no guaranty that the defined bindings can be applied.

> 
> According to the documentation in
> `/usr/local/Thot/doc/amaya/Configure.html' 
> I should be able to specify `Ctrl', `Alt', or `Meta' 
> as a Modifier in `/usr/local/Thot/config/amaya.keyboard'.
> 
> I have done this, but the keys do not work.  
> 
> Here are my additions to amaya.keyboard:
> 
> ## Alt key bindings
> 
> Alt <Key>v:	TtcPageUp()
> Alt <Key>r:	Reload()
> Alt <Key>w:	TtcCloseDocument()
> Alt <Key>x:	AmayaClose()
> 
> 
> The Alt key bindings failed, but these bindings work:
> 
> Ctrl <Key>x , Ctrl <Key>v:      TtcPageUp()
> Ctrl <Key>x , Ctrl <Key>r:	Reload()
> Ctrl <Key>x , Ctrl <Key>w:	TtcCloseDocument()
> Ctrl <Key>x , Ctrl <Key>c:	AmayaClose()
> 
> 
> And, also, how does one get Amaya to reread the
> amaya.keyboard without restarting a new Amaya? 
> 
> Thanks!
> 
> -- 
> 
>     Robert J. Chassell           bob@rattlesnake.com
>     Rattlesnake Enterprises      http://www.rattlesnake.com
> 

  Irene.
Received on Monday, 30 March 1998 07:43:27 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:53:18 UTC