M17N Language Engine for IIIMF
------------------------------------

Copyright: GPL


Developers:
Ervin Yan     <ervin.yan@sun.com>

M17N language engine support:
 - Support m17n library

TODO:
-----
- bugfix

Compile & Installation:
-----------------------
1. ./autogen.sh (regenerate configure, Makefiles..)
2. ./configure
3. make
4. make install

-- To manually regenerate configure, Makefile, etc
libtoolize
aclocal
autoheader
automake --add-missing
autoconf
./configure

To Run:
-------
For Gnome/GTK+2 applications with iiim immmodule:
# /usr/bin/iiimd &
# export GTK_IM_MODULE=iiim
# LANG=ar_AE.UTF-8 gedit&

For KDE/Qt/Java/StarOffice or any application without direct support of IIIMF, then we need to use the IIIMF<->XIM backward support bridge:
# /usr/bin/iiimd &
# LANG=zh_TW.UTF-8 /usr/bin/iiimx
# export XMODIFIERS=@im=iiimx
# LANG=ar_AE.UTF-8 kedit


Usage:
------
- Activate the input method: ctrl-space
- Change input method: ctrl-shift
- Press space to commit the first character
- Press number [1-9] to commit the candidates

Debug:
1. compile the source codes with command:
   # ./autogen.sh --enable-debug; make all; make install

2. stop all iim and aux processes:
   # pkill -9 iiim; pkill -9 aux

3. start three xterm.

4. in one xterm, run:
   # gdb /usr/bin/iiimd
   # (gdb) run -d

5. in one xterm, run:
   # /usr/bin/iiimx -if twle

6. in one xterm, run:
   % gedit

7. type ctrl+space
