On Thu, 18 Jan 2001, Dmitry Timoshkov wrote:
> Ove Kaaven <[EMAIL PROTECTED]> wrote:
>
> > > Sure, X11 should do it for us. Hints, please: what X11 dead-key stuff?
> >
> > That's a good question. I don't really know, and don't have time to read
> > the Xlib manual right now (have to catch a flight in a few hours), but I
> > suspect it might have something to do with this XComposeStatus parameter
> > to XLookupString.
>
> Could anybody check, whether this tiny patch helps use dead keys?
I tried it but it did not help. But I not sure it significant because
when I switch to US-international I get the following message when
switching the layout:
fixme:keyboard:X11DRV_KEYBOARD_DetectLayout Your keyboard layout was not
found!
Instead of using closest match (United States 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 documentation/keyboard for more information.
So Wine may not be able to recognize dead keys anymore because of
that. My dead keys, ` and ', are not dead at all when using Wine at
least. Also it confuses my `~ key with '". The layout problem...
I retested without the patch and it seems to make no difference. In
both cases I get the following messages:
trace:key:X11DRV_ToUnicode ToUnicode about to return 1 with char b4
...
trace:key:X11DRV_ToUnicode ToUnicode about to return 1 with char 65
Note that when I switch to accents I just run xmodmap on the
following file (triggered by Alt-F11/Alt-F12 thanks to fvwm):
keycode 0x31 = dead_grave dead_tilde
keycode 0x0F = 6 dead_circumflex
keycode 0x30 = dead_acute dead_diaeresis
To restore the standard layout I run another xmodmap which restores
each key. Then Wine gives me a flurry of messages:
...
trace:key:X11DRV_KEYBOARD_DetectLayout mismatch for keycode 16, character 7
trace:key:X11DRV_KEYBOARD_DetectLayout mismatch for keycode 17, character 8
trace:key:X11DRV_KEYBOARD_DetectLayout mismatch for keycode 18, character 9
trace:key:X11DRV_KEYBOARD_DetectLayout mismatch for keycode 19, character 0
trace:key:X11DRV_KEYBOARD_DetectLayout mismatch for keycode 21, character =
trace:key:X11DRV_KEYBOARD_DetectLayout mismatch for keycode 34, character [
trace:key:X11DRV_KEYBOARD_DetectLayout mismatch for keycode 35, character ]
...
(with lots more of the same before and after)
But it still seems to work fine after that... at least in notepad.
--
Francois Gouget [EMAIL PROTECTED] http://fgouget.free.fr/
{free} || die "";