Simplified Chinese Solaris User's Guide

Chapter 8 Managing the htt Input Method Server

This chapter describes the basic display features of the input method server. The input method server (IM server) handles Simplified Chinese input for Simplified ChineseSolaris software. The IM server receives keyboard input and makes the input available as Simplified Chinese characters to Simplified Chinese Solaris applications. The IM server can serve any internationalized X Window application that uses X Window Input Method (XIM) application program interfaces (API) to receive language input.

The following sections of this chapter explain the basic display features of the IM Server.

Input Method Server Basic Properties

The Simplified Chinese Solaris Operating System starts the IM server automatically when you start the Simplified Chinese in a locale that requires an input method. The IM server continues to run and service applications that are started and connected to it.

Simplified Chinese Solaris applications that use the IM server for Simplified Chinese character input typically find the IM server running when they start. To user the IM server's service for language input, the IM server should be running before an application is started. If the IM server is not running when an application is started, the application might not be able to get the input service even if IM server is started later.

Three htt Processes

The input method server comprises three related processes running together. The processes are htt, htt_xbe, and htt_server. One process controls the input method server properties, another controls the population of the input method server (that is, a “watchdog” process), and the third handles input methods of clients.

Usually, you don't need to know the details of these three processes. When htt is started, htt_xbe and htt_server are started automatically.

htt Application Display

The following figure shows a typical application display when using the htt input method.

The preceding context describes the graphic.

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.

Using the iiim Server in zh.UTF-8 and zh_CN.UTF-8 Locales

The Internet Intranet Input Method Server (iiim) supports the European Local Input Methods that use the Compose Key. The iiim server supports the Asian Remote Input Methods using IIIM Protocol. The default Language Engine is English/European which supports ASCII and some European Languages such as German and French.

To switch to Chinese input methods, press Control-spacebar.

To switch to other language engines, click the left mouse button in the status area.

The following language engine list appears:

The following language engines appear if their corresponding locales are installed:

After the Simplified Chinese language engine is selected, you can use the following function keys to switch between different input methods:

For more detailed information about Input Methods, see Chapter 4, Entering Simplified Chinese Text.