Hello all,
I know this will only interest a small portion of you but thought i would give a quick update on the state of IMM32 since I have brought it to a major milestone.
All the main patches are in which now separate IMM32 and IMEs. There is still more work to do but the major framework is in place. X11 XIM processing should be unchanged. However wine can now begin to load native windows IMEs as well.
I have tested with windows ATOK20 (a popular Japanese IME) and successfully had text processing in a fully IME aware application. There are still clear issues to resolve in many aspects of this processing but we have forward progress.
ImmInstallIME does not work yet, nor does switching keyboards. So to get the native IME to work you need to add this registry key.
[System\CurrentControlSet\Control\Keyboard Layouts\<keyboard layout>] "Ime File"=<IME filename>
so for example for ATOK20 in Japanese i used.
[System\CurrentControlSet\Control\Keyboard Layouts\e0010411] "Ime File"="ATOK20W.IME"
I would love to hear how well things work. I am sure using native IMEs will quickly show us many places where IMM32 needs to be improved.
One issues I am going to investigate next is that sometimes non x11drv ime initialization, if occurring too early, causes x11drv to fail to create windows. I have not investigated with the latest changes to xim.c (which may already correct this problem) but if you see this problem this patch may help and i believe the IME_UpdateAssociation(NULL) is already unneeded.
diff --git a/dlls/winex11.drv/xim.c b/dlls/winex11.drv/xim.c index d4df9f7..0c98136 100644 --- a/dlls/winex11.drv/xim.c +++ b/dlls/winex11.drv/xim.c @@ -475,7 +475,6 @@ static void X11DRV_OpenIM(Display *display, XPointer ptr, XP XUnregisterIMInstantiateCallback(display, NULL, NULL, NULL, X11DRV_OpenIM, wine_tsx11_unlock(); IME_XIMPresent(TRUE); - IME_UpdateAssociation(NULL); }
thanks, -aric
Aric Stewart wrote:
I have tested with windows ATOK20 (a popular Japanese IME) and successfully had text processing in a fully IME aware application.
Great!!!!
I have tested with "MS IME 2002(imekr61.ime)", "MS IME 2003(imekr70.ime)", and "Saenaru(saenaru.ime)" [1]. These all are works with next two patches.
Default conversion mode toggle key of Korean IME is Hangul( == XK_Hangul == VK_Hangul).
Regards...
Thanks. ---- [1] Saenaru, Korean Free IME, http://kldp.net/projects/saenaru/ http://kldp.net/frs/download.php/4353/Saenaru-1.0.1.exe
INSTALL & SETUP $ wine Saenaru-1.0.1.exe $ regedit wine_saenaru.reg
Conversion mode toggle key: Shift+Space(by wine_saenaru.reg) or Hangul(default)
Wonderful!
I am glad you have this working for you as well. I think this will make it much easier to test and greatly improve our IME support in WINE.
-aric
ByeongSik Jeon wrote:
Aric Stewart wrote:
I have tested with windows ATOK20 (a popular Japanese IME) and successfully had text processing in a fully IME aware application.
Great!!!!
I have tested with "MS IME 2002(imekr61.ime)", "MS IME 2003(imekr70.ime)", and "Saenaru(saenaru.ime)" [1]. These all are works with next two patches.
Default conversion mode toggle key of Korean IME is Hangul( == XK_Hangul == VK_Hangul).
Regards...
Thanks.
[1] Saenaru, Korean Free IME, http://kldp.net/projects/saenaru/ http://kldp.net/frs/download.php/4353/Saenaru-1.0.1.exe
INSTALL & SETUP $ wine Saenaru-1.0.1.exe $ regedit wine_saenaru.reg Conversion mode toggle key: Shift+Space(by wine_saenaru.reg) or
Hangul(default)
I know this is an older thread, but I am having problems. So may I ask a couple of questions?
Byeong-Sik Jeon,
I want to try Saenaru.ime, however, when I use the download link you provided I get a text file named like:
=?UTF-8?B?U2FlbmFydS0xLjEuMC5leGU=?=
which is not apparently executable. Should it be Saenaru-1.1.0.exe, or something like that?
Aric Stewart,
I want to run a Korean IME in Wine on my Mac OS X. The normal keystroke to convert Hangeul to HanJa (that is, Korean alphabetic to the Chinese character equivalent) is just the Right-side Ctrl key (rctrl) which does not exist on a Mac Keyboard, it is only available on the IBM 101/102 keyboards. Do you have any experience with driving a Wine IME handler from a Mac?
Thanks in advance.
-- View this message in context: http://wine.1045685.n5.nabble.com/IMM-IME-work-tp1821302p5887220.html Sent from the Wine - Devel mailing list archive at Nabble.com.
Hello,
Thanks for writing in!
On 6/13/16 11:45 AM, James Osbourn wrote:
I know this is an older thread, but I am having problems. So may I ask a couple of questions?
Byeong-Sik Jeon,
I want to try Saenaru.ime, however, when I use the download link you provided I get a text file named like:
=?UTF-8?B?U2FlbmFydS0xLjEuMC5leGU=?=
which is not apparently executable. Should it be Saenaru-1.1.0.exe, or something like that?
I have not seen Byeong-Sik Jeon active in quite a while. A quick web search for Saenaru-1.1.0.exe show a few places where it appears to be available. However I don't read Korean so I am not sure if they are legitimate or not.
Aric Stewart,
I want to run a Korean IME in Wine on my Mac OS X. The normal keystroke to convert Hangeul to HanJa (that is, Korean alphabetic to the Chinese character equivalent) is just the Right-side Ctrl key (rctrl) which does not exist on a Mac Keyboard, it is only available on the IBM 101/102 keyboards. Do you have any experience with driving a Wine IME handler from a Mac?
Thanks in advance.
It has been a very long time since I have run any IME other than the native ones in Wine. When the original facility was designed and implement to run native windows IMEs there seemed to be lukewarm interest at best. I have every reason to believe it will still work but cannot promise anything.
For the Right-side Ctrl problem There may be a way to emulate it or hack something so that the right command functions as right control. But I am going to bring Ken Thomases into this since he is the expert there.
-aric
Aric,
Thanks for the follow-up. I continue to research as well, so if I work out a solution I will share it.
James
On Jun 16, 2016, at 7:23 AM, Aric Stewart [email protected] wrote:
Hello,
Thanks for writing in!
On 6/13/16 11:45 AM, James Osbourn wrote: I know this is an older thread, but I am having problems. So may I ask a couple of questions?
Byeong-Sik Jeon,
I want to try Saenaru.ime, however, when I use the download link you provided I get a text file named like:
=?UTF-8?B?U2FlbmFydS0xLjEuMC5leGU=?=
which is not apparently executable. Should it be Saenaru-1.1.0.exe, or something like that?
I have not seen Byeong-Sik Jeon active in quite a while. A quick web search for Saenaru-1.1.0.exe show a few places where it appears to be available. However I don't read Korean so I am not sure if they are legitimate or not.
Aric Stewart,
I want to run a Korean IME in Wine on my Mac OS X. The normal keystroke to convert Hangeul to HanJa (that is, Korean alphabetic to the Chinese character equivalent) is just the Right-side Ctrl key (rctrl) which does not exist on a Mac Keyboard, it is only available on the IBM 101/102 keyboards. Do you have any experience with driving a Wine IME handler from a Mac?
Thanks in advance.
It has been a very long time since I have run any IME other than the native ones in Wine. When the original facility was designed and implement to run native windows IMEs there seemed to be lukewarm interest at best. I have every reason to believe it will still work but cannot promise anything.
For the Right-side Ctrl problem There may be a way to emulate it or hack something so that the right command functions as right control. But I am going to bring Ken Thomases into this since he is the expert there.
-aric
On Jun 16, 2016, at 7:23 AM, Aric Stewart [email protected] wrote:
On 6/13/16 11:45 AM, James Osbourn wrote:
I want to run a Korean IME in Wine on my Mac OS X. The normal keystroke to convert Hangeul to HanJa (that is, Korean alphabetic to the Chinese character equivalent) is just the Right-side Ctrl key (rctrl) which does not exist on a Mac Keyboard, it is only available on the IBM 101/102 keyboards. Do you have any experience with driving a Wine IME handler from a Mac?
For the Right-side Ctrl problem There may be a way to emulate it or hack something so that the right command functions as right control. But I am going to bring Ken Thomases into this since he is the expert there.
Well, it's not true that Mac keyboards in general lack a right-Control key. I'm using an Apple keyboard with one right now.
But, anyway, there is not currently any way to simulate one via software in the Mac driver. There's a slim chance that fn-Control would do that at the hardware or OS level. There are third-party programs that allow you to remap keys. A quick web search turns up Karabiner https://pqrs.org/osx/karabiner/, but I can't vouch for it.
-Ken
Ken, You¹re right. I suppose there are external keyboards for Macs that have a Right Control Key. I¹m dealing with my MacBook Pro which is a laptop. I tried the Karabiner map for right control keycode to the right option key, which doesn¹t seem to pass through to the application running in Wine correctly, yet. I will keep playing with mapping options, and try Winetrick¹s Autohotkey inside Wine and see what I can find.
However, I suspect that the key code doesn¹t pass through because the Korean IME is not in place. I haven¹t figured out how to get the Winetrick¹s msctf configured to work nor access to the ³Text Service and Language Options² dialog. I did go in with Regedit and create the HKEY_CURRENT_USER\Software\Microsoft\CTF\LangBar\ ShowStatus key and set the value to 0, which I think makes it appear on the Desktop all the time, but I may have to play with the settings.
Any thoughts you have are welcome. Thanks.
James
On 6/16/16, 1:24 PM, "Ken Thomases" [email protected] wrote:
On Jun 16, 2016, at 7:23 AM, Aric Stewart [email protected] wrote:
On 6/13/16 11:45 AM, James Osbourn wrote:
I want to run a Korean IME in Wine on my Mac OS X. The normal keystroke to convert Hangeul to HanJa (that is, Korean alphabetic to the Chinese character equivalent) is just the Right-side Ctrl key (rctrl) which does not exist on a Mac Keyboard, it is only available on the IBM 101/102 keyboards. Do you have any experience with driving a Wine IME handler from a Mac?
For the Right-side Ctrl problem There may be a way to emulate it or hack something so that the right command functions as right control. But I am going to bring Ken Thomases into this since he is the expert there.
Well, it's not true that Mac keyboards in general lack a right-Control key. I'm using an Apple keyboard with one right now.
But, anyway, there is not currently any way to simulate one via software in the Mac driver. There's a slim chance that fn-Control would do that at the hardware or OS level. There are third-party programs that allow you to remap keys. A quick web search turns up Karabiner https://pqrs.org/osx/karabiner/, but I can't vouch for it.
-Ken