Line Drawing Characters

If your midnight commander or aptitude or other ncurses app is drawing funky, it's probably your LANG

    
echo $LANG

If this shows en_US.UTF-8 try issuing the command

    export LANG=en_US.ISO-8859-1
After this, mc should display correctly. To make it work all the time you should use an alias for mc so that it runs in en_US, but the console stays the same (or other things break)

    echo "alias mc='export LANG=en_US; mc'" >> .bashrc

or for everyone

    echo "alias mc='export LANG=en_US; mc'" | sudo tee -a /etc/bash.bashrc



http://ubuntuforums.org/showthread.php?t=465676


Comments