1/*
2 * $Id: SEP_README,v 1.1.2.1 1999/02/08 08:08:35 yamasita Exp $
3 */
4
5/*
6 * FreeWnn is a network-extensible Kana-to-Kanji conversion system.
7 * This file is part of FreeWnn.
8 *
9 * Copyright Kyoto University Research Institute for Mathematical Sciences
10 *                 1987, 1988, 1989, 1990, 1991, 1992
11 * Copyright OMRON Corporation. 1987, 1988, 1989, 1990, 1991, 1992, 1999
12 * Copyright ASTEC, Inc. 1987, 1988, 1989, 1990, 1991, 1992
13 *
14 * Author: OMRON SOFTWARE Co., Ltd. <freewnn@rd.kyoto.omronsoft.co.jp>
15 *
16 * This program is free software; you can redistribute it and/or modify
17 * it under the terms of the GNU General Public License as published by
18 * the Free Software Foundation; either version 2, or (at your option)
19 * any later version.
20 *
21 * This program is distributed in the hope that it will be useful,
22 * but WITHOUT ANY WARRANTY; without even the implied warranty of
23 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
24 * GNU General Public License for more details.
25 *
26 * You should have received a copy of the GNU General Public License
27 * along with GNU Emacs; see the file COPYING.  If not, write to the
28 * Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
29 *
30 * Commentary:
31 *
32 * Change log:
33 *
34 * Last modified date: 8,Feb.1999
35 *
36 */
37	SEP - SpotLocation Extended Protocol
38
39SEP is a protocol realizes quickly movement of spot location.
40
41Normaly, operation of cursor movement in appications follows:
42	nested_list = XVaCreateNestedList(dummy, XNSpotLocation, spot NULL);
43	XSetICValues(ic, XNPreeditAttributes, nested_list, NULL);
44	XFree(dpy, nested_list);
45Applications like terminal emulators must move cursor frequently, thence
46this operation causes applications a great deal of performance down.
47SEP solves this problem. Applications use SEP or call only the following
48function:
49	_XipChangeSpot(ic, spot_x, spot_y);
50
51For feather infomation about _XipChangeSpot(), please see SEP part of
52man of xwnmo.
53
54.
55
56-------------------------------------------------------------------------
57Communicating data using socket between XIMlibrary and XWNMO.
58
59    Request Encording
60     # of Bytes	Values			Description
61    XIM -> XWNMO (ximChangeSpotReq)
62	    1	XIM_ChangeSpot(20)	Req type
63	    1				unused
64	    2	12			length of this data
65	    4	CARD32			xic
66	    2	INT16			spot location x
67	    2	INT16			spot location y
68
69    Reply Encording
70     # of Bytes	Values			Description
71    XIM <- XWNMO (sz_ximEventReply)
72	    2				Reply
73		0			 success
74					 failed
75	    6				unused
76
77