|
» |
|
|
|
| | |
Supported
Input Method Server | |
The type of IMS (Input Method Server) supported for each Asian language
is shown below. Table 2-2 System Environments and Supported Input Methods System Environment | Supported IMS |
---|
Japanese | XJIM, ATOK X | Korean | XKIM | Simplified Chinese | XSIM | Traditional Chinese | XTIM |
Non-CDE Environment The CDE bundle is installed by default on your system. If,
however, the CDE bundle is not installed on your system, you must
modify the X11 startup script ($HOME/.x11start) and set the LANG and XMODIFIERS environment variables accordingly. After you set the
environment variables, you must invoke an Input Method Server. For example, if your locale is ja_JP.SJIS and you invoke the ATOK X Input Method Server, your X11 startup script ($HOME/.x11start) must include the following entries before invoking any
X applications: LANG=ja_JP.SJIS export LANG XMODIFIERS='@im=_XIMP_ja_JP.SJIS#atokx.0' export XMODIFIERS atokx & sleep 5 Function
of the dtimsstart[1] command | |
If CDE language bundles are installed on your system, the dtimsstart command allows a user to select one IMS. Before using dtimsstart, the user should set the environment variable LANG properly since dtimsstart changes its behavior according to the LANG value. dtimsstart sets the environment variable XMODIFIERS appropriately to connect with the selected IMS so that
a user can use the IMS without any additional configuration. If you choose an Asian locale on the HP-UX CDE environment, dtimsstart is automatically started immediately after the user logs
in. More precisely, dtimsstart is invoked automatically at Xsession startup (user login) by the script /usr/dt/config/Xsession.d/0020.dtims. Selection
of the Input Method | |
For Japanese
locales (ja_JP.SJIS, ja_JP.eucJP, ja_JP.utf8) dtimsstart displays the selection window as shown below. By selecting
one of the listed IMSs and clicking the OK button (left-most button), dtimsstart will start the selected IMS. For other operations on
this window, selecting the Help button (right-most button) gives more explanation. The
last selection (showing up in Japanese) means “No Japanese
Input”. For Korean locales (ko_KR.eucKR, ko_KR.utf8): dtimsstart starts XKIM without showing the selection window because
only one IMS, XKIM, is supported for both locales. For Simplified Chinese locales
(zh_CN.gb18030, zh_CN.hp15CN, zh_CN.utf8): dtimsstart starts XSIM without showing the selection window because
only one IMS, XSIM, is supported for these locales. For Traditional Chinese locales
(zh_TW.eucTW, zh_TW.big5, zh_TW.ccdc, zh_TW.utf8): dtimsstart starts XTIM without showing the selection window because
only one IMS, XTIM, is supported for these locales. For Hong Kong locales
(zh_HK.hkbig5, zh_HK.utf8): dtimsstart starts XTIM without showing the selection window because
only one IMS, XTIM, is supported for both locales.
| | | | | NOTE: XKIM does not have a visible main window, like other
Asian IMS. To quit XKIM, use kill(1) command or terminate the X server. | | | | |
Simple
Test | |
This section describes a simple test procedure to confirm
that the Asian system environment is configured. For full, non-restricted
use of all supported input method functionality, use a localized
keyboard or customize a keyboard using keymapd_ed or xmodmap. Japanese
Environment Test With KeyboardThese descriptions are based on only xjim. Set the input
field in the foreground Your process will automatically connect with xjim foreground; then check that the cursor is in the input
field. Enable input Hit the left Alt key (ExtendChar) or Ctrl+Space to enable IMS input. Then a status window will appear
at the bottom of the focused window. Change input mode Hit the F3 key to change its mode to input two-byte Roman characters. Input characters Input some characters. They are displayed in inverse
video, and when the Return key is pressed, fixed strings are sent to the application.
To exit xjim input mode, hit the left Alt key (ExtendChar) or Ctrl+Space. The system will return to normal input mode immediately. Korean
Environment Test With KeyboardThese descriptions are based on only xkim. Set the input
field in the foreground Your process will automatically connect with xkim foreground; then check that the cursor is in the input
field. Enable input Hit the right Alt key (ExtendChar) to enable IMS input. Then, the status window appears
at the bottom of the focused window. Change input mode Hit the F9 key to change its mode to input two-byte Roman characters. Input characters Input some characters. Two-byte roman characters are
displayed.
To exit xkim input mode, hit the left Alt key (ExtendChar). The system will return to normal input mode immediately. Simplified
Chinese Environment Test With KeyboardThese descriptions are based on only xsim. Set the input
field in the foreground Your process will automatically connect with xsim foreground; then check that the cursor is in the input
field. Enable input Hit the right Alt key (ExtendChar) to enable IMS input. Then, status window appears at the
bottom of the focused window. Change input mode Hit the Shift+F12 key to change its mode to input two-byte Roman characters. Input characters Input some characters. Two-byte roman characters are
displayed.
To exit xsim input mode, hit the left Alt key (ExtendChar). The system will return to normal input mode immediately. Traditional
Chinese Environment Test With KeyboardThese descriptions are based on only xtim. Set the input
field in the foreground Your process will automatically connect with xtim foreground; then check that the cursor is in the input
field. Enable input Hit the right Alt key (ExtendChar) to enable IMS input. Then, the status window appears
at the bottom of the focused window. Change input mode Hit the Ctrl+Shift key to change its mode to the desired input method to
enter two-byte Roman characters. Input characters Input some characters. Two-byte roman characters are
displayed.
To exit xtim input mode, hit the left Alt key (ExtendChar). The system will return to normal input mode immediately.
|