From: mbeattie@black.ox.ac.uk (Malcolm Beattie) Subject: Re: Xmodmap does work differenty with XF1.3 Date: Tue, 29 Jun 1993 09:41:36 GMT
In article <1993Jun28.215505.22195@tpki.toppoint.de> schiers@tpki.toppoint.de (Carsten Schiers) writes:
>I have the problem that xmodmap does not work as I supose any more. Since I
>don't understand it anyway, I simply say what I need and maybe someone
>knowing it will help me with a hint/file.
>
>I want with X a system that uses Alt as Meta for Emacs (Ctlr-v vs. Meta-v to
>scroll) and the AltGr with the germany keyboard to produce {[]}\@ and |.
>
>Now I have XConfig: everything enables, Xmodmap as of Xmodmap.gr XFree 1.3
>and an aditional entry keysym Alt_L = Meta_L at the end as worked with 1.2.
>
>With this entry, {[]} etc. will not work but beep, without emacs would not
>accept Alt as Meta.
I had problems with this to when helping install on a machine
with a German keyboard. The supplied Xmodmap.gr sets up the
correct keysyms for the keys you mention and even sets the
keycode for the physical AltGr key to generate the necessary
Mode_switch. What it fails to do is to attach the Mode_switch
to a modifier. Add the line
add mod2 = Mode_switch
to whatever file xmodmap reads in when you fire up X.
The SLS distribution of X that I installed executes
/usr/X386/lib/X11/xinit/xinitrc, if I remember correctly, which
then executes xmodmap on /usr/X386/lib/X11/xinit/.Xmodmap so I
copied Xmodmap.gr to ..../.Xmodmap and added the above magic line.
>BTW, emacs needs appcursor to be set to off, but sets it to on everytime
>it starts. Therefore cursor keys will produce letters.
>
I don't know about this I'm afraid.
>I dont't understand anything and have no idea in what kind of FAQ I should
>look. Please forgive, as I will forgive your ;-).
There is an entry (XII.16) in part 5 of the Linux FAQ about xmodmap
files for national keyboards which gives an example of keycode
settings with three characters per key but does not mention the
necessary `add modifier' command. The FAQ says
XII.16) [suggested by Thomas Koenig]
How do I support national keyboards in X11 ?
but my email to him of 9 June received no reply.
--Malcolm
-- Malcolm Beattie <mbeattie@black.ox.ac.uk> | I'm not a kernel hacker Oxford University Computing Services | I'm a kernel hacker's mate 13 Banbury Road, Oxford, OX2 6NN (U.K.) | And I'm only hacking kernels Tel: +44 865 273232 Fax: +44 865 273275 | 'Cos the kernel hacker's late