map alt / option key as meta in mac os x

View: New views
2 Messages — Rating Filter:   Alert me  

map alt / option key as meta in mac os x

by Vinh Nguyen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

hi all,

is it possible to do the above instead of using apple key as the meta
key?  some of the things i tried:
//modifiers.A = modifiers.M;
// apple-x is M-A-x, and alt-key is nothing, alt-x is like regular x
//modifiers.M = modifiers.A;
//con alt-letter is still greek, apple-x is like regular x
//modifier_order = ['C', 'M', 'S']; // removes apple key
//modifiers.M = new modifier(
//    function (event) { return event.altKey; },
//    function (event) { event.altKey = true; });
// above is the closest, alt-x gives M-greek letter.  if i can get rid
of greek letters.  this is taken from modules/keyboard.js

i even tried messing with keyboard.js, and removing the darwin check.
i think one of method above could work if i could disable the greek
letters / mathematical symbols in conkeror...that is disable the alt
key as some sort of shift key.  is this possible?  thanks.

vinh
--
This e-mail/fax message, including any attachments, is for the sole
use of the intended recipient(s) and may contain confidential and
privileged information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the intended recipient,
please contact the sender by reply e-mail/fax and destroy all copies
of the original message.
_______________________________________________
Conkeror mailing list
Conkeror@...
https://www.mozdev.org/mailman/listinfo/conkeror

Re: map alt / option key as meta in mac os x

by John J. Foerch :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wed, Aug 12, 2009 at 08:28:32AM -0700, Vinh Nguyen wrote:

> hi all,
>
> is it possible to do the above instead of using apple key as the meta
> key?  some of the things i tried:
> //modifiers.A = modifiers.M;
> // apple-x is M-A-x, and alt-key is nothing, alt-x is like regular x
> //modifiers.M = modifiers.A;
> //con alt-letter is still greek, apple-x is like regular x
> //modifier_order = ['C', 'M', 'S']; // removes apple key
> //modifiers.M = new modifier(
> //    function (event) { return event.altKey; },
> //    function (event) { event.altKey = true; });
> // above is the closest, alt-x gives M-greek letter.  if i can get rid
> of greek letters.  this is taken from modules/keyboard.js
>
> i even tried messing with keyboard.js, and removing the darwin check.
> i think one of method above could work if i could disable the greek
> letters / mathematical symbols in conkeror...that is disable the alt
> key as some sort of shift key.  is this possible?  thanks.

Hi Vinh,

  It would be necessary, as you suggest, to disable the
greek/mathematical symbols in order to use Alt instead of Meta.  I
have not found a way to do that.  If you find out how, please let us
know.

--
John Foerch
_______________________________________________
Conkeror mailing list
Conkeror@...
https://www.mozdev.org/mailman/listinfo/conkeror