mailing-list for TeXmacs Users

Text archives Help


Re: [TeXmacs] at least !! :-) customize mod keys under mac os X [was: f(x)=&&& if x<0 and §§§ if 0<x<2 and ...]


Chronological Thread 
  • From: Alfe <address@hidden>
  • To: address@hidden
  • Subject: Re: [TeXmacs] at least !! :-) customize mod keys under mac os X [was: f(x)=&&& if x<0 and §§§ if 0<x<2 and ...]
  • Date: Wed, 11 Nov 2009 16:24:14 +0100

Hi Vincent,

El.douwen wrote:

> i wrote this
> (question: how can i write the remarks ?)
> clear Mod1
> clear Mod2
> clear Mod3
> keycode 63 = Mod_H
> keycode 66 = Mod_A
> keycode 67 = Mod_M
> add Mod1 = Mod_A
> add Mod2 = Mod_M
> add Mod = Mod_H
>
> the answer was:
> xmodmap: /Users/vincent/.Xmodmap:4: bad keysym name 'Mod_H' in keysym
> list
> xmodmap: /Users/vincent/.Xmodmap:5: bad keysym name 'Mod_A' in keysym
> list
> xmodmap: /Users/vincent/.Xmodmap:6: bad keysym name 'Mod_M' in keysym
> list
> xmodmap: /Users/vincent/.Xmodmap:7: bad keysym name 'Mod_A' in keysym
> list
> xmodmap: /Users/vincent/.Xmodmap:7: bad add modifier keysym list (empty)
> xmodmap: /Users/vincent/.Xmodmap:8: bad keysym name 'Mod_M' in keysym
> list
> xmodmap: /Users/vincent/.Xmodmap:8: bad add modifier keysym list (empty)
> xmodmap: /Users/vincent/.Xmodmap:9: bad add modifier name 'mod', not
> allowed
> xmodmap: 8 errors encountered, aborting.
>
> i feel lost... and dont know where to find any explanations...

Where did you get the values "Mod_H" etc. from? They are no valid key
symbols. Have a look at the output of 'man xmodmap' and look for names of
files mentioned in there which contain the valid keysyms. My man page, for
instance, contains this paragraph:

keysym KEYSYMNAME = KEYSYMNAME ...
The KEYSYMNAME on the left hand side is translated into match-
ing keycodes used to perform the corresponding set of keycode
expressions. The list of keysym names may be found in the
header file <X11/keysymdef.h> (without the XK_ prefix) or the
keysym database /usr/share/X11/XKeysymDB. Note that if the
same keysym is bound to multiple keys, the expression is exe-
cuted for each matching keycode.

The file /usr/include/X11/keysymdef.h then contains all the valid keysym
names (on my system).

Greetings,

Alfe



Archive powered by MHonArc 2.6.19.

Top of page