[SATLUG] Weird characters in the linux consoles and lines not
drawn correctly
Chris Lemire
good_bye300 at yahoo.com
Wed Jun 6 16:34:01 CDT 2007
Now my caps lock works in the console, and Midnight Commander displays correctly. Thanks for the link. What this guy said was correct:
"Make sure LANG matches your terminal's character set (utf-8 or
iso-8859-1), or use the command "mc -a". (I just checked and mc ignores
"-a" if you have a UTF-8 locale). "
mc -a did not help any.
Here are the commands I ran to fix the problem.
cat /usr/share/i18n/SUPPORTED | grep "en" | sudo tee /var/lib/locales/supported.d/local
sudo dpkg-reconfigure locales
sudo update-locale en_US.ISO-8859-1
sudo dpkg-reconfigure console-setup <- this one asked me many questions
Doing this showed that my LANG variable was set incorrectly.
echo $LANG
showed en_US.UTF-8
To fix that, I did.
export LANG=en_US.ISO-8859-1
After this, mc was displaying correctly. To make the changes permanent, I did this.
echo "export LANG=en_US.ISO-8859-1" >> .bashrc
Here's my beautiful Midnight Commander now.
http://img512.imageshack.us/img512/2964/hpim1018qd1.jpg
Travis Runty <trunty at gmail.com> wrote: Chris:
Perhaps the below thread can assist you? Let us know how it goes.
http://www.jlaforums.com/viewtopic.php?p=7957131
-Travis Runty
On 6/6/07, Chris Lemire wrote:
>
> Hello. I need some help. When I launch midnight commander from a linux
> console such as tty5, it displays strange characters that it should not be
> displaying and does not display the lines correctly. How can it be fixed? I
> have tried changing the locale from en_US.UTF-8 to en_US.ISO-8859-1, but
> that did not make a difference.
>
> http://img183.imageshack.us/img183/9026/hpim1001bh8.jpg
>
>
> ---------------------------------
> Got a little couch potato?
> Check out fun summer activities for kids.
> --
> _______________________________________________
> SATLUG mailing list
> SATLUG at satlug.org
> http://alamo.satlug.org/mailman/listinfo/satlug to unsubscribe
> Powered by Rackspace (www.rackspace.com)
>
--
_______________________________________________
SATLUG mailing list
SATLUG at satlug.org
http://alamo.satlug.org/mailman/listinfo/satlug to unsubscribe
Powered by Rackspace (www.rackspace.com)
---------------------------------
Yahoo! oneSearch: Finally, mobile search that gives answers, not web links.
More information about the SATLUG
mailing list