Skip to content

Instantly share code, notes, and snippets.

@sytone
Created February 27, 2016 17:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sytone/198d5722e5731e5b3d86 to your computer and use it in GitHub Desktop.
Save sytone/198d5722e5731e5b3d86 to your computer and use it in GitHub Desktop.
Generic Linux on Pi things
Using Putty or Kitty and getting lines to draw.
The problem is that PuTTY in UTF-8 mode ignores1 VT100 "Alternate character set" commands, and ncurses attempts to use the "graphical" character set for drawing the GUI. (The box drawing characters are in the same positions as klmqx would normally be.)
export NCURSES_NO_UTF8_ACS=1
to your environment, it should fix the problem by telling ncurses to always use Unicode box drawing characters when a UTF-8 locale is selected.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment