#
# @(#)S118cle 1.6 99/10/26 SMI
#
# Launch Desktop X Input Method Server for CLE
# Locale: en_US.UTF-8
#

if [ -x /usr/openwin/bin/htt -a -f /usr/lib/im/leif/cle.so ]; then 
	# OpenWindows
	if [ "_$_sunximswm" = "_olwm" ] ; then
		: # CLE does not support OpenWindows
		: # do not unset DTSTARTIMS in this case
	# CDE
	else
		LC_ALL=zh_CN.GB18030 LANG=zh_CN.GB18030 \
		XFILESEARCHPATH=/usr/openwin/lib/locale/zh_CN.GB18030/%T/%N%S \
		/usr/openwin/bin/htt \
			-if cle -so -nosm -lc_basiclocale zh_CN.GB18030 -xim htt_xbe \
			> /dev/null 2>&1 &
#		unset DTSTARTIMS 
	fi
fi
