]> git.pld-linux.org Git - projects/rc-scripts.git/blame - lang.csh
- skip lec and atm interfaces on start|stop, they are set using separate
[projects/rc-scripts.git] / lang.csh
CommitLineData
7e04fe0e 1#!/bin/csh
b0443108 2#
458f14b7 3# $Id: lang.csh,v 1.3 1999/12/15 18:41:05 misiek Exp $
b0443108 4#
7e04fe0e 5
458f14b7
AM
6test -f /etc/sysconfig/i18n
7if ($status == 0) then
7e04fe0e 8
458f14b7 9 if ($?LANG) then
7e04fe0e 10 setenv LANG
458f14b7 11 endif
7e04fe0e 12
458f14b7 13 if ($?LC_ALL) then
7e04fe0e 14 setenv LC_ALL
458f14b7 15 endif
7e04fe0e 16
458f14b7 17 if ($?LINGUAS) then
7e04fe0e 18 setenv LINGUAS
458f14b7 19 endif
7e04fe0e 20
458f14b7 21 if ($?SYSTERM) then
7e04fe0e 22 setenv TERM=$SYSTERM
458f14b7 23 endif
7e04fe0e 24
458f14b7
AM
25# # Set console font map.
26# if ($?UNIMAP) then
27# loadunimap $UNIMAP
28# endif
7e04fe0e 29
458f14b7
AM
30 if ($?SYSFONTACM) then
31 switch ($SYSFONTACM)
32 case iso01*|iso02*|iso15*|koi*|latin2-ucw*:
33 if ( "$TERM" == "linux" ) then
34 if ( ls -l /proc/$$/fd/0 2>/dev/null | grep -- '-> /dev/tty[0-9]*$' >/dev/null 2>&1) then
35 echo -n -e '\033(K' > /proc/$$/fd/0
36 endif
37 endif
38 breaksw
39 endsw
40 endif
41
42 if ($?SYSTERM) then
43 switch ($SYSTERM)
44 case linux-lat:
7e04fe0e 45 setenv LESSCHARSET=latin1
46 setenv INPUTRC=/etc/inputrc
458f14b7
AM
47 breaksw
48 endsw
49 endif
50endif
This page took 0.045612 seconds and 4 git commands to generate.