/*
 * Copyright 1998 by Sun Microsystems, Inc.,
 * 901 San Antonio Road, Palo Alto, California, 94303, U.S.A.
 * All rights reserved.
 *
 * This software is the confidential and proprietary information
 * of Sun Microsystems, Inc. ("Confidential Information").  You
 * shall not disclose such Confidential Information and shall use
 * it only in accordance with the terms of the license agreement
 * you entered into with Sun.
 */

This directory contains examples of X-AUX programs that
use common library, which can work with both Motif and GTK+.

  xaux_gtk/
	X-AUXs for GDK/GTK+

  xaux_motif/
	X-AUXs for Motif

  xaux_common/
	Common files of X-AUX

  sampleja3.c
	example engine for Japanese.

	conversion on/off (Ctrl+SPACE):

		PaletteAux shows the status on/off

	1) turn conversion on
	2) type b

		draw `kanji` on input field

	3) type space

		LookupAux shows the candidates

	4) type space again

		The current candidate will be moved to
		the next

How to build and install:

1) build from top directory

2) build under xaux_gtk/

	% cd xaux_gtk
	% gmake

   `gtk-config' should work properly. You may need to
   set up environment variable LD_LIBRARY_PATH and PATH

3) put binaries as

   /usr/lib/im/leif/sampleja3.so

   /usr/lib/im/locale/ja/sampleja3/xaux/motif/xaux.so
   /usr/lib/im/locale/ja/sampleja3/xaux/motif/LookupAux
   /usr/lib/im/locale/ja/sampleja3/xaux/motif/PaletteAux

   /usr/lib/im/locale/ja/sampleja3/xaux/gtk/xaux.so
   /usr/lib/im/locale/ja/sampleja3/xaux/gtk/LookupAux
   /usr/lib/im/locale/ja/sampleja3/xaux/gtk/PaletteAux

4) run htt_server -if sampleja3

   % htt_server -if sampleja3

5) To use GTK+ AUXs, set USE_GTK as True before you start
   htt_server

   % setenv USE_GTK True
   % htt_server -if sampleja3
