"biggun from the sun" fbiggun@hotmail.com wrote:
Changelog: Add a French keyboard layout without Euro.
Why do you need a new keyboard layout? With the new CP_UNIXCP support in place all the keys should work for you as expected. Or is it just to suppress a FIXME message? If the latter, I'd suggest to refrain from commiting this and similar patches.
With the new CP_UNIXCP
What is CP_UNIXCP all about ? Is it some kind of translation code mechanism ? I was unable to find any documentation about it.
support in place all the keys should work for you as expected.
Yes, it does.
Or is it just to suppress a FIXME message?
If it works fine ... why should i tolerate any FIXME message ? It did works before without any complain .
Stephan
"BiGgUn" fbiggun@hotmail.com wrote:
With the new CP_UNIXCP
What is CP_UNIXCP all about ? Is it some kind of translation code mechanism ? I was unable to find any documentation about it.
That's my recently committed patch aiming to avoid problems with keyboard input in different locales. See CVS logs for details.
support in place all the keys should work for you as expected.
Yes, it does.
Great.
Or is it just to suppress a FIXME message?
If it works fine ... why should i tolerate any FIXME message ? It did works before without any complain .
Perhaps we should change FIXME to WARN after some time, when the new scheme will be better tested and proved to work in the most cases.
Perhaps we should change FIXME to WARN after some time, when the new
scheme
will be better tested and proved to work in the most cases.
I don't think we can change FIXME to WARN. I presume it was leaved here to detect new Keyboard Layouts used with wine.
"Stephan BEUZE" sbeuze@hotmail.com wrote:
Perhaps we should change FIXME to WARN after some time, when the new
scheme
will be better tested and proved to work in the most cases.
I don't think we can change FIXME to WARN. I presume it was leaved here to detect new Keyboard Layouts used with wine.
It was very long time ago. Anyway, I don't see a reason to bother if the keyboard input works as expected for you.
Even with this added to the source, I dont have Euro key working : err:keyboard:X11DRV_ToUnicode Please report: no char for keysym 20AC (EuroSign) : err:keyboard:X11DRV_ToUnicode (virtKey=45,scanCode=12,keycode=1A,state=90)
And the AltGr key produces the '²' sign, but perhaps this is another problem.
Why do you need a new keyboard layout? With the new CP_UNIXCP support in place all the keys should work for you as expected. Or is it just to suppress a FIXME message? If the latter, I'd suggest to refrain from commiting this and similar patches.
-- Dmitry.
===== Sylvain Petreolle (spetreolle_at_users_dot_sourceforge_dot_net) ICQ #170597259
alias upsf='false ; while [ $? -ne 0 ] ; do cvs update -APd ; done 2>&1 |tee cvslog'
"What if tomorrow the War could be over ?" Morpheus, in "Reloaded".
___________________________________________________________ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com
"Sylvain Petreolle" spetreolle@yahoo.fr wrote:
Even with this added to the source, I dont have Euro key working : err:keyboard:X11DRV_ToUnicode Please report: no char for keysym 20AC (EuroSign) : err:keyboard:X11DRV_ToUnicode (virtKey=45,scanCode=12,keycode=1A,state=90)
That's a problem with your locale. Try to add '@euro' modifier to it. Although a patch is needed for our NLS database to change code page 28591 to 28605 for LOCALE_IDEFAULTUNIXCODEPAGE for european locales. There is a patch for that in the CX Office tree.
I would prefer be able to use my current locale (fr_FR.UTF-8). Is the RedHat implementation wrong or is it wine ?
That's a problem with your locale. Try to add '@euro' modifier to it. Although a patch is needed for our NLS database to change code page 28591 to 28605 for LOCALE_IDEFAULTUNIXCODEPAGE for european locales. There is a patch for that in the CX Office tree.
-- Dmitry.
===== Sylvain Petreolle (spetreolle_at_users_dot_sourceforge_dot_net) ICQ #170597259
alias upsf='false ; while [ $? -ne 0 ] ; do cvs update -APd ; done 2>&1 |tee cvslog'
"What if tomorrow the War could be over ?" Morpheus, in "Reloaded".
___________________________________________________________ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com
"Sylvain Petreolle" spetreolle@yahoo.fr wrote:
I would prefer be able to use my current locale (fr_FR.UTF-8). Is the RedHat implementation wrong or is it wine ?
I don't know what is wrong, but it's certainly not the Wine problem. It's a problem with Xlib which couldn't translate EuroSign keysym to character on some locales. Check it with 'xev' tool and see it for yourself.
I have no problems to type an Euro sign here () and in a terminal. ()
xev does not seem to complain about it : KeyPress event, serial 25, synthetic NO, window 0x2a00001, root 0x48, subw 0x0, time 6373806, (138,56), root:(339,614), state 0x90, keycode 26 (keysym 0x20ac, EuroSign), same_screen YES, XLookupString gives 3 bytes: ""
KeyRelease event, serial 25, synthetic NO, window 0x2a00001, root 0x48, subw 0x0, time 6373899, (138,56), root:(339,614), state 0x90, keycode 26 (keysym 0x20ac, EuroSign), same_screen YES, XLookupString gives 3 bytes: ""
comments ?
I don't know what is wrong, but it's certainly not the Wine problem. It's a problem with Xlib which couldn't translate EuroSign keysym to character on some locales. Check it with 'xev' tool and see it for yourself.
===== Sylvain Petreolle (spetreolle_at_users_dot_sourceforge_dot_net) ICQ #170597259
alias upsf='false ; while [ $? -ne 0 ] ; do cvs update -APd ; done 2>&1 |tee cvslog'
"What if tomorrow the War could be over ?" Morpheus, in "Reloaded".
___________________________________________________________ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com
"Sylvain Petreolle" spetreolle@yahoo.fr wrote:
I have no problems to type an Euro sign here (─) and in a terminal. (─)
xev does not seem to complain about it : KeyPress event, serial 25, synthetic NO, window 0x2a00001, root 0x48, subw 0x0, time 6373806, (138,56), root:(339,614), state 0x90, keycode 26 (keysym 0x20ac, EuroSign), same_screen YES, XLookupString gives 3 bytes: "─"
KeyRelease event, serial 25, synthetic NO, window 0x2a00001, root 0x48, subw 0x0, time 6373899, (138,56), root:(339,614), state 0x90, keycode 26 (keysym 0x20ac, EuroSign), same_screen YES, XLookupString gives 3 bytes: "─"
comments ?
I'd like to see a log (compress it please before sending):
+key,+keyboard,+nls,+x11drv,+event,+string
-- Dmitry.
Please find it attached.
I'd like to see a log (compress it please before sending):
+key,+keyboard,+nls,+x11drv,+event,+string
-- Dmitry.
===== Sylvain Petreolle (spetreolle_at_users_dot_sourceforge_dot_net) ICQ #170597259
alias upsf='false ; while [ $? -ne 0 ] ; do cvs update -APd ; done 2>&1 |tee cvslog'
"What if tomorrow the War could be over ?" Morpheus, in "Reloaded".
___________________________________________________________ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com