The htt input method server handles Traditional Chinese input for Traditional Chinese Solaris software. The htt server receives keyboard input and makes the input available as Traditional Chinese characters to Traditional Chinese Solaris system applications. The htt server can serve any internationalized X Window application that uses X Windows Input Method (XIM) application program interfaces (API) to receive language input.
This chapter explains the basic display features of the htt input server. Normally, you do not need to change any htt settings, as discussed in this chapter, to operate any Traditional Chinese Solaris application.
You need to be familiar with the input method terminology in Chapter 4, "Entering Traditional Chinese Text," before reading this chapter. However, to use Solaris applications for Traditional Chinese character input you do not need to read beyond the first section of this chapter.
The Traditional Chinese Solaris htt server icon looks like this:
The Traditional Chinese Solaris operating environment starts the htt input method server automatically when you start the Solaris operating environment in a locale that requires an input method. htt continues to run and service applications that are started and connected to it. If you need to restart htt, refer to "How and When htt Is Started," on page 15.
So each Traditional Chinese Solaris application that uses htt for Traditional Chinese character input typically finds htt running when it starts. To get htt's service for language input, htt should be running before an application is started. If an application does not find htt running when it starts, that application may not be able to get the input service even if htt is started later.
The input method server comprises three related programs (htt_props, htt, and htt_server) processes running together. One process controls the input method server properties, another controls the population of the input method server (that is, a "watch dog" 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_props and htt_server are started automatically.
The htt input method server is started as an icon. Double click SELECT on the icon to start htt Property Manager to configure the behavior of htt.
The input method server property manager includes the following menus:
Reset Input Manager - resets and restarts the htt input method server. This operation is not needed unless the input method server requires resetting (for example, when an application stops getting the language input). Selecting this operation destroys any intermediate data (such as preedit texts).
Exit - terminates htt. When you select this operation, htt Property Manager offers three options.
Exit - terminates htt completely. If you need to restart htt, start it from a shell window:
system% htt &
Background - terminates htt Property Manager only. The htt icon and htt Property Manager window are no longer visible. However, the htt input method server still functions. If you need to start htt Property Manager again, start htt_props from a shell window.
system% htt_props &
Cancel - cancels the termination.
The htt Property Manager provides four categories of help messages to guide its operation:
General - describes the operations in the general dialog
Preedit Status - describes the operations in the Preedit/Status dialog
Lookup Table - describes the operation in the Lookup table dialog
About - describes the menu operations from the main Property Manager window
htt's command line options can be referenced from its man page or by typing:
system% htt -help
You can customize the key sequence to turn on/off locale specific input. To add a key sequence, perform the following steps:
Press the Add button.
You will see the Add Key popup.
Press the key to be added and OK.
The key pressed is added to the conversion key list.
To remove any key from the list:
Select the key from the list and press Remove.
The customized key sequence will take effect when you restart htt.
You can control the Preedit/Status window placement in this panel if your application specifies the root window style Preedit or Status.
Selecting "Position on the screen" places the window in a fixed location of the workspace. This window is shared by multiple applications whose input style is root window style.
Selecting "Position relative to the cursor" places the window close to the mouse cursor.
Selecting "Attach to client input window" places the window near the application's input window.
In addition to the placement of the Preedit/Status window for the root window style, you can configure the behavior of the preedit string when it reaches the end of a line. By default, the preedit string will wrap around to the second line. But if you de-select "Wrap long lines in on-the-spot preedit," the preedit string will not exceed one line and it will scroll when reaching the end of a line.
You can control the appearance of the lookup window by choosing one of the four options listed:
Client window status area - places the lookup choices in an area where the input status is shown on the application's window
Preedit/status window - places the lookup choices in the window placed on the workspace, which is used by root window style applications
Popup window near cursor - places the popup near to the current position of the mouse
Popup window near client input window - places the popup near the application's input window
You can also specify the maximum rows and columns for the lookup choices that can be displayed on a single popup. You can specify the labels used for lookup choices. The options are uppercase or lowercase letters or numbers.
An application that uses the htt input method server to receive Traditional Chinese characters must find htt running before it can receive such input. So if your default locale is the C locale (which does not require htt) and you then change from C to another locale in a single Terminal, for example, you must start htt with a command line like the following:
system% htt &
With the locale set to zh_TW or zh_TW.BIG5, htt is started automatically when the Traditional Chinese windowing environment starts. In CDE, htt is started from a script, /usr/dt/config/Xsession.d/0020.dtims. 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.
The Internet Intranet Input Method Server (iiim) supports both European Local Input Methods using Compose key and 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 other Language Engines, press CTRL+Space, as with other Asian Locales.
To switch to Chinese Input Methods, 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:
Japanese -- if ja locale is installed
Korean-- if ko locale is installed.
Simplified Chinese -- if zh locale is installed.
After the Traditional Chinese Language Engine is selected, you can use Function Keys to switch between different Input Methods:
For more detailed information about each Input Method, see "Chapter 4, Entering Traditional Chinese Text".