/* 
 * 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.
 */

ude --  User Defined Engine, SunIM based Simplified Chinese conversion 
	engine module.

HOW TO BUILD:

    1. If Makefile does not exist, run configure script at src/server. 

	$ cd /somewhere/src/server
	$ sh configure

	You can specify your favorite options if you want. 

    2. Run GNU version of make command.
	
	$ cd /somewhere/src/server/programs/language_engines/ude
	$ gmake

    	`ude.so' will be created in current directory.

HOW TO INSTALL:

    1. If package SUNWiiimd are installed, ignore these 3 steps.
       Otherwise, manul installation is needed.

    2. copy `ude.so' to a directory, for example:

	$ cp /somewhere/src/server/programs/language_engines/ude/ude.so ~/

    3. copy code table file `pinyin.mb' to the same direcroty

	$ cp /somewhere/src/server/programs/language_engines/ude/data/pinyin.mb ~/

HOW TO USE:

    1. make sure the code table file is located at <the path of `ude.so'>,
       or at "<the path of `ude.so'>/../locale/zh_CN/ude/data"
	
    2. start htt_server with -if ude option

	htt_server -if ude -ifpath_name <the path of ude.so>

    3. start client.

HOW TO ADD YOUR OWN CODETABLE:

    1. Realize the code table format: (for example, pinyin.mb)

    **** pinyin.mb ****

    #
    # ȫƴ뷨
    #
    <codetable_info>			# code table infomation
    name            ƴ 		# the name of this input method
    locale          zh_CN		# locale
    wildchar        *			# a char to replace preedit keys
					# for expample. 'z' is a wildchar in "Wubi" input method
    <preedit_keytable>			# do not use now
    <codetable>				# code table
          a				# format:
          a				# characters(or strings)	preedit string
    ....

    2. Create new code table according to this format

    3. copy the code table file to the direcroty <the path of `ude.so'>.

    4. restart htt_server and client

    5. make conversion on, Press Alt+2, the new input method will be active.




