Correct Putty configuration for Ubuntu 9.04

RobbieCanuck picture RobbieCanuck · May 13, 2009 · Viewed 14k times · Source

I often use Putty (http://www.chiark.greenend.org.uk/~sgtatham/putty/) to connect to Ubuntu boxes (9.04 now). It works well, but I can't figure out the correct combination of Putty font, character encoding, character translation, and terminal configuration on the Ubuntu end so that the terminal displays everything correctly. The problem is most obvious when running an ncurses program such as "screen-profiles" or "w3m". The box drawing characters are messed up.

Has anyone got this combination working to their satisfaction?

Answer

Ian Abbott picture Ian Abbott · Aug 10, 2011

Try exporting the following environment variable

export NCURSES_NO_UTF8_ACS=1

That stops ncurses using the VT100 "Alternate character set" line drawing characters in a UTF-8 locale, and makes it use the Unicode box-drawing characters instead.