0
|
1
|
|
2
|
|
3
|
|
4 XWNMO(1) UNIX Programmer's Manual XWNMO(1)
|
|
5
|
|
6
|
|
7
|
|
8 NNAAMMEE
|
|
9 xwnmo - Input Manager of the X Window System Version 11
|
|
10
|
|
11 SSYYNNOOPPSSIISS
|
|
12 xxwwnnmmoo [-_o_p_t_i_o_n ...]
|
|
13
|
|
14 DDEESSCCRRIIPPTTIIOONN
|
|
15 The _x_w_n_m_o is a input manager for Input Method of X Window
|
|
16 System. It is based on [_X _W_i_n_d_o_w _S_y_s_t_e_m, _V_e_r_s_i_o_n _1_1 _I_n_p_u_t
|
|
17 _M_e_t_h_o_d _S_p_e_c_i_f_i_c_a_t_i_o_n_s]. It provides a multi-language input
|
|
18 environment for multiple clients in the X Window System Ver-
|
|
19 sion 11. Clients can connect to it by using XIM library.
|
|
20
|
|
21 _x_w_n_m_o supports multi-screen environment. _x_w_n_m_o creates one
|
|
22 window for _R_o_o_t-_m_o_d_e on each screen.
|
|
23
|
|
24 The conversion engine _x_w_n_m_o use is the internationalized
|
|
25 Wnn. It selects conversion server in accordance with
|
|
26 language of clients. How many languages _x_w_n_m_o supports
|
|
27 depend on the configuration file (_x_i_m_c_o_n_f). Please refer the
|
|
28 manual of _x_i_m_c_o_n_f.
|
|
29
|
|
30 _X_w_n_m_o supports the following inputstyles:
|
|
31 ( XIMPreeditArea | XIMStatusArea )
|
|
32 ( XIMPreeditPosition | XIMStatusArea )
|
|
33 ( XIMPreeditNothing | XIMStatusNothing )
|
|
34 ( XIMPreeditCallbacks | XIMStatusArea )
|
|
35 ( XIMPreeditArea | XIMStatusCallbacks )
|
|
36 ( XIMPreeditPosition | XIMStatusCallbacks )
|
|
37 ( XIMPreeditCallbacks | XIMStatusCallbacks )
|
|
38
|
|
39 If you attempt to connect _x_w_n_m_o by using XIM library, You
|
|
40 must set modifiers __X_W_N_M_O.
|
|
41
|
|
42 Concretely,
|
|
43 XSetLocaleModifiers("@im=_XWNMO");
|
|
44 or
|
|
45 set environment XXMMOODDIIFFIIEERRSS=@im=_XWNMO and XSetLo-
|
|
46 caleModifiers("");.
|
|
47
|
|
48 For feather information about XIM library, please see the
|
|
49 chapter 13 of Xdoc or [_X _W_i_n_d_o_w _S_y_s_t_e_m, _V_e_r_s_i_o_n _1_1 _I_n_p_u_t
|
|
50 _M_e_t_h_o_d _S_p_e_c_i_f_i_c_a_t_i_o_n_s].
|
|
51
|
|
52 XXMMLL
|
|
53 According to _I_n_p_u_t _M_e_t_h_o_d _S_p_e_c_i_f_i_c_a_t_i_o_n_s, the locale which
|
|
54 input method use is only one and static locale. Thence _x_w_n_m_o
|
|
55 provides only one languange environment which depends on the
|
|
56 current locale of _X_O_p_e_n_I_M(). And you could not change this
|
|
57 environment. But if libX11.a was compiled with XXMMLL define,
|
|
58 clients can use multi locale environment. In other words,
|
|
59 you can change current languange environment on the fly by
|
|
60 changing current locale. The way to use its environment is
|
|
61 the following:
|
|
62
|
|
63 CCrreeaattiinngg eennvviirroonnmmeenntt
|
|
64 Call _X_m_l_O_p_e_n_I_M() instead of XOpenIM() ,set
|
|
65 XXNNCCuurrrreennttLLaanngguuaaggee argument of XIC and call
|
|
66 _X_C_r_e_a_t_e_I_C(). So _x_w_n_m_o attempts to create as many
|
|
67 language environment as possible and set current
|
|
68 environment to the locale set XNCurrentLanguage. If
|
|
69 you don't set XNCurrentLanguage current environment
|
|
70 is the first environment _x_w_n_m_o created. A syntax of
|
|
71 XNCurrentLanguage follows.
|
|
72 current_language = <language>'_'<territory>
|
|
73
|
|
74 CChhaannggiinngg eennvviirroonnmmeenntt
|
|
75 If you want to change current languange environment,
|
|
76 set XXNNCCuurrrreennttLLaanngguuaaggee argument and call _X_S_e_t_-
|
|
77 _I_C_V_a_l_u_e_s().
|
|
78
|
|
79 _X_w_n_m_o accept that XXMMLL clients and NNOONN__XXMMLL clients connect
|
|
80 _x_w_n_m_o at the same time.
|
|
81
|
|
82 CCHHAANNGGIINNGG LLOOCCAALLEE
|
|
83 _X_w_n_m_o has two interfaces for changing current languange
|
|
84 environment. One is _c_h_a_n_g_e__l_o_c_a_l_e__c_t function. This func-
|
|
85 tion is good only when current locale is _w_r__W_R._c_t. You can
|
|
86 write it in _u_u_m_k_e_y-_f_i_l_e. A syntax of change_locale_ct fol-
|
|
87 lows.
|
|
88
|
|
89 change_locale_ct <key> [ <key> ... ]
|
|
90
|
|
91 Other is _c_h_a_n_g_e__l_o_c_a_l_e function. You can write it in
|
|
92 _u_u_m_k_e_y-_f_i_l_e. A syntax of change_locale follows.
|
|
93
|
|
94 change_locale <key> [ <key> ... ]
|
|
95
|
|
96 This function is good only when you set XXNNCChhaannggeeLLooccaalleeCCBB
|
|
97 argument. The value of this argument is a pointer of call-
|
|
98 back function. This function will be call by input method
|
|
99 when you change current languange environment of _x_w_n_m_o. A
|
|
100 interface of this function follows.
|
|
101
|
|
102 void ChangeLocaleCB(char *locale)
|
|
103
|
|
104 XXJJpp
|
|
105 _X_w_n_m_o is able to support XJp protocol. If You compile _x_w_n_m_o
|
|
106 with XXJJPP define, it supports "Communication Kit" part of XJp
|
|
107 protocol. And if You compile _x_w_n_m_o with XXJJPP and XXJJPP__DDIIRREECCTT
|
|
108 define, it supports "Direct Interface" part of XJp protocol.
|
|
109
|
|
110 SSEEPP
|
|
111 _X_w_n_m_o is able to support SEP(SpotLocation Extended Proto-
|
|
112 col). If You compile _x_w_n_m_o with SSPPOOTT define, it supports
|
|
113 SEP. And please use __X_i_p_C_h_a_n_g_e_S_p_o_t() function. it's inter-
|
|
114 face follows.
|
|
115
|
|
116 int __XXiippCChhaannggeeSSppoott(_i_c, _s_p_o_t__x, _s_p_o_t__y)
|
|
117 XIC ic;
|
|
118 short spot_x, spot_y;
|
|
119
|
|
120 ic: Specifies the input context.
|
|
121 spot_x, spot_y: Specifies the coordinates of the
|
|
122 ``spot''.
|
|
123
|
|
124 OOPPTTIIOONNSS
|
|
125 _X_w_n_m_o accepts the following options:
|
|
126
|
|
127 --DD _s_e_r_v_e_r-_n_a_m_e
|
|
128 This option specifies the machine name of conversion
|
|
129 server. If this isn't set, first _J_S_E_R_V_E_R environ-
|
|
130 ment is referred. And if it isn't set, _x_w_n_m_o
|
|
131 attempts to connect "_j_s_e_r_v_e_r" machine. And if it's
|
|
132 connect failed, _x_w_n_m_o attempts to connect local
|
|
133 machine.
|
|
134
|
|
135 --nn _u_s_e_r-_n_a_m_e
|
|
136 This option specifies the user name which is used as
|
|
137 env-name of Wnn. If this isn't set, first _W_N_N_U_S_E_R
|
|
138 environment is referred. And if it isn't set, the
|
|
139 user name of process is referred.
|
|
140
|
|
141 --llcc _l_a_n_g_u_a_g_e-_n_a_m_e
|
|
142 This option specifies the _l_a_n_g_u_a_g_e _n_a_m_e which is
|
|
143 referred as the language environment of _R_o_o_t-_m_o_d_e.
|
|
144 If this isn't set, first _L_A_N_G environment is
|
|
145 referred. And if it isn't set, the default is _j_a__J_P.
|
|
146 A syntax of language-name follows.
|
|
147 language = <language>'_'<territory>
|
|
148
|
|
149 --kk _u_u_m_k_e_y-_f_i_l_e-_n_a_m_e
|
|
150 This option specifies the path name of _u_u_m_k_e_y-_f_i_l_e.
|
|
151 For feather information about _u_u_m_k_e_y-_f_i_l_e, please
|
|
152 see Wnn manual.
|
|
153
|
|
154 --rr _r_o_m_k_a_n-_f_i_l_e-_n_a_m_e
|
|
155 This option specifies the directory name of _r_o_m_k_a_n-
|
|
156 _f_i_l_e. For feather information about _r_o_m_k_a_n-_f_i_l_e,
|
|
157 please see Wnn manual.
|
|
158
|
|
159 --XX _c_o_n_v_e_r_t-_k_e_y-_f_i_l_e-_n_a_m_e
|
|
160 This option specifies the path name of _c_o_n_v_e_r_t-_k_e_y-
|
|
161 _f_i_l_e. The _c_o_n_v_e_r_t-_k_e_y-_f_i_l_e contains the relation
|
|
162 between keys of X and keys of Wnn. The default is
|
|
163 "/usr/local/lib/wnn/cvt_xim_tbl". For feather
|
|
164 information about _c_o_n_v_e_r_t-_k_e_y-_f_i_l_e, please see the
|
|
165 manual of _c_v_t__x_i_m__t_b_l.
|
|
166
|
|
167 --FF _c_o_n_v_e_r_t-_f_u_n_c_t_i_o_n-_f_i_l_e-_n_a_m_e
|
|
168 This option specifies the path name of _c_o_n_v_e_r_t-
|
|
169 _f_u_n_c_t_i_o_n-_f_i_l_e. The _c_o_n_v_e_r_t-_f_u_n_c_t_i_o_n-_f_i_l_e contains
|
|
170 the relation between function keys of X and keys of
|
|
171 Wnn. This file is only for older version _x_w_n_m_o.
|
|
172 Please use _c_v_t__x_i_m__t_b_l as much as possible. For
|
|
173 feather information about _c_o_n_v_e_r_t-_f_u_n_c_t_i_o_n-_f_i_l_e,
|
|
174 please see the manual of _c_v_t__f_u_n__t_b_l.
|
|
175
|
|
176 --MM _c_o_n_v_e_r_t-_m_e_t_a-_f_i_l_e-_n_a_m_e
|
|
177 This option specifies the path name of _c_o_n_v_e_r_t-
|
|
178 _m_e_t_a-_f_i_l_e. The _c_o_n_v_e_r_t-_m_e_t_a-_f_i_l_e contains the rela-
|
|
179 tion between meta keys of X and keys of Wnn. This
|
|
180 file is only for older version _x_w_n_m_o. Please use
|
|
181 _c_v_t__x_i_m__t_b_l as much as possible. For feather infor-
|
|
182 mation about _c_o_n_v_e_r_t-_m_e_t_a-_f_i_l_e, please see the
|
|
183 manual of _c_v_t__m_e_t_a__t_b_l.
|
|
184
|
|
185 --ddiissppllaayy _d_i_s_p_l_a_y
|
|
186 This option specifies the X server to connect; see
|
|
187 _X(_1).
|
|
188
|
|
189 --hheellpp This causes _x_w_n_m_o to print out a verbose message
|
|
190 describing its options.
|
|
191
|
|
192 --jjuu _x_j_t_u_i_l-_n_a_m_e
|
|
193 This option specifies the path name of _x_j_u_t_i_l which
|
|
194 is _t_h_e _d_i_c_t_i_o_n_a_r_y _u_t_i_l_i_t_y _m_a_n_a_g_e_r. The default is
|
|
195 "/usr/bin/X11/xjutil".
|
|
196
|
|
197 --EEMM This causes that the menu for exit is available when
|
|
198 a mouse pointer is pushed on _R_o_o_t-_m_o_d_e window. The
|
|
199 default is available.
|
|
200
|
|
201 ++EEMM
|
|
202
|
|
203 This causes that the menu for exit is disable. Please use
|
|
204 killxwnmo for exit. The following options affects windows
|
|
205 for _R_o_o_t-_m_o_d_e on all screens.
|
|
206
|
|
207 --ffss _f_o_n_t-_n_a_m_e-_l_i_s_t
|
|
208 This option specifies the list of font name. The
|
|
209 fontset of _R_o_o_t-_m_o_d_e window is created from this
|
|
210 list. The default is depend on the locale. A syntax
|
|
211 of this list follows.
|
|
212 font-name-list = <fontname>{','fontname}
|
|
213
|
|
214 --ggeeoommeettrryy _g_e_o_m_e_t_r_y
|
|
215 This option specifies the preferred size and posi-
|
|
216 tion of _R_o_o_t-_m_o_d_e window. see _X(_1)
|
|
217
|
|
218 --ffgg _c_o_l_o_r
|
|
219 This option specifies the color to use for display-
|
|
220 ing text of _R_o_o_t-_m_o_d_e window. The default is
|
|
221 ``black.''
|
|
222
|
|
223 --bbgg _c_o_l_o_r
|
|
224 This option specifies the color to use for the back-
|
|
225 ground of _R_o_o_t-_m_o_d_e window. The default is
|
|
226 ``white.''
|
|
227
|
|
228 --bbdd _c_o_l_o_r
|
|
229 This option specifies the color to use for the
|
|
230 border of _R_o_o_t-_m_o_d_e window. The default is
|
|
231 ``black.''
|
|
232
|
|
233 --bbww _n_u_m_b_e_r
|
|
234 This option specifies the width in pixels of the
|
|
235 border surrounding _R_o_o_t-_m_o_d_e window.
|
|
236
|
|
237 --iiccoonniicc This option indicates that _x_w_n_m_o should ask the win-
|
|
238 dow manager to start it as an icon rather than as
|
|
239 the normal window. If the -RV option is specified
|
|
240 or "rootVisible" resource is specified as ``True'',
|
|
241 this option becomes void.
|
|
242
|
|
243 ##_g_e_o_m This option specifies the preferred position of the
|
|
244 icon window. It is shorthand for specifying the
|
|
245 ``*_i_c_o_n_G_e_o_m_e_t_r_y'' resource.
|
|
246
|
|
247 --hh This causes _x_w_n_m_o to wake up in conversion _o_f_f mode.
|
|
248
|
|
249 --HH This causes _x_w_n_m_o to wake up in conversion _o_n mode.
|
|
250 The default is off mode.
|
|
251
|
|
252 --RRVV This causes _x_w_n_m_o to unmap _R_o_o_t-_m_o_d_e window when
|
|
253 henkan modeis off or no client uses _R_o_o_t-_m_o_d_e. This
|
|
254 option make -iconic option void and set "iconic"
|
|
255 resource as ``False''.
|
|
256
|
|
257 RREESSOOUURRCCEESS
|
|
258 _X_w_n_m_o accepts the following resource names and classes:
|
|
259
|
|
260 sseerrvveerrNNaammee ((class SSeerrvveerrNNaammee))
|
|
261 This option specifies the machine name of conversion
|
|
262 server. If this isn't set, first _J_S_E_R_V_E_R environ-
|
|
263 ment is referred. And if it isn't set, _x_w_n_m_o
|
|
264 attempts to connect "_j_s_e_r_v_e_r" machine. And if it's
|
|
265 connect failed, _x_w_n_m_o attempts to connect local
|
|
266 machine.
|
|
267
|
|
268 uusseerrNNaammee ((class UUsseerrNNaammee))
|
|
269 Specifies the user name which is used as env-name of
|
|
270 Wnn. If this isn't set, first _W_N_N_U_S_E_R environment
|
|
271 is referred. And if it isn't set, the user name of
|
|
272 process is referred.
|
|
273
|
|
274 xxiimmrrccNNaammee ((class XXiimmrrccNNaammee))
|
|
275 Specifies the path name of _x_i_m_r_c-_f_i_l_e which is a
|
|
276 start up file of _x_w_n_m_o. If this isn't set or there
|
|
277 is not it, first $_H_O_M_E/._x_i_m_r_c is referred. And if
|
|
278 it doesn't exist, the default is
|
|
279 "/usr/local/lib/wnn/ximrc". For feather information
|
|
280 about _x_i_m_r_c-_f_i_l_e, please see the manual of _x_i_m_r_c-
|
|
281 _f_i_l_e.
|
|
282
|
|
283 ccvvttxxiimmNNaammee ((class CCvvttxxiimmNNaammee))
|
|
284 Specifies the path name _c_o_n_v_e_r_t-_k_e_y-_f_i_l_e. The
|
|
285 _c_o_n_v_e_r_t-_k_e_y-_f_i_l_e contains the relation between func-
|
|
286 tion keys of X and keys of Wnn. The default is
|
|
287 "/usr/local/lib/wnn/cvt_xim_tbl". For feather
|
|
288 information about _c_o_n_v_e_r_t-_k_e_y-_f_i_l_e, please see the
|
|
289 manual of cvt_xim_tbl.
|
|
290
|
|
291 ccvvttffuunnNNaammee ((class CCvvttffuunnNNaammee))
|
|
292 Specifies the path name _c_o_n_v_e_r_t-_f_u_n_c_t_i_o_n-_f_i_l_e. The
|
|
293 _c_o_n_v_e_r_t-_f_u_n_c_t_i_o_n-_f_i_l_e contains the relation between
|
|
294 function keys of X and keys of Wnn. This file is
|
|
295 only for older version _x_w_n_m_o. Please use
|
|
296 _c_v_t__x_i_m__t_b_l as much as possible. For feather infor-
|
|
297 mation about _c_o_n_v_e_r_t-_f_u_n_c_t_i_o_n-_f_i_l_e, please see the
|
|
298 manual of cvt_fun_tbl.
|
|
299
|
|
300 ccvvttmmeettaaNNaammee ((class CCvvttmmeettaaNNaammee))
|
|
301 Specifies the path name of _c_o_n_v_e_r_t-_m_e_t_a-_f_i_l_e. The
|
|
302 _c_o_n_v_e_r_t-_m_e_t_a-_f_i_l_e contains the relation between meta
|
|
303 keys of X and keys of Wnn. This file is only for
|
|
304 older version _x_w_n_m_o. Please use _c_v_t__x_i_m__t_b_l as much
|
|
305 as possible. For feather information about
|
|
306 _c_o_n_v_e_r_t-_m_e_t_a-_f_i_l_e, please see the manual of
|
|
307 cvt_meta_tbl.
|
|
308
|
|
309 xxjjuuttiillNNaammee ((class XXjjuuttiillNNaammee))
|
|
310 Specifies the path name of _x_j_u_t_i_l which is _t_h_e _d_i_c_-
|
|
311 _t_i_o_n_a_r_y _u_t_i_l_i_t_y _m_a_n_a_g_e_r. The default is
|
|
312 "/usr/bin/X11/xjutil".
|
|
313
|
|
314 llaannggNNaammee ((class LLaannggNNaammee))
|
|
315 Specifies the _l_o_c_a_l_e _n_a_m_e which is referred as the
|
|
316 language environment of _R_o_o_t-_m_o_d_e. If this isn't
|
|
317 set, first _L_A_N_G environment is referred. And if it
|
|
318 isn't set, the default is _j_a__J_P. A syntax of
|
|
319 language-name follows.
|
|
320 language = <language>'_'<territory>
|
|
321
|
|
322 eexxiittMMeennuu ((class EExxiittMMeennuu))
|
|
323 Indicates that the menu for exit is available when a
|
|
324 mouse pointer is pushed on _R_o_o_t-_m_o_d_e window. The
|
|
325 default is ``True''.
|
|
326
|
|
327 The following options can be specified for the window for
|
|
328 _R_o_o_t-_m_o_d_e on each screen separately. the sub-name and sub-
|
|
329 class of each screen are ssccrreeeennNN and SSccrreeeennNN. Then NN are
|
|
330 specified the number of screen.
|
|
331
|
|
332 ffoorreeggrroouunndd ((class FFoorreeggrroouunndd))
|
|
333 Specifies the color to use for displaying text of
|
|
334 _R_o_o_t-_m_o_d_e window. The default is ``black''.
|
|
335
|
|
336 bbaacckkggrroouunndd ((class BBaacckkggrroouunndd))
|
|
337 Specifies the color to use for the background of
|
|
338 _R_o_o_t-_m_o_d_e window. The default is ``white''.
|
|
339
|
|
340 bboorrddeerrCCoolloorr ((class BBoorrddeerrCCoolloorr))
|
|
341 Specifies the color to use for the border of _R_o_o_t-
|
|
342 _m_o_d_e window. The default is ``black''.
|
|
343
|
|
344 iiccoonniicc ((class IIccoonniicc))
|
|
345 Indicates that _x_w_n_m_o should ask the window manager
|
|
346 to start it as an icon rather than as the normal
|
|
347 window. If the -RV option is specified or "root-
|
|
348 Visible" resource is specified as ``True'', this
|
|
349 resource is specified as ``False''. The default is
|
|
350 ``False''.
|
|
351
|
|
352 ggeeoommeettrryy ((class GGeeoommeettrryy))
|
|
353 Specifies the preferred size and position of _R_o_o_t-
|
|
354 _m_o_d_e window.
|
|
355
|
|
356 iiccoonnGGeeoommeettrryy ((class IIccoonnGGeeoommeettrryy))
|
|
357 Specifies the preferred position of the icon window.
|
|
358
|
|
359 bboorrddeerrWWiiddtthh ((class BBoorrddeerrWWiiddtthh))
|
|
360 Specifies the width in pixels of the border sur-
|
|
361 rounding _R_o_o_t-_m_o_d_e window.
|
|
362
|
|
363 ffoonnttSSeett ((class FFoonnttSSeett))
|
|
364 Specifies the list of font name. The fontset of
|
|
365 _R_o_o_t-_m_o_d_e window is created from this list. The
|
|
366 default is depend on the locale. A syntax of this
|
|
367 list follows.
|
|
368 font-name-list = <fontname>{','fontname}
|
|
369
|
|
370 rroooottVViissiibbllee ((class RRoooottVViissiibbllee))
|
|
371 Indicates that _x_w_n_m_o should unmap _R_o_o_t-_m_o_d_e window
|
|
372 when henkan mode is off or no client uses _R_o_o_t-_m_o_d_e.
|
|
373 The default is ``False''. This resource make
|
|
374 -iconic option void and set "iconic" resource as
|
|
375 ``False''.
|
|
376
|
|
377 SSEEEE AALLSSOO
|
|
378 killxwnmo(1X), ximrc(4X), cvt_xim_tbl(4X), cvt_fun_tbl(4X),
|
|
379 cvt_meta_tbl(4X)
|
|
380 _W_n_n _M_a_n_u_a_l (in the Wnn source directory)
|
|
381
|
|
382 CCOOPPYYRRIIGGHHTT
|
|
383 Copyright 1992, 1992 by OMRON Corporation
|
|
384 Copyright 1992, 1992 by Massachusetts Institute of Technol-
|
|
385 ogy
|
|
386
|
|
387 AAUUTTHHOORR
|
|
388 Seiji Kuwari (OMRON Corporation)
|
|
389
|
|
390
|
|
391
|
|
392 Printed 12/1/92 Release 5 6
|
|
393
|
|
394
|
|
395
|
|
396
|
|
397
|
|
398
|
|
399
|
|
400
|
|
401
|
|
402
|
|
403
|
|
404
|
|
405
|
|
406
|
|
407
|
|
408
|
|
409
|
|
410
|
|
411
|
|
412
|
|
413
|
|
414
|
|
415
|
|
416
|
|
417
|
|
418
|
|
419
|
|
420
|
|
421
|
|
422
|
|
423
|
|
424
|
|
425
|
|
426
|
|
427
|
|
428
|
|
429
|
|
430
|
|
431
|
|
432
|
|
433
|
|
434
|
|
435
|
|
436
|
|
437
|
|
438
|
|
439
|
|
440
|
|
441
|
|
442
|
|
443
|
|
444
|
|
445
|
|
446
|
|
447
|
|
448
|
|
449
|
|
450
|
|
451
|
|
452
|
|
453
|
|
454
|
|
455
|
|
456
|
|
457
|
|
458
|
|
459
|
|
460
|
|
461
|
|
462
|