[comp.windows.x] Keyboardmapping for inputting special characters

zhao@ipsi.UUCP (Jian Zhao) (08/19/90)

Hallo, all,

Could anyone tell me how to do keyboardmapping for conveniently inputting 
special characters(e.g. German, French, etc) from a standard keyboard 
server-widely?  I think there are two ways:

(1)Inputting special character with compound keys(i.e.pressing some modifier 
   and another key in the same time):
     XChangeKeyboardMapping(dpy, old_code, 1, &new,1);
     /*Display *dpy; int old_code; KeySym new;*/
   But how to map more than one modifier plus another key(e.g. pressing
   <control><shift> and <a> in the same time) into a special character?
(2)How to translate(map) a sequence of keys into a special character?
   (e.g. pressing <escape>, <a>, <"> one by one, a special character will be
    inputted.)

We have X11R3, Motif1.0 in Suns.
Please send me any solutions and suggestions as soon as possible. Thanks a lot
in advance.

Jian Zhao                            GGGGGG  M       M DDDDD
================================    GG       M M   M M D    DD
IPSI, German National center       GG   GGGG M   M   M D     DD
for Computer Science               GG     G  M       M D    DD 
D6100 Darmstadt, F.R.Germany         GGGGGG  M       M DDDDD
(zhao@ipsi.darmstadt.gmd.dbp.de)