This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
локализация_консоли [2009/03/05 09:27] val created |
локализация_консоли [2015/02/09 16:34] val [FreeBSD] |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Локализация консоли ====== | ====== Локализация консоли ====== | ||
+ | ===== Ubuntu ===== | ||
+ | <code> | ||
+ | # dpkg-reconfigure console-setup | ||
+ | |||
+ | Keyboard Model: Generic 102-key (Intl) PC | ||
+ | Origing of the keyboard: Russia | ||
+ | ... | ||
+ | Encoding to use on the console: UTF-8 | ||
+ | Character set to support: Cyrillic - KOI8-R and KOI8-U | ||
+ | ... | ||
+ | </code> | ||
+ | |||
+ | ===== FreeBSD ===== | ||
+ | <code> | ||
+ | # cat /etc/rc.conf | ||
+ | </code><code> | ||
+ | ... | ||
+ | font8x16="cp866-8x16" | ||
+ | scrnmap="koi8-r2cp866" | ||
+ | keymap="ru.koi8-r" | ||
+ | ... | ||
+ | </code><code> | ||
+ | # /etc/rc.d/syscons restart | ||
+ | |||
+ | freebsd8# sed -i.bak 's/cons25/cons25r/' /etc/ttys | ||
+ | |||
+ | # kill -1 1 | ||
+ | </code> | ||