1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150
|
--------------------------------------------------------------
IIIMECF (Internet/Intranet Input Method Emacs Client Framework)
Brief manual.
Written by MIYASHITA Hisashi (himi@m17n.org)
on 2000/9/8.
--------------------------------------------------------------
o ... License
IIIMECF is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.
You should have received a copy of the GNU General Public License
along with IIIMECF; see the file COPYING. If not, write to
the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA.
o ... What is IIIMECF?
IIIMECF conforms IIIM Protocol Specification defined by Sun Microsystems,
and consists of a library to create IIIM awared applications and a simple
input method library controlled by IIIM server(s).
(This input-method is denoted by "iiimcf-sc" hereafter.)
This version supports Emacs 20.6 or later; and Meadow 1.10 or later.
Mule-UCS is indispensable. I recommend to use this library with Mule-UCS
version 0.82 or later.
I confirmed that iiimcf-sc can work with ATOK X for Linux and ATOK/IIIMF
on Solaris 8.
You can obtain Mule-UCS from ftp://ftp.m17n.org/pub/mule/Mule-UCS.
And ftp://ftp.m17n.org/pub/mule/IIIM is the primary distribution site
of IIIMECF.
I am planning to adapt IIIMECF to XEmacs too.
o ... Installation
To byte compile IIIMECF, you can use iiimcf-comp.el.
Enter the following command line:
--
emacs -q --no-site-file -batch -l iiimcf-comp.el
--
If you use Meadow, enter the following:
--
Meadow95(NT) -q --no-site-file -batch -l iiimcf-comp.el
--
And then, you will obtain byte-compiled emacs-lisp files.
Finally, you should install lisp directory to your site-lisp directory.
That's all for usual installation processes. For configuration,
please refer to the section of "Configuration of iiimcf-sc".
o ... Modules
Currently, IIIMECF consists of the following modules.
(1) ... iiimp.el
A IIIM protocol library. This module provides
fundamental facilities to communicate with IIIM servers.
(2) ... iiimcf.el
This module provides general facilities to compose IIIM clients,
e.g., dispatching events, translating messages for Emacs,
generating client descriptor, and so on.
(3) ... iiimcf-sc.el
This module provides a simple input method, which forwards almost
all of the operations related to input method conversions to
IIIM server, and is controlled by IIIM server.
o ... Configuration of iiimcf-sc.
You should configure or confirm at least the following variables.
iiimcf-server-control-hostlist The default value is '("localhost")
Specifies IIIM servers. The format is like "<SERVER>:<PORT>".
You can specify more than one server. Although, currently, iiim-sc
tries to connect the first server, it will be able to switch servers
dynamically in the future.
Example: (setq iiimcf-server-control-hostlist
'("localhost" "iiim:9010" "iiim.foo.com:9000" ))
If you omit <PORT>, use iiimcf-server-control-default-port.
The default value of this variable is 9010.
iiimcf-server-control-username The default value is (user-login-name)@(system-name)
Username sent to IIIM server. Normally, you don't have to set this variable,
but if you would like to specify username and machine name explicitly, set this
variable. Note that the old htt_server may work wrong if you omit the part
after `@'.
Example: (setq iiimcf-server-control-username "himi@tae.m17n.org")
iiimcf-server-control-default-language The default value is nil.
Input method language used by default. If nil, use the first
candidate sent by server. FYI, you can switch this by C-cC-\C-l
later.
You can customize iiimcf-server-control-preedit-open-string,
iiimcf-server-control-preedit-close-string,
iiimcf-server-control-preedit-face-alist,
iiimcf-server-control-preedit-use-face-p, .etc.
As to these variables, please refer the documentation strings.
(BTW, iiim-sc uses custom package to define all of the customizable
variables. Thus, by executing M-x customize-group
iiimcf-server-control, you can configure them.)
Naturally, you need to load iiimcf-sc.
To do this, add (require 'iiimcf-sc) to your configuration file.
After you load iiimcf-sc, you can use a new input method,
iiim-server-control.
If you can use this by default, please add:
(setq default-input-method 'iiim-server-control)
Example.
--
(setq iiimcf-server-control-hostlist
'("localhost" "iiim:9010" "iiim.foo.com:9000" ))
(setq default-input-method 'iiim-server-control)
(require 'iiimcf-sc)
--
o ... Mailing List.
IIIMECF mailing list addresses are
li18nux-iiimecf@li18nux.org (Engilsh)
li18nux-iiimecf.ja@li18nux.org (Japanese).
If you'd like to join in it, please send mail that has
"subscribe <your name>" in the body to
li18nux-iiimecf-ctl@li18nux.org (Engilsh)
li18nux-iiimecf.ja-ctl@li18nux.org (Japanese)
For detail, please send empty mail to
li18nux-iiimecf-ctl@li18nux.org (Engilsh)
li18nux-iiimecf.ja-ctl@li18nux.org (Japanese)
then you will receive a guide message.
|