Simplified Chinese Solaris User's Guide

How and When htt Is Started

The htt process must be running before an application starts in order for the application to use the htt input method server to receive Simplified Chinese input. The C locale does not require htt. If you change the default locale from C to another locale that requires htt, you must start htt in same terminal window. You can start htt with a command such as the one shown in the following example.


system% /usr/openwin/bin/htt -if twle -xim htt_xbe &

When the locale is set tozh, htt is started automatically when the Simplified Chinese windowing environment starts. In CDE, htt is started from the /usr/dt/config/Xsession.d/0020.dtims script. This script is executed by Xsession, which runs at every initialization stage upon a user's login from dtlogin. This script ensures that htt is started before other applications in CDE.