You are not logged in.

#1 2009-04-28 22:09:42

stabele
Member
Registered: 2008-12-22
Posts: 101

terminal & locale problems

I have troubles with terminals (urxvt and xterm, same behaviour) - mc has strange characters instead linesd, vim gets sometimes text garbled. I tried to fix this but nothing works. What is strange - when I start urxvt from urxvt, the problems are gone (same for xterm). I triple-checked locale settings. I dumped varibles form urxvt, run new urxvt from it and dumped variables once more and them compare. No results. I found dirty workaround - command printf '\33]701;%s\007' $LC_CTYPE in .bashrc force correct locale for urxvt.

But I would really like to find source of this troubles - any idea where to look would be wellcomed.

$ locale
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8

$  locale -a
C
cs_CZ
cs_CZ.iso88592
cs_CZ.utf8
czech
en_US
en_US.iso88591
en_US.utf8
POSIX

Offline

Board footer

Powered by FluxBB