Hello all. I've been trying to get accented characters to work propperly in wine. For those who dont know, accented characters are beasts like "áéýúíó" We obtain them by pressing the dead key (mute_acute in my case) and then the key we want accented.
I'm using CVS as of yesterday. [ra@xo winecvs]$ cat wine/VERSION Wine version 20021125
As far as I can tell, dlls/x11drv/keyboard.c seems to be where my problem is.
[ra@xo ra]$ wine /home/ra/.wine/c_drive/Program\ Files/mIRC/mirc.exe fixme:keyboard:X11DRV_KEYBOARD_DetectLayout Your keyboard layout was not found! Using closest match instead (Icelandic keyboard layout) for scancode mapping. Please define your layout in windows/x11drv/keyboard.c and submit them to us for inclusion into future Wine releases. See the Wine User Guide, chapter "Keyboard" for more information.
Now, keyboard.c does have a definition for the Icelandic keyboard, but as far as I can tell it's only used to recognize what keymap is in action, and not to define it ?. I've experimented with it, things like changing the "2" key to a "b" but it did not change the keyboard layout.
The warning above is just because the definition in wine for the IS keymap doesnt match the one thats shipping with XFRee86 completely ?
Anyway. my battle for the accented characters continues. The keyboard handling in wine is unlike anything I've ever seen before. Can anyone give me a quick runthru on how keyboard handling really works in wine, and prehaps help fix this ?
Also, how are accented characters (dead keys) working in other languages ? Is this a problem limited to Icelandic or to accented characters in general ?
Thanks in advance for any help :)
On Tuesday 10 December 2002 13:05, Richard Allen wrote:
Hello all. I've been trying to get accented characters to work propperly in wine. For those who dont know, accented characters are beasts like "áéýúíó" We obtain them by pressing the dead key (mute_acute in my case) and then the key we want accented.
I'm using CVS as of yesterday. [ra@xo winecvs]$ cat wine/VERSION Wine version 20021125
As far as I can tell, dlls/x11drv/keyboard.c seems to be where my problem is.
[ra@xo ra]$ wine /home/ra/.wine/c_drive/Program\ Files/mIRC/mirc.exe fixme:keyboard:X11DRV_KEYBOARD_DetectLayout Your keyboard layout was not found! Using closest match instead (Icelandic keyboard layout) for scancode mapping. Please define your layout in windows/x11drv/keyboard.c and submit them to us for inclusion into future Wine releases. See the Wine User Guide, chapter "Keyboard" for more information.
Now, keyboard.c does have a definition for the Icelandic keyboard, but as far as I can tell it's only used to recognize what keymap is in action, and not to define it ?. I've experimented with it, things like changing the "2" key to a "b" but it did not change the keyboard layout.
The warning above is just because the definition in wine for the IS keymap doesnt match the one thats shipping with XFRee86 completely ?
Anyway. my battle for the accented characters continues. The keyboard handling in wine is unlike anything I've ever seen before. Can anyone give me a quick runthru on how keyboard handling really works in wine, and prehaps help fix this ?
Also, how are accented characters (dead keys) working in other languages ? Is this a problem limited to Icelandic or to accented characters in general ?
AFAIK this is a general problem. The attached patch should solve it. Tough it is not the proper fix (at least there is a better fix that will be merged in wine in the future). For more info see my reply to email 'Turkish keyboard Support' from yesterday.
Regards Zsolt