Search code examples
terminalputtyncurses

Debian console graphic error


when I try to install something over Putty, it looks like this: terminal window showing missing drawing characters

so really buggy :). Has anyone a suggestion for this?


Solution

  • It's probably something to do with UTF-8 handling on different terminal types.

    You could try this solution I found on linux.debian.user:

    What release of PuTTY are you using? I'm using PuTTY 0.63, which is the latest release. In this version, the default value for the terminal type string is xterm. At least it is for me. I have to explicitly change it to putty, even after setting the remote character set to UTF-8. Make sure the terminal type string is all lower case. Terminal type strings are case sensitive. They have to match the terminal type definition in ncurses. The putty terminal type definition in ncurses can be found in /usr/share/terminfo/p. You can also try a terminal type string of xterm-utf8. This terminal type definition in ncurses is found in /usr/share/terminfo/x. The latest version of PuTTY can be downloaded here:

    http://www.chiark.greenend.org.uk/~sgtatham/putty

    in this discussion: Debian and Unicode line drawing