NAME xci - CI-CS Interface module for input method server htt SYNOPSIS Specify xci as the interface module to be used by input method server htt. The specification method is defined by input method server htt. xci is an interface module that allows the CS (conversion server) to be used by the input method server. The CS con- forms to the CI-CS interface specification. RESOURCES Specifying Resources When a resource described in this manual is used, the parent class of the resource is one of the following 2 classes: Input method server-dependent class. This class is defined by the input method server that uses the xci interface. The resource and class for input method server htt are as fol- lows: resource htt class Htt Class representing xci. This class shows that the resource is related to the xci interface. resource specification method xci class specification method XCi A concrete example of a CS specification is written as fol- lows. htt.xci.ja.csName: cs00 Htt.XCi.ja.CsName: cs00 Resource Retrieval xci retrieves the required resources in the following sequence: 1. RESOURCE_MANAGER string in the root window property Usually, the contents of files such as .Xdefaults in the home directory are automatically loaded into this string when the X server is started. 2. resources files These files are the resources files provided for each CS. xci checks for files in the sequence shown below and retrieves only the first file it finds. $MLEPATH/locale_name/CS_name/resources $HOME/.mle/locale_name/CS_name/resources /usr/lib/mle/locale_name/CS_name/resources 3. Defaults file for xci. /usr/openwin/lib/locale/locale_name/app- defaults/XCi Resource List Specifying the CS to be used (lc) Specify the locale name. resource (lc).csName class (lc).CsName type string default "cs00" description Specify the name of the CS to be used. Specifying resources for each CS. (lc) Specify the locale name. (cs) Specify the CS name. (CS) Specify the CS name. However, the first letter must be capitalized. resource (lc).(cs).connect.type class (lc).(CS).Connect.Type type "RPC" default "RPC" description Specify the type of connection between xci and CS. resource (lc).(cs).connect.hostName class (lc).(CS).Connect.HostName type string default "localhost" description Specify the name of the host on which the CS is operating as the RPC server. resource (lc).(cs).connect.rpc.program class (lc).(CS).Connect.Rpc.Program type int default 160002 description Specify the program number of the CS operating as the RPC server. resource (lc).(cs).connect.rpc.version class (lc).(CS).Connect.Rpc.Version type int default 1 description Specify the version of the CS operating as the RPC server. resource (lc).(cs).config.(NAME) class (lc).(CS).Config.(NAME) type string or int default none description Specify the configuration setting. (NAME) represents a setting name. For concrete setting namesand specification instructions,refer to the documents for each CS. resource (lc).(cs).bind.(region).(state) class (lc).(CS).Bind.(REGION).(STATE) type Special syntax. The syntax is basically the syntax of the Xt translation manager. Only "<key>" is supported as the event type. default none description Specify the key bindings in the normal preedit state and the lookup state. Specify (region).(state) as follows. preedit.init Normal preedit state. No characters have been entered. preedit.edit Normal preedit state. Characters have been entered, but they have not been converted. preedit.conv Normal preedit state. Conversion has been started. lookup.init Lookup display. No candidate has been selected. lookup.choice Lookup display. One of the candidates has been selected. resource (lc).(cs).bind.aux.(field).(state) class (lc).(CS).Bind.Aux.(FIELD).(STATE) type Same as for previous resource. default none description Specify the key bindings in the preedit field and lookup field ofthe auxiliary region such as the word registration window. Specify (field).(state) as fol- lows: preedit.init Preedit field. No characters have been entered, or the entire string has been committed. preedit.edit Preedit field. Characters have been entered, but they have not been con- verted. preedit.conv Preedit field. Conversion has been started. lookup.init Lookup field. No candidate has been selected. lookup.choice Lookup field. One or more candidates have been selected. Specifying common CS resources resource popup.aux.foreground class Popup.Aux.Foreground type color default "black" description Specify the foreground color of the aux- iliary region. resource popup.aux.background class Popup.Aux.Background type color default "white" description Specify the background color of the aux- iliary region. resource popup.aux.font class Popup.Aux.Font type font set default "-sun-gothic-medium-r-normal--16-140- 75-75-c-70-jisx0201.1976-0, -sun- gothic-medium-r-normal--16-140-75- 75-c-140-jisx0208.1983-0" description Specify the font set to be used in the auxiliary region. resource popup.aux.offset.x class Popup.Aux.Offset.X type int default 10 description Specify the position of the auxiliary region (X coordinate) relative to the mouse pointer. resource popup.aux.offset.y class Popup.Aux.Offset.Y type int default 10 description Specify the position of the auxiliary region (Y coordinate) relative to the mouse pointer. resource popup.aux.lookup.direction class Popup.Aux.Lookup.Direction type "horizontal" or "vertical" default "horizontal" description Specify the alignment orientation of the candidates in the lookup field of the auxiliary region. resource popup.aux.lookup.nrows class Popup.Aux.Lookup.Nrows type int default 3 description Specify the number of rows in the lookup field of the auxiliary region. resource popup.aux.lookup.ncols class Popup.Aux.Lookup.Ncols type int default 5 description Specify the number of columns in the lookup field of the auxiliary region. resource popup.aux.lookup.label class Popup.Aux.Lookup.Label type "alphabetic", "numeric" or "none" default "alphabetic" description Specify the label type for the lookup field of the auxiliary region. /usr/openwin/lib/locale/locale_name/htt/xci.so xci interface module /usr/openwin/lib/locale/locale_name/app-defaults/XCi Default file for xci /usr/lib/mle/locale_name/CS_name/resources Resources file for each CS htt(1), cs00(1M), atok7(1M)
Закладки на сайте Проследить за страницей |
Created 1996-2024 by Maxim Chirkov Добавить, Поддержать, Вебмастеру |