File: README

package info (click to toggle)
kinput2 3.1-13
  • links: PTS
  • area: main
  • in suites: bullseye, buster, stretch
  • size: 3,028 kB
  • ctags: 5,584
  • sloc: ansic: 49,965; makefile: 104; sh: 68
file content (181 lines) | stat: -rw-r--r-- 6,094 bytes parent folder | download | duplicates (8)
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
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181

			kinput2 version 3.1

	-- an input server for easy input of Japanese text --


Kinput2 is an input server for X11 applications that want Japanese
text input.

A client that wants kana-kanji conversion service for Japanese text
sends a request to kinput2.  Kinput2 receives the request, does
kana-kanji conversion, and sends the converted text back to the
client.


* Kinput2 Features

    Upward-Compatible with Kinput:
	Kinput2 is fully upward-compatible with kinput, which was
	contributed to X11R4. Applications using kinput to input
	Japanese can also use kinput2 without any modification.

    Multiple Input Style:
	Kinput2 supports 4 input styles: root-window, off-the-spot,
	over-the-spot and on-the-spot.

    Multiple Protocol:
	There are several protocols which define how the communication
	between input server and clients should be done.  Kinput2
	implements following protocols:

		* kinput protocol
		* kinput2 protocol
		* Matsushita's jinput protocol
		* Sony's xlc protocol
		* XIMP protocol (X11R5 Ximp implementation)
		* X Input Method Protocol (X11R6 standard)

	If a client can speak at least one of them, the client can
	communicate with kinput2 and get Japanese text.

	The support of X Input Method Protocol is not yet fully tested
	and might have many bugs.

    Multiple Conversion Engine:
	Kinput2 doesn't do actual kana-kanji conversion itself.  There
	are several conversion servers available, so kinput2 uses them
	as its conversion engine.  Kinput2 can connect to the
	following servers:

		* Wnn jserver (version 4, 6 or 7)
		* Canna cannaserver
		* Sj3 sj3serv
		* Atok server

	Canna and Sj3 are contributed to X11R6.  Wnn is contributed
	to X11R5.

	You can choose which server to use at compilation time.  If
	you choose more than one, you can choose your favorite engine
	by a command line option when you invoke kinput2.


                                                +-------------------------+
    +---------+                           +---->|        jserver          |
    | client1 |<------+    +---------+    |     | (Wnn conversion daemon) |
    +---------+       +--->|         |<---+     +-------------------------+
                           | kinput2 |<-----+
    +---------+       +--->|         |<--+  |
    | client2 |<------+    +---------+   |  |   +-------------------------+
    +---------+                          |  +-->|      irohaserver        |
                                         |      |(Canna conversion daemon)|
                                         |      +-------------------------+
                                         |
                                         |      +-------------------------+
                                         +----->|        sj3serv          |
                                                | (SJ3 conversion daemon) |
                                                +-------------------------+


* Directories

This directory contains the following subdirectories:

	lib/		source code for a library kinput2 uses
	include/	header files
	cmd/		kinput2 source code
	doc/		various documents
	client/		sample client library and patch to kterm
	ccdef/		character conversion rule files (for Wnn)
	sj3def/		SJ3 user customization files


* Installation

First you have to decide which conversion server to use.  Currently
kinput2 supports 4 servers -- Wnn jserver, Canna cannasersver, SJ3
sj3serv and Atok server.  You can choose one of them, or more (in this
case, you can choose the server to use at run time with a command line
option).  Note that if you choose Wnn6, Wnn4 is also chosen
automatically.

You have to compile and install the conversion system (i.e. conversion
server and client-side library to communicate with the server) you
have chosen before making kinput2.  See the documents in each source
directory for their installation and how to get the servers up and
running.

Then, you have to edit Kinput2.conf in this directory.  It is the
global configuration file for kinput2.  See the file for details.

If you're going to generate Makefiles by xmkmf, maybe you should specify
TOP directory in Imakefile in this directory.

Ready?  Now what you should do to build kinput2 is:

	xmkmf
	make Makefiles
	make depend
	make
	make install

During make depend, you may get warning messages that kinput2.c
includes "WcharDisp.h" more than once, which can be ignored.

Don't forget to do 'make install'.  Kinput2 won't run unless its
application default file (cmd/Kinput2.ad) is properly installed.


* How to Use

Please see cmd/kinput2.man for general setting.  Default key bindings
are described in doc/defaultkeys.  Other documents will be found in
doc subdirectory, though they are written in Japanese.


* Clients

Since kinput2 supports many protocols, various clients can use kinput2
as their input server.

First, internationalized clients using X11R6 Xlib can connect to
kinput2 via X Input Method Protocol.

Also internationalized clients using Ximp implementation of X11R5 Xlib
can connect to kinput2 via Ximp protocol.

A Japanized terminal emulator, 'kterm', can also connect to kinput2
via kinput2 protocol.  A sample client-side library source for kinput2
protocol is provided in client subdirectory.  See client/README for
details.


* Changes

See `NEWS' file for recent major changes.


* Bugs

If you find a bug, please send a bug report to kinput2@sra.co.jp.
Please don't forget to include the description of your environment (your
machine, OS version, X window patchlevel, etc.) as well as the version
of kinput2 ("kinput2 -version" prints version information).


* Credits

I wish to thank the following people who have contributed much to this
release:
    Akira Kon, Naoshi Suzuki, Hiroshi Ohta, Masaki Takeuchi, Hideki Hiura,
    Ryuji Ishiguro, Nayuta Taga, Hideyuki Moribe, Kazuki Yasumatsu, Shinji
    Morino, the members of the kinput2 mailing list and XXI working group.

Also my thanks go to all the people who participated in beta testing of
kinput2.


					Makoto Ishisone
					Software Research Associates, Inc.
					ishisone@sra.co.jp