#!/bin/csh
#
-# $Id: lang.csh,v 1.3 1999/12/15 18:41:05 misiek Exp $
+# $Id: lang.csh,v 1.4 2001/05/15 16:03:33 baggins Exp $
#
test -f /etc/sysconfig/i18n
setenv TERM=$SYSTERM
endif
-# # Set console font map.
-# if ($?UNIMAP) then
-# loadunimap $UNIMAP
-# endif
+ if ($?_XKB_CHARSET) then
+ setenv _XKB_CHARSET
+ endif
- if ($?SYSFONTACM) then
- switch ($SYSFONTACM)
- case iso01*|iso02*|iso15*|koi*|latin2-ucw*:
- if ( "$TERM" == "linux" ) then
- if ( ls -l /proc/$$/fd/0 2>/dev/null | grep -- '-> /dev/tty[0-9]*$' >/dev/null 2>&1) then
- echo -n -e '\033(K' > /proc/$$/fd/0
- endif
- endif
- breaksw
- endsw
+ if ($?INPUTRC) then
+ setenv INPUTRC
endif
- if ($?SYSTERM) then
- switch ($SYSTERM)
- case linux-lat:
- setenv LESSCHARSET=latin1
- setenv INPUTRC=/etc/inputrc
- breaksw
- endsw
+ if ($?LESSCHARSET) then
+ setenv LESSCHARSET
+ else if ($TERM == linux-lat) then
+ setenv LESSCHARSET latin1
endif
+
endif