[comp.emacs] strange behavior of ALT-graph key on SUN Type4-KBD

Debande%smd.ucl.ac.be@CUNYVM.CUNY.EDU ("B. Debande") (02/20/91)

Hello all,

This is a strange and very annoying problem.

The machine :
I'm running GNU emacs 18.57 on a SUN-IPC / SUNOS 4.1 with a type 4 Keyboard
(european settings), all under Xwindows (X11R4) twm.

The problem :
On my keyboard, some characters as @ # must be issued by pushing a modifier
key + another key.  I had to set the Alt-graph (keycode = 126, keysym =
Mode_switch) as modifier mod1 with xmodmap, so typing Alt_graph + '-' gives '#',
and so on.
All runs well except in emacs !  There, the Alt-graph key produces the
sequence [[-1z , so I can't issue @ # ....

What I've already done :
I tried to map [[-1z to 'ignore-key : I works but I can't issue my @ # etc...
As I'm not (yet) a lisp hacker, I stayed there.  I don't know if there is
a function that allow combining keys to produce an effect.

I tried to map another key to the Mode_switch, but unfortunately the new
key mapped to Mode_switch produces the ]]-1z ....

So I suppose that somewhere in emacs the keysym Mode_switch is mapped to
]]-1z .

The question :

Can someone help me ?

--

===============================================================================
      Dr. Benoit DEBANDE                      E-MAIL : debande@smd.ucl.ac.be
      School of Medicine                               debande@buclln11.bitnet
      Catholic University of Louvain	      FAX    : 32-2-7645322
      Av. Hippocrate 50 (50.20)               PHONE  : 32-2-7645268
      B-1200 BRUXELLES (BELGIUM)
===============================================================================
                Theory : it doesn't work an you know why
              Practice : it works an you don't know why
         C programming : it doesn't work and you don't know why
===============================================================================