HPlogo HP Xlib Extensions: > Chapter 7 Internationalization Support

Use of Asian Input Method Servers

» 

Technical documentation

Complete book in PDF

 » Table of Contents

 » Index

Users who wish to select from among multiple input servers available on a system may set the input method modifier. This can be set using the XmNinputMethod resource for Motif 1.2 applications, or the XMODIFIERS environment variable for non-Motif 1.2 applications. If the value is _HPNLIO, then use of an NLIO-style input method is indicated. This is also the default if no value is specified. If the value of the input method modifier is _XIM_INPUTMETHOD, then an attempt is made to connect to a server using the Xsi input method protocol. If the modifier begins with _XIMP, then an attempt is made to connect to the input method using the Ximp protocol string for connecting to the input method. The following Ximp string is used to determine language and codeset. If the character "#" is encountered in the modifier string, this is changed to "@" to allow connection with input servers on remote machines. To find out what input methods are available on your system, talk to your system administrator.

In general, the capabilities provided by XOpenIM, XCreateIC, XmbLookupString, etc. should replace the functionality provided by XHPConvertLookup and its associated routines. Application developers are encouraged to use these new routines. Support for XHPConvertLookup etc. is provided to assure backward compatibility for existing applications and will be removed from the library in the next major release of HP-UX.

In addition to the IC values that are part of the X Windows System standard, HP supports the following additional IC value:

Title not available (Use of Asian Input Method Servers )

XNHPNlioctl

This value is a write-only IC value which performs any of the operations supported as part of XHPNlioctl. The argument passed to XSetICValues is of type XhpNlioCmd. cmd is the element used as the cmd argument for XHPNlioctl, arg is the arg element, and ret is the return value. Setting this IC value is equivalent to calling XHPNlioctl. It should be used when the programmer is using IC's to control input.

© 1995 Hewlett-Packard Development Company, L.P.