From d194a371c1b1e0cb72b9d6ebdb324000bfc0f645 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Fri, 31 May 2002 02:41:54 +0000 Subject: unicode fixes; call unicode_start when necessary --- lang.csh | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'lang.csh') diff --git a/lang.csh b/lang.csh index 69d67afc..999b5c04 100755 --- a/lang.csh +++ b/lang.csh @@ -59,6 +59,19 @@ if ($sourced == 1) then breaksw endsw endif + if ($?LANG) then + switch ($LANG) + case *.utf8; + if ( $?TERM ) then + if ( "$TERM" == "linux" ) then + if ( `/sbin/consoletype` == "vt" ) then + unicode_start + endif + endif + endif + breaksw + endsw + endif unsetenv SYSFONTACM unsetenv SYSFONT endif -- cgit v1.2.1