/usr/share/doc/dbskkd-cdb/skk-server-protocol.txt is in dbskkd-cdb 1:2.00-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 | SKK server-client protocol for dbskkd-cdb
(unofficial)
by Kenji Rikitake
last update 6-FEB-2009
Note:
this document is for dbskkd-cdb only
this document does not describe
sub-protocols for the server completion
which is unsupported on dbskkd-cdb
Notation:
'0' is ASCII 0x30
LF is ASCII 0x0a
space is ASCII 0x20
"abc" is ASCII/EUC-JP string
Size limit:
maximum request size: 1024 bytes
maximum result size: 4096 bytes
CLIENT_END:
request to server: '0' + space + LF
CLIENT_REQUEST:
request to server: '1' + dictionary_key + space + LF
answer if found: '1' + ('/' + candidate) * number_of_candidates +
'/' + LF
answer if not found: '4' + dictionary_key + space + LF
note: dictionary_key and candidates are all variable-length strings
character code of dictionary_key and candidate are
in EUC-JP
CLIENT_VERSION:
request to server: '2' + space + LF
answer: string including server version + space
e.g. "dbskkd-cdb-2.00 "
note: no known client parses this string
on dbskkd-cdb: returns version string
CLIENT_HOST:
request to server: '3' + space + LF
answer: string including host information + space
e.g. "localhost:127.0.0.1: "
note: no known client parses this string
on dbskkd-cdb: returns dummy string "novalue: "
Shutting down:
The server disconnects the link and shuts down
when received an unknown request
on dbskkd-cdb: an internal error will cause shutdown
(exit(1))
[end of document]
|