mailing-list for TeXmacs Users

Text archives Help


Re: key modifier


Chronological Thread 
  • From: Jan Peters <address@hidden>
  • To: address@hidden, address@hidden
  • Subject: Re: key modifier
  • Date: Sat, 10 May 2003 11:42:21 -0700

Hi David!

I am still trying to activate the Alt-Option key on my Mac
Titanium with Apple X11. I tried your script alt-gr.mod, but somehow I must be doing
something wrong. I have the following xmodmap:

jrpeters@cezannne> xmodmap
xmodmap: up to 3 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 Alt_R (0x45)
mod2 Meta_L (0x3f)
mod3 Alt_R (0x45)
mod4 Meta_L (0x3f), Meta_L (0x73)
mod5

Can you tell me what I am doing wrong?
Best wishes,
-Jan



On Monday, April 28, 2003, at 09:39 AM, David Allouche wrote:

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
<meta.mod><alt-gr.mod>



  • Re: key modifier, Jan Peters, 05/02/2003
    • <Possible follow-up(s)>
    • Re: key modifier, Jan Peters, 05/10/2003

Archive powered by MHonArc 2.6.19.

Top of page