User Tools

Site Tools


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

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
локализация_консоли [2009/03/05 09:33]
val
локализация_консоли [2011/12/01 14:03]
val
Line 1: Line 1:
 ====== Локализация консоли ====== ====== Локализация консоли ======
 +
 +===== Ubuntu =====
 <​code>​ <​code>​
-[gX:​~] ​sysinstall +dpkg-reconfigure console-setup
-(клавиатура,​ шрифты,​ терминал)+
  
-[gX:~] # cat /​etc/​rc.conf+        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>​ 
 +[gate:~] # cat /​etc/​rc.conf
 ... ...
 font8x16="​cp866-8x16"​ font8x16="​cp866-8x16"​
Line 10: Line 21:
 keymap="​ru.koi8-r"​ keymap="​ru.koi8-r"​
  
-[gX:~] # /​etc/​rc.d/​syscons ​start+[gate:~] # /​etc/​rc.d/​syscons ​restart
  
- +[gate:~] # sed -i.bak '​s/​cons25/​cons25r/' ​/etc/ttys
-[gX:~] # rcsdiff ​/etc/ttys+
 35c35 35c35
 < ttyv0 "/​usr/​libexec/​getty Pc" ​        ​cons25 ​ on  secure < ttyv0 "/​usr/​libexec/​getty Pc" ​        ​cons25 ​ on  secure
Line 19: Line 29:
 > ttyv0 "/​usr/​libexec/​getty Pc" ​        ​cons25r on  secure > ttyv0 "/​usr/​libexec/​getty Pc" ​        ​cons25r on  secure
  
-[gX:~] # kill -1 1 +[gate:~] # kill -1 1
- +
-[gX:~] # date +
- +
-[gX:~] # setenv LANG ru_RU.KOI8-R +
- +
-[gX:~] # date +
-  +
-[gX:~] # pw usermod root -L russian+
 </​code>​ </​code>​
  
локализация_консоли.txt · Last modified: 2015/02/09 16:34 by val