Здравствуйте!Есть в хендбуке (https://www.freebsd.org/doc/handbook/using-localization.html) такие строки:
Two methods are available for making the needed variable assignments: the login class method, which is the recommended method, ....
и
Alternately, the superuser can configure all users of the system for localization. The following variables in /etc/login.conf are used to set the locale and MIME character set:
Просьба подсказать, почему делая по хендбуку не получаю желаемого результата:
gardener$ uname -a
FreeBSD pcstation 9.3-STABLE FreeBSD 9.3-STABLE #0 r297184: Tue Mar 22 13:53:11 EET 2016 root@pcstation:/usr/obj/usr/src/sys/GENERIC i386
gardener$ grep russian -A 3 /etc/login.conf
russian|Russian Users Accounts:\
:charset=UTF-8:\
:lang=ru_RU.UTF-8:\
:tc=default:
gardener$ sudo grep gardener /etc/master.passwd
gardener:xxxxxxx:1001:1001:russian:0:0:User &:/home/gardener:/bin/sh
но получаю:
gardener$ locale
LANG=ru_RU.KOI8-R
LC_CTYPE="ru_RU.KOI8-R"
LC_COLLATE="ru_RU.KOI8-R"
LC_TIME="ru_RU.KOI8-R"
LC_NUMERIC="ru_RU.KOI8-R"
LC_MONETARY="ru_RU.KOI8-R"
LC_MESSAGES="ru_RU.KOI8-R"
LC_ALL=
В стартап скриптах все закоменчено:
gardener$ grep 'ru_RU' /etc/csh.cshrc /etc/profile
/etc/csh.cshrc:#setenv LANG ru_RU.UTF-8
/etc/csh.cshrc:#setenv LC_CTYPE ru_RU.UTF-8
/etc/csh.cshrc:#setenv LC_ALL ru_RU.UTF-8
/etc/profile:#LANG="ru_RU.UTF-8"; export LANG
/etc/profile:#LC_CTYPE="ru_RU.UTF-8"; export LC_CTYPE
/etc/profile:#LC_ALL="ru_RU.UTF-8"; export LC_ALL
В пользовательских локализация не настраивалась.
Что я упустил?