This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Define a foreign language keyboard in HP-Ux CDE, with the AltGrkey?


It is true what Franz says: applying another X-Window System Package maps the right keyboard (Spanish in my case).

So, by logical thinking you may say that Xfree86 somehow gives a keyboard mapping to CDE that is different from what it should be.

Unfortunately my time right now is restricted on the subject. Some time later I could dive into the problem and possibly the source code, so any comments that can help are welcome. There must be something simple I guess, because German keyboards (and other non-US keyboards) will suffer from the same problem.

Thanks, Hans.

Franz Roters escribió:
Hi all,

I encounter the same problem.

However, the Alt-Gr key works when I am using Exceed to log in.
Therefore I do not belief its a problem with the HP machine.

The Alt-Gr key also works in the cygwin bash for me.

Regards

Franz



Hi,

Using startxwin.bat and xev, gives me the following:

KeyPress event, serial 22, synthetic NO, window 0x800001,
root 0x3a, subw 0x0, time 25294468, (167,-13), root:(627,587),
state 0x10, keycode 113 (keysym 0xfe03, ISO_Level3_Shift), same_screen
YES, XLookupString gives 0 characters: ""

KeyPress event, serial 22, synthetic NO, window 0x800001,
root 0x3a, subw 0x0, time 25294531, (167,-13), root:(627,587),
state 0x90, keycode 113 (keysym 0xfe03, ISO_Level3_Shift), same_screen
YES, XLookupString gives 0 characters: ""

and AltGr is working well on this one.

Unfortunately I don't have xev running on the HP-UX box...

Not only CDE has the behaviour of not using AltGr, but another
X-application I use as well.

Hope it helps.

Regards, Hans.

Alexander Gottwald escribió:

On Thu, 6 Nov 2003, Hans Dekker wrote:


Hi Takuma,


       I tried Xterm and there is works OK. As I read the documentation
       on the usage of xdmcp to start a CDE environment, changing the
       XF86Config should be working, however I didn't find how to do it
       in the case of a Spanish keyboard.

What is the auto detection option you are talking about?



The autodetection changes the layout according to the layout used in
windows. This can be overridden in the XF86Config file but this not
needed in most cases.


If the layout is correct with startxwin.bat then it is also loaded with xdmcp. Maybe CDE does load a wrong modmap?


Can you try xev and press Alt-Gr?


For me it reports the following.

KeyPress event, serial 22, synthetic NO, window 0x1600001,
   root 0x3a, subw 0x1600002, time 1891239428, (55,39), root:(136,215),
   state 0x0, keycode 113 (keysym 0xfe03, ISO_Level3_Shift), same_screen
   YES, XLookupString gives 0 characters:  ""


KeyRelease event, serial 27, synthetic NO, window 0x1600001, root 0x3a, subw 0x1600002, time 1891239498, (55,39), root:(136,215), state 0x80, keycode 113 (keysym 0xfe03, ISO_Level3_Shift), same_screen YES, XLookupString gives 0 characters: ""


bye ago



-------------------------------
Dr. Franz Roters
Max-Planck-Institut fuer Eisenforschung
Abteilung Mikrostrukturphysik und Umformtechnik
Max-Planck-Str. 1
40237 Duesseldorf
Germany
Tel.: +49 (0)211-6792-393
FAX:  +49 (0)211-6792-333


.





Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]