Skip to Content.
Sympa Menu

texmacs-users - Re: key modifier

Subject: mailing-list for TeXmacs Users

List archive

Re: key modifier


Chronological Thread 
  • From: David Allouche <address@hidden>
  • To: address@hidden
  • Subject: Re: key modifier
  • Date: Mon, 28 Apr 2003 18:39:19 +0200

On Mon, Apr 28, 2003 at 10:39:37AM +0200, Luca wrote:
>
> xmodmap: up to 2 keys per modifier, (keycodes in parentheses):
>
> shift Shift_L (0x40), Shift_R (0x44)
> lock Caps_Lock (0x41)
> control Control_L (0x43), Control_R (0x46)
> mod1 Mode_switch (0x42), Alt_R (0x45)
> mod2 Meta_L (0x3f)

Try removing Mode_switch from the list of mod1 keys.

> and i did set the preferences of texmacs such as to use
> edit->preferences->keyboard->A modifier->Equivalent for mod1 So I
> suppose that i shold use the key in the xmodmap under mod1 and using
> xev i Did figure that it is the alt-option key of my ibook
> keyboard...

Up to now, that is okay, but X11 keymap for Apple keybords associate
the Alt key to what is usually named Alt-Gr on PC keyboards (the
Mode_switch keysym).

> but nothing happens in texmacs as i use is....
>
> instead od for example producing a section pressing A-1 it produces
> a ! inverted....(the one you use in Spanish to start an exclamation)
> Am I doing something wrong? Thanks luca

Sounds very much like you have Alt-Gr behaviour. I am under the
impression that Alt-Gr plane switching is assiociated to key with the
Mode_switch keysym and not a particular mod.

Attached a couple of xmodmap script I use on my own iBook.

--
-- DDAA
keycode 115=Meta_L
add mod4 = Meta_L
remove mod3 = Mode_switch
keysym KP_Enter = Mode_switch
add mod3 = Mode_switch



Archive powered by MHonArc 2.6.19.

Top of Page