## ## (c) 2002-2009 Pavel Polyakov ## ################################# # /etc/csh.locale # #echo csh.locale #env|grep LC_AL a LANG 'setenv LANG \!*' a setlocale1 'set lang = "\!^.\!$" chars=\!$ ;' a setlocale2 '\ setenv LC_TIME $lang ;\ setenv LC_ALL $lang ;\ setenv LC_MESSAGES $lang ;\ setenv LC_CTYPE $lang ;\ unsetenv LANGUAGE ;\ ' #echo sl2=$lang; \ #echo setenv LANG $lang ;\ #true setenv MM_CHARSET $chars ;\ a setlocale 'setlocale1 \!* ; setlocale2' a utf8 'setlocale ru_RU UTF-8' #echo \'$zlang\' \'$chars\'\ a ru 'setenv LANG ru_RU.KOI8-R\ setenv LC_TIME ru_RU.KOI8-R\ setenv noLC_ALL ru_RU.KOI8-R\ unsetenv LC_ALL \ setenv LC_MESSAGES ru_RU.KOI8-R\ setenv LANGUAGE ru\ setenv LC_MESSAGES C\ setenv MM_CHARSET KOI8-R\ setenv LC_CTYPE ru_RU.KOI8-R' a ru8 'setenv LANG ru_RU.UTF-8\ setenv LC_TIME ru_RU.UTF-8\ setenv noLC_ALL ru_RU.UTF-8\ unsetenv LC_ALL \ setenv LC_MESSAGES ru_RU.UTF-8\ setenv LANGUAGE ru\ setenv LC_MESSAGES C\ setenv MM_CHARSET UTF-8\ setenv LC_CTYPE ru_RU.UTF-8' a en 'setenv LANG en_US.KOI8-R\ unsetenv LC_TIME \ unsetenv LC_MESSAGES \ unsetenv LC_ALL \ unsetenv LANGUAGE \ unsetenv MM_CHARSET \ unsetenv LC_CTYPE ' a enn 'en; setenv LANG C' a unlang 'setenv LANG C\ unsetenv LC_TIME \ unsetenv LC_MESSAGES \ unsetenv LC_ALL \ unsetenv LANGUAGE \ unsetenv MM_CHARSET \ unsetenv LC_CTYPE '