Инструменты пользователя

Инструменты сайта


локализация_консоли

Это старая версия документа.


Локализация консоли

Ubuntu

Настройка шрифтов

# dpkg-reconfigure console-setup

        Generic 102-key (Intl) PC
        Russia
        Все остальное по умолчанию кроме character set KOI8-R

Настройка локализации

# update-locale LANG="ru_RU.UTF-8" LANGUAGE="ru_RU.UTF-8" LC_ALL="ru_RU.UTF-8"

# cat /etc/default/locale
LANG=ru_RU.UTF-8
LANGUAGE=ru_RU.UTF-8
LC_ALL=ru_RU.UTF-8

FreeBSD

[gate:~] # sysinstall
(клавиатура, шрифты, терминал)

[gate:~] # cat /etc/rc.conf
...
font8x16="cp866-8x16"
scrnmap="koi8-r2cp866"
keymap="ru.koi8-r"

[gate:~] # /etc/rc.d/syscons start


[gate:~] # diff /etc/ttys
35c35
< ttyv0 "/usr/libexec/getty Pc"         cons25  on  secure
---
> ttyv0 "/usr/libexec/getty Pc"         cons25r on  secure

[gate:~] # kill -1 1

[gate:~] # date

[gate:~] # setenv LANG ru_RU.KOI8-R

[gate:~] # date
 
[gate:~] # pw usermod root -L russian
локализация_консоли.1297949230.txt.gz · Последние изменения: 2013/05/22 13:50 (внешнее изменение)