This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
локализация_консоли [2011/03/18 15:42] val |
локализация_консоли [2015/02/09 16:34] (current) val [FreeBSD] |
||
|---|---|---|---|
| Line 9: | Line 9: | ||
| ... | ... | ||
| Encoding to use on the console: UTF-8 | Encoding to use on the console: UTF-8 | ||
| - | Character set to support: KOI8-R | + | Character set to support: Cyrillic - KOI8-R and KOI8-U |
| ... | ... | ||
| </code> | </code> | ||
| Line 15: | Line 15: | ||
| ===== FreeBSD ===== | ===== FreeBSD ===== | ||
| <code> | <code> | ||
| - | [gate:~] # cat /etc/rc.conf | + | # cat /etc/rc.conf |
| + | </code><code> | ||
| ... | ... | ||
| font8x16="cp866-8x16" | font8x16="cp866-8x16" | ||
| scrnmap="koi8-r2cp866" | scrnmap="koi8-r2cp866" | ||
| keymap="ru.koi8-r" | keymap="ru.koi8-r" | ||
| + | ... | ||
| + | </code><code> | ||
| + | # /etc/rc.d/syscons restart | ||
| - | [gate:~] # /etc/rc.d/syscons restart | + | freebsd8# sed -i.bak 's/cons25/cons25r/' /etc/ttys |
| - | + | ||
| - | [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 | + | # kill -1 1 |
| </code> | </code> | ||