How to setup readable russian language for ssh?
|
14th Feb, 2013, 01:30 AM
Post: #1
|
|||
|
|||
How to setup readable russian language for ssh?
After I changed default locale (en_gb) to ru_RU (utf8, default)+en_US(utf-8) and set kitty (like putty) to use utf8, I cant read russian file/dir names bcoz they looks like ??? ??????? (2012). These files is on external HDD, ext4, defaults,noatime (fstab). XBMC displays this correctly.
|
|||
14th Feb, 2013, 04:32 AM
Post: #2
|
|||
|
|||
RE: How to setup readable russian language for ssh?
Maybe I must reboot my PI, i'll try it later.
|
|||
14th Feb, 2013, 05:04 AM
Post: #3
|
|||
|
|||
RE: How to setup readable russian language for ssh?
Let us know
Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
14th Feb, 2013, 02:25 PM
Post: #4
|
|||
|
|||
RE: How to setup readable russian language for ssh?
Same, looks like dpkg-reconfigure locales dont work.
|
|||
15th Feb, 2013, 02:09 AM
Post: #5
|
|||
|
|||
RE: How to setup readable russian language for ssh?
This question is first when I Google this thing. How to enable russian(utf8) terminal, keyboard and other?
Terminal root@xbian:/home/xbian# locale -a C C.UTF-8 POSIX en_US.utf8 ru_RU.utf8 root@xbian:/home/xbian# locale LANG=ru_RU.UTF-8 LANGUAGE=C LC_CTYPE="C" LC_NUMERIC="C" LC_TIME="C" LC_COLLATE="C" LC_MONETARY="C" LC_MESSAGES="C" LC_PAPER="C" LC_NAME="C" LC_ADDRESS="C" LC_TELEPHONE="C" LC_MEASUREMENT="C" LC_IDENTIFICATION="C" LC_ALL=C When I used raspbian, I only need to reconfigure locales to add default ru_RU(utf8) and all works. But with xbian it didnt do what I expect. |
|||
15th Feb, 2013, 02:27 AM
Post: #6
|
|||
|
|||
RE: How to setup readable russian language for ssh?
Can you post your /etc/profile here?
Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
15th Feb, 2013, 02:34 AM
Post: #7
|
|||
|
|||
RE: How to setup readable russian language for ssh?
Terminal root@xbian:/home/xbian# cat /etc/profile # /etc/profile: system-wide .profile file for the Bourne shell (sh(1)) # and Bourne compatible shells (bash(1), ksh(1), ash(1), ...). if [ "`id -u`" -eq 0 ]; then PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" else PATH="/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games" fi export PATH export LANG=C export LC_ALL=C export LANGUAGE=C if [ "$PS1" ]; then if [ "$BASH" ] && [ "$BASH" != "/bin/sh" ]; then # The file bash.bashrc already sets the default PS1. # PS1=h:w$ if [ -f /etc/bash.bashrc ]; then . /etc/bash.bashrc fi else if [ "`id -u`" -eq 0 ]; then PS1=# else PS1=$ fi fi fi # The default umask is now handled by pam_umask. # See pam_umask(8) and /etc/login.defs. if [ -d /etc/profile.d ]; then for i in /etc/profile.d/*.sh; do if [ -r $i ]; then . $i fi done unset i fi |
|||
16th Feb, 2013, 06:15 PM
Post: #8
|
|||
|
|||
RE: How to setup readable russian language for ssh?
Maybe I will reinstall xbian from zero today. What I must do to enable russian lang, keyboard, filenames support?
|
|||
16th Feb, 2013, 07:09 PM
Post: #9
|
|||
|
|||
RE: How to setup readable russian language for ssh?
Code: dpkg-reconfigure locales pilight - modular domotica solution
|
|||
16th Feb, 2013, 07:28 PM
Post: #10
|
|||
|
|||
RE: How to setup readable russian language for ssh?
Yep, Im sure. After dpkg-reconfigure locale is like this http://forum.xbian.org/thread-446-post-5119.html#pid5119
And I cant imagine a reason why it should work if I reinstall xbian from zero. Now with default ru_RU UTF8 and SSH-client with UTF8 it looks like |
|||
16th Feb, 2013, 08:26 PM
Post: #11
|
|||
|
|||
RE: How to setup readable russian language for ssh?
Can you try this:
Code: sed -i 's/ SendEnv LANG LC_\*/# SendEnv LANG LC_\*/g' /etc/ssh/ssh_config pilight - modular domotica solution
|
|||
16th Feb, 2013, 08:31 PM
Post: #12
|
|||
|
|||
RE: How to setup readable russian language for ssh?
Same...
|
|||
16th Feb, 2013, 08:41 PM
Post: #13
|
|||
|
|||
RE: How to setup readable russian language for ssh?
Then i don't know how to do it.
pilight - modular domotica solution
|
|||
16th Feb, 2013, 08:46 PM
Post: #14
|
|||
|
|||
RE: How to setup readable russian language for ssh?
Nice =)
Then this question: By default, is there everything needed to display Russian filenames? In theory, after clean install && dpkg-reconf locales add ru_RU utf8 all must works, right? |
|||
16th Feb, 2013, 08:52 PM
Post: #15
|
|||
|
|||
RE: How to setup readable russian language for ssh?
Read and try this: https://github.com/xbianonpi/xbian/issues/256#issuecomment-13028382
pilight - modular domotica solution
|
|||
« Next Oldest | Next Newest »
|