Korean Solaris User's Guide

Chapter 3 Using the htt Input Method Server

The htt input method server handles Korean input for Korean Solaris software. The htt server receives keyboard input and makes the input available as Korean characters to Korean 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.

A new Internet Intranet Input Method Server (iiim) has also been implemented in Solaris 8 for all UTF-8 locales. It supports both European Local Input Methods using Compose key and Asian Remote Input Methods using IIIM Protocol.

This chapter explains the basic display features of the htt input server and the IIIM server. Normally, you do not need to change any htt settings, as discussed in this chapter, to operate any Korean Solaris application.

You need to be familiar with the input method terminology in Chapter 4, "Entering Korean Input," before reading this chapter. However, to use Solaris applications for Korean character input you do not need to read beyond the first section of this chapter.

The Korean Solaris htt server icon looks like this: Graphic

Input Method Server Basic Properties

The Korean Solaris operating environment starts the htt input method server automatically when you start up the Solaris operating environment in a locale that requires an input method. htt continues to run and service applications that start up and connect to it. If you need to restart htt, refer to "How and When htt is Started," on page 15.

So each Korean Solaris application that uses htt for Korean character input typically finds htt running when it starts up. 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 up, that application may not be able to get the input service even if htt is started later.

Three htt Processes

The input method server comprises three related programs (htt_props, htt, htt_server) processes running together. One process controls the input method server properties, one process controls the population of the input method server (i.e., 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.

htt Property Manager

The htt input method server is started as an icon. Double click on the icon to start htt Property Manager to configure the behavior of htt.

Resetting and Terminating htt

Graphic

The input method server property manager includes the following menus:

File Menu

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.

Help Menu

The htt Property Manager provides four categories of help messages to guide its operation:

Using htt Command Line Options.

htt's command line options can be referenced from its man page or by typing:


system% htt -help

Customizing the on/off Key from General Dialog

You can customize the key sequence to turn on/off locale specific input. To add a key sequence, perform the following steps:

Graphic
  1. Press the Add button.

    You will see the Add Key popup.

  2. 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.


    Note -

    The customized key sequence will not take effect until you restart htt.


Customizing the Preedit/Status Window from the Preedit/Status Dialog

You can control the Preedit/Status window placement in this panel if your application specifies the root window style Preedit or Status.

Graphic

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 to the end of a line. In the 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.

Customizing the Lookup Window from the Lookup Table Dialog

Graphic

You can control the appearance of the lookup window by choosing one of the four options listed:

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 upper case or lower case alphabets or numbers.

How and When htt is Started

An application that uses the htt input method server to receive Korean 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 ko or ko.UTF-8, htt is started automatically when the Korean windowing environment starts up. 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 schtt is started before other applications in CDE.

Input Method Server Basic Properties

The Korean Solaris operating environment starts the htt input method server automatically when you start up the Solaris operating environment in a locale that requires an input method. htt continues to run and service applications that start up and connect to it. If you need to restart htt, refer to "How and When htt is Started," on page 15.

So each Korean Solaris application that uses htt for Korean character input typically finds htt running when it starts up. 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 up, that application may not be able to get the input service even if htt is started later.

Using the iiim Server in ko.UTF-8 and ko_KR.UTF-8 Locales

The Internet Intranet Input Method Server (iiim) supports both European Local Input Methods using the Compose key and Asian Remote Input Methods that use 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 Korean 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:

After the Korean Language Engine is selected, you can switch between different Korean Input Modes in the same way as with the ko locale and ko.UTF-8locale in Solaris 7. For more detailed information about each Korean Input Mode, see Chapter 4, "Entering Korean Input".