I have Netgear Stora MS2000 (which uses a modified version of Red Hat) and have strange font issues while connecting by SSH. Note that this occurs both when connecting by PuTTY from Windows and by performing ssh
from Mac console.
When I use some Polish letter and type ls
it is displayed as two question marks. However, when I try to autocomplete the file name it displays correctly. This is illustrated in the following picture:
Tried to change TERM
and LANG
variables to different values but without any luck.
I also noticed wrong display of mc
, this may (or may not) be related to the same issue:
Any ideas what should I change?
The screens where made from PuTTY but it looks the same from Mac terminal.
EDIT
Answering question from comment, here is output from locale
, alias ls
and echo młodość | od -t x1
:
-bash-3.2$ locale
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=pl_PL.UTF-8
LC_CTYPE="pl_PL.UTF-8"
LC_NUMERIC="pl_PL.UTF-8"
LC_TIME="pl_PL.UTF-8"
LC_COLLATE="pl_PL.UTF-8"
LC_MONETARY="pl_PL.UTF-8"
LC_MESSAGES="pl_PL.UTF-8"
LC_PAPER="pl_PL.UTF-8"
LC_NAME="pl_PL.UTF-8"
LC_ADDRESS="pl_PL.UTF-8"
LC_TELEPHONE="pl_PL.UTF-8"
LC_MEASUREMENT="pl_PL.UTF-8"
LC_IDENTIFICATION="pl_PL.UTF-8"
LC_ALL=
-bash-3.2$ alias ls
alias ls='ls --color=tty'
-bash-3.2$ echo młodość | od -t x1
0000000 6d c5 82 6f 64 6f c5 9b c4 87 0a
0000013
-bash-3.2$
locale
, ofalias ls
, and ofecho młodość | od -t x1
?locale
, I think the locale definition files for your language are missing. Either you need some command to install them manually (this is the GUI way, I don't know what the command line way is) or the files have been omitted from this stripped-down installation.