#! /bin/sh

# invoke mlterm in UTF-8 mode and set environment variables

#############################################################################
# Configure environment for UTF-8
LC_CTYPE=`echo $LC_CTYPE | sed -e "s,\..*,,"`.UTF-8
 export LC_CTYPE
LESSCHARSET=utf-8	# used by older less version to select UTF-8 display
 export LESSCHARSET

MINED=$MINED+UU
 export MINED

#############################################################################
# mlterm options that were suspected to be useful but did not turn out to be
# -D, --bi
# -J, --dyncomb
# -m, --comb

# font selection
fontoptions="-n -w 20"
fontoptions="-n -w 18"

exec mlterm -E utf8 -k esc -Y $fontoptions $*
