Steps Required to Use an Alternate XIME
Follow the instructions for installation and setup provided by the distribution or XIME project.
You will need the following 2 values provided by the XIME project documentation:
- The resource value IBM5250*inputMethod: value1
- The environment variable XMODIFIERS=@im=value2
Note: Sometimes value1 = value2.
To use a different XIME, you must:
- Change the IBM5250*inputmethod: resource.
As root edit /opt/ibm/iSeriesAccess/mri/xx/ NS3270Tx.rc (Click on xx for values)
and change the default value to value1.
IBM5250*inputmethod: value1
- Change or set the environment variables LANG and XMODIFIERS
(See NOTE below if you want the values set all the time.)
From an X terminal (xterm, kterm etc)
export LANG=xx_XX
export XMODIFIERS=@im=value2
- Start the IME (follow the XIME project documentation and see NOTE below)
From an X terminal (xterm, kterm etc)
<path to XIM>/Alternative_XIM
NOTE:
Check/edit your user files (~/.xinitrc, ~/.bashrc and ~/.profile) and global files (/etc/X11/xinitrc, /etc/barshrc, and /etc/profile), some distributions will source ~/.xim or ~/.i18n to set the LANG and XMODIFIERS environment variables and also start the XIME.
Example: Change XIME for Japanese to use my_IME
If the documentation for my_IME project provided the following information
XMODIFIERS=@im=MY_IME
*inputMethod: my_IME
IME executable name is /newpath/my_ime
The steps would be:
- Switch to root (su -l), edit the /opt/ibm/iSeriesAccess/mri/ja/NS3270Tx.rc
change this line
IBM5250*inputmethod: kinput2
to this
IBM5250*inputmethod: my_IME
- To test, from an X terminal as a regular (non-root) user
export LANG=ja_JP (Set LANG if not already setup)
export XMODIFIERS=@im=MY_IME (Set XMODIERS= new XIME)
- Start the IME and emulator
/newpath/my_ime & (Launch the IME GUI)
ibm5250 JAPANESE_HOST (Launch 5250 emulator)
Troubleshooting
- Check the XIME project or your distributions XIME documentation first.
- Test the XIME with another X application that is XIM aware or compliant.
- Verify the required fonts are installed.
- Verify that IBM5250*inputmethod resourse, LANG and XMODIFIERS are correct.
- Verify the IME is started before launching ibm5250.
XIM Overview
http://www.mozilla.org/projects/intl/input-method-spec.html
S.u.S.E. Documentation on XIM
http://www.suse.de/~mfabian/suse-cjk/xim.html (with links to specific IME's).
Technical Information:
Introduction to the 4 Input Styles (From Chinput page - Not in English)
XIM programming language/Toolkit support Status (From Chinput page - Some text is not in English)
The XIM Transport Specification
The Input Method Protocol
SCIM: Smart Common Input Method
http://scim.freedesktop.org/
http://www.opencjk.org/~yumj/chinput/apps.html
SKIM: SCIM for KDE
http://scim.freedesktop.org/Software/ScimKDE
Simplified and Traditional Chinese
Japanese
Korean
|