Simplified Chinese Solaris User's Guide

OpenWindows and htt

In the OpenWindows environment, the .openwin-init file in the user's home directory is referenced if it exists. Therefore, if the user's .openwin-init file lacks a line to start htt, htt is not started when the OpenWindows environment is started up. (Refer to "Checking Your User Environment for the First Time".) For your applications' Simplified Chinese input functions to operate as intended, the .openwin-init script must start htt before the script starts an application that uses htt for Simplified Chinese character input. If htt is started after the application, only a root-window style input method server window can be used, as shown in "htt Application Display".

Changes to the .openwin-init File

The OpenWindows WorkspaceUtilitiesSave Workspace function writes or rewrites a user's .openwin-init file when it saves the current configuration of the workspace screen. So after each time you use the Save Workspace pull down menu selection, or edit .openwin-init, check your .openwin-init file and make sure the htt command (see above) precedes any line that starts an application that takes Simplified Chinese character input.

Such placement of this command ensures future correct connection to htt if the OpenWindows system is restarted later. A manual edit to .openwin-init will be overwritten the next time you use the Save Workspace function. You can save and use your edits by first exiting and then restarting the OpenWindows environment.