> > Hi!
> > Can you tell me how to use X Input Methods and Input Servers in Xvnc?
> > Is there no problem to use Xvnc with CJK(Chinese-Japan-Korean) Input?
> > If vnc team read this, please answer the question.
>
>
> Current Xvnc seems it dose not support X input method yet.
> But if you patch win vncviewer for Korean hangul keyboard,
> you can type Hangul characters in hanterm.
>
> Attached files are a win vncviewer patch file for Hangul keyboard.
>
> [demime 0.97b removed an attachment of type application/octet-stream which
had a name of win_vncviewer_korean_input_patch.diff]
Here it is.
win_vncviewer_korean_input_patch.diff
--- old/ClientConnection.cpp Mon Mar 19 06:58:32 2001
+++ new/ClientConnection.cpp Fri Apr 27 03:17:40 2001
@@ -878,6 +878,9 @@
}
case WM_KEYDOWN:
+ if (wParam == VK_PROCESSKEY) {
+ wParam = ImmGetVirtualKey(hwnd);
+ }
case WM_KEYUP:
case WM_SYSKEYDOWN:
case WM_SYSKEYUP:
--- old/KeyMap.cpp Mon Mar 19 06:58:34 2001
+++ new/KeyMap.cpp Fri Apr 27 03:17:40 2001
@@ -109,7 +109,10 @@
{VK_F23, XK_F23},
{VK_F24, XK_F24},
{VK_NUMLOCK, XK_Num_Lock},
- {VK_SCROLL, XK_Scroll_Lock}
+ {VK_SCROLL, XK_Scroll_Lock},
+ /* Korean Hangul/Hanja Keyboard */
+ {VK_HANGUL, XK_Hangul},
+ {VK_HANJA, XK_Hangul_Hanja}
};
--- old/keysymdef.h Mon Mar 19 06:58:36 2001
+++ new/keysymdef.h Fri Apr 27 03:17:40 2001
@@ -136,4 +136,9 @@
#define XK_Alt_L 0xFFE9
#define XK_Alt_R 0xFFEA
+#define XK_Hangul 0xff31 /* Hangul start/stop(toggle) */
+#define XK_Hangul_Start 0xff32 /* Hangul start */
+#define XK_Hangul_End 0xff33 /* Hangul end, English start */
+#define XK_Hangul_Hanja 0xff34 /* Start Hangul->Hanja Conversion
*/
+
--- old/vncviewer.dsp Mon Mar 19 06:58:36 2001
+++ new/vncviewer.dsp Fri Apr 27 03:19:02 2001
@@ -26,7 +26,6 @@
# PROP AllowPerConfigDependencies 0
# PROP Scc_ProjName ""$/vncviewer", KYAAAAAA"
# PROP Scc_LocalPath "."
-# PROP WCE_FormatVersion ""
CPP=cl.exe
MTL=midl.exe
RSC=rc.exe
@@ -55,7 +54,7 @@
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib
advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib
odbccp32.lib /nologo /subsystem:windows /machine:I386
-# ADD LINK32 winmm.lib omnithread.lib kernel32.lib user32.lib gdi32.lib
winspool.lib comdlg32.lib advapi32.lib shell32.lib uuid.lib wsock32.lib
/nologo /subsystem:windows /machine:I386 /libpath:"omnithread/Release"
+# ADD LINK32 winmm.lib omnithread.lib kernel32.lib user32.lib gdi32.lib
winspool.lib comdlg32.lib advapi32.lib shell32.lib uuid.lib wsock32.lib
Imm32.lib /nologo /subsystem:windows /machine:I386
/libpath:"omnithread/Release"
!ELSEIF "$(CFG)" == "vncviewer - Win32 Debug"
@@ -81,7 +80,7 @@
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib
advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib
odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept
-# ADD LINK32 ole32.lib oleaut32.lib winmm.lib omnithread.lib kernel32.lib
user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib
uuid.lib wsock32.lib /nologo /subsystem:windows /map /debug /machine:I386
/pdbtype:sept /libpath:"./omnithread/Debug"
+# ADD LINK32 ole32.lib oleaut32.lib winmm.lib omnithread.lib kernel32.lib
user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib
uuid.lib wsock32.lib Imm32.lib /nologo /subsystem:windows /map /debug
/machine:I386 /pdbtype:sept /libpath:"./omnithread/Debug"
!ELSEIF "$(CFG)" == "vncviewer - Win32 Profile"
@@ -108,7 +107,7 @@
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 ole32.lib oleaut32.lib winmm.lib omnithread.lib
kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib
shell32.lib uuid.lib wsock32.lib /nologo /subsystem:windows /debug
/machine:I386 /pdbtype:sept /libpath:"./omnithread/Debug"
-# ADD LINK32 ole32.lib oleaut32.lib winmm.lib omnithread.lib kernel32.lib
user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib
uuid.lib wsock32.lib /nologo /subsystem:windows /profile /debug /machine:I386
/libpath:"./omnithread/Debug"
+# ADD LINK32 ole32.lib oleaut32.lib winmm.lib omnithread.lib kernel32.lib
user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib
uuid.lib wsock32.lib Imm32.lib /nologo /subsystem:windows /profile /debug
/machine:I386 /libpath:"./omnithread/Debug"
!ENDIF
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
---------------------------------------------------------------------
To unsubscribe, send a message with the line: unsubscribe vnc-list
to [EMAIL PROTECTED]
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------