LKBEN11209: Midnight Commander shows no lines over putty ssh connection


Symptom

You open midnight commander via the mc command and have strange characters around it

Cause

This is due to the settings from your putty in Windows

Solution

The following worked for me with ubuntu linux.
First I did a check on the character encoding on my linux server with:
set | grep LANG
This is on my distribution LANG=de_DE.UTF-8
(should be UTF-8 in some form. For the US it would be en_US.UTF-8)
Now you open your putty and click on the session you want to change. Go to the setting Window - Translation and change the setting for received data assumed to be in which character set to UTF-8. Do not forget to safe.
This should be it. Please keep in mind that not all fonts have these characters and you need an mc with UTF-8 support. (e.g. mc-utf8 on Arch Linux)

Disclaimer:

The information provided in this document is intended for your information only. Lubby makes no claims to the validity of this information. Use of this information is at own risk!

About the Author

Author: Wim Peeters - Keskon GmbH & Co. KG

Wim Peeters is electronics engineer with an additional master in IT and over 30 years of experience, including time spent in support, development, consulting, training and database administration. Wim has worked with SQL Server since version 6.5. He has developed in C/C++, Java and C# on Windows and Linux. He writes knowledge base articles to solve IT problems and publishes them on the Lubby Knowledge Platform.