Thai Language Engine for IIIMF
------------------------------------

Copyright: GPL


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

Thai language engine support:
 - Support 3 level of check modes defined in WTT2.0
 - Support Enhanced_Kedmanee/Kedmanee/Pattachote keyboard layout mapping.

TODO:
-----
- leverage the IME layer API as LEIF part

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/lib/im/htt &
# export GTK_IM_MODULE=iiim
# LANG=th_TH.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/lib/im/htt &
# LANG=th_TH.UTF-8 /usr/lib/im/httx
# export XMODIFIERS=@im=htt
# LANG=th_TH.UTF-8 kedit


Usage:
------
- Activate the input method: ctrl-space
- type F2 to change between the check modes

Debug:
1. compile the source codes with command:
   # ./autogen.sh --enable-debug; make all; make install
2. stop all htt processes:
   # pkill -9 htt
3. start three xterm.
4. in one xterm, run:
   # gdb /usr/lib/im/htt_server
   # (gdb) run -d
5. in one xterm, run:
   # /usr/lib/im/htt_xbe -if thaile
6. in one xterm, run:
   % gedit
7. type ctrl+space
