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

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