| 1 |
IM Server Developers Kit |
| 2 |
|
| 3 |
Release Notes |
| 4 |
|
| 5 |
Hidetoshi Tajima |
| 6 |
|
| 7 |
X11R6 Xi18n Implementation Group |
| 8 |
|
| 9 |
May 15, 1995 |
| 10 |
|
| 11 |
Here is an introduction of IMserver Developers Kit, in short IMdkit, |
| 12 |
which is distributed with X11R6 contributions. |
| 13 |
|
| 14 |
1. Scope of IMdkit |
| 15 |
|
| 16 |
IMdkit has the following six primary features. |
| 17 |
|
| 18 |
1.1. Providing C language Interface |
| 19 |
|
| 20 |
IMdkit provides a low level interface to IMProtocol. It binds |
| 21 |
each IMProtocol operation to the interface for C language, so that you |
| 22 |
will take less efforts to make your IMservers communicable with XIM |
| 23 |
clients rather than handling IMProtocol directly. An XIM client is |
| 24 |
defined as an application program which is internationalized by using |
| 25 |
XIM API defined in X11R6. |
| 26 |
|
| 27 |
1.2. Encapsulating actual IMProtocol operations |
| 28 |
|
| 29 |
IMdkit is designed to encapsulate the details of IMProtocol model. |
| 30 |
Using this kit, you don't have to deal with the actual byte-stream |
| 31 |
packets for yourselves, instead, you can use a set of data structures, |
| 32 |
each of which is corresponding to each actual IMProtocols, and you can |
| 33 |
deal with them in the same way as you deal with XEvent data structures. |
| 34 |
|
| 35 |
1.3. Encapsulating Transport mechanism difference |
| 36 |
|
| 37 |
IMdkit is designed to encapsulate the transport mechanism, such as X |
| 38 |
Protocol, TCP/IP, Decnet, which are used in transmission of IMProtocol |
| 39 |
packets between Input Method library(IMlibrary, a part of Xlib) and |
| 40 |
IMserver. |
| 41 |
|
| 42 |
1.4. Encapsulating Byte Order difference |
| 43 |
|
| 44 |
IMdkit is designed to encapsulate the difference in Byte Order |
| 45 |
between IMserver and clients, so IMservers using IMdkit can serve both |
| 46 |
little endian clients and Big endian clients at the same time, without |
| 47 |
taking care of the difference for themselves. |
| 48 |
|
| 49 |
1.5. Encapsulating multiple IMProtocol models |
| 50 |
|
| 51 |
IMdkit is designed to be, to some extent, independent of IMProtocol |
| 52 |
model. At the current release, it deals with two different IMProtocol |
| 53 |
models, Ximp model, one of R5 sample IMProtocol models, and the R6 |
| 54 |
standard IMProtocol model. |
| 55 |
|
| 56 |
1.6. Modeled after XIM APIs |
| 57 |
|
| 58 |
IMdkit is to IMserver Developers what XIM is to I18N application |
| 59 |
Developers, so IMdkit is modeled after XIM APIs. For example: |
| 60 |
|
| 61 |
XIM has XOpenIM and XCloseIM, and IMdkit has IMOpenIM and |
| 62 |
IMCloseIM. |
| 63 |
|
| 64 |
XIM has a concept of IMValues and provides XSetIMValues and |
| 65 |
XGetIMValues to set and get them, and IMdkit also uses IMValues |
| 66 |
and provides IMSetIMValues and IMGetIMValues to set and get |
| 67 |
them. |
| 68 |
|
| 69 |
2. Building |
| 70 |
|
| 71 |
There is one special build instruction. Please use xmkmf with -a |
| 72 |
option, and with the top directory(path to xc) and the path to |
| 73 |
the current directory from the top directory in order to make a |
| 74 |
Makefile, include all the necessary files and check dependency. |
| 75 |
Type: |
| 76 |
|
| 77 |
xmkmf -a path_to_top(xc)_directory \ |
| 78 |
path_from_top(xc)_to_current_directory |
| 79 |
|
| 80 |
This is because IMdkit refers to some files in xc/lib/xtrans |
| 81 |
directory to support X TransportServer mechinism. |
| 82 |
|
| 83 |
3. Documents |
| 84 |
|
| 85 |
For any detailed information, please refer to the documentation in |
| 86 |
the doc/ subdirectory. |
| 87 |
|
| 88 |
4. Testing |
| 89 |
|
| 90 |
The IMdkit has been built and tested with the current X11R6 release |
| 91 |
(patchlevel 1) on the following systems: |
| 92 |
|
| 93 |
FUJITSU DS 7742 UXP/DS V10L20 |
| 94 |
IBM RS/6000 320H AIX 3.2.5 |
| 95 |
Sony NWS-5000 NEWS-OS 6.0.2 |
| 96 |
SPARCstation SunOS 4.1 |
| 97 |
SPARCstation Solaris 2.3 |
| 98 |
SPARCstation Solaris 2.4 |
| 99 |
HP9000 S700 HP-UX9.01 |
| 100 |
|
| 101 |
5. Bug Reports |
| 102 |
|
| 103 |
If you find a reproducible bug in this software or the documentation, |
| 104 |
please send a bug report to the following destination address: |
| 105 |
|
| 106 |
[email protected] |
| 107 |
|
| 108 |
6. Acknowledgements |
| 109 |
|
| 110 |
I would like to thank all the members in xi18n sample implementation |
| 111 |
group for giving useful comments and suggestions and partcipating in |
| 112 |
tests of IMdkit: Takashi Fujiwara, Hideki Hiura, Yoshio Horiuchi, |
| 113 |
Makoto Inada, Hiromu Inukai, Hiroyuki Miyamoto, Makoto Wakamatsu, |
| 114 |
Masaki Wakao, Nobuyuki Tanaka, Shigeru Yamada and Katsuhisa Yano. And I |
| 115 |
would like to make special thanks to Hiromu Inukai, who is the principal |
| 116 |
author of the Ximp facilities, and special thanks to Makoto Inada and |
| 117 |
Hiroyuki Miyamoto for providing the Frame Manager Interfaces. |