-
Notifications
You must be signed in to change notification settings - Fork 17
configure PuTTY
Jandalf81 edited this page Aug 15, 2018
·
6 revisions
This is what the dialog looks like right now:
This is what the dialog should look like:
The tool dialog is using ncurses. This tool uses different character sets to build the "GUI". When connecting with PuTTY in it's default configuration, ncurses switches to an alternate character set, resulting in garbled dialogs.
There are at least 2 solutions:
-
Configure PuTTY
- Tell PuTTY to connect with it's own Terminal-type string
- Window -> Translation -> Remote character set: UTF-8
- Connections -> Data -> Terminal-type string = "putty"
- Don't forget to save these changes in your PuTTY session
-
Configure ncurses
- Tell ncurses not to switch to the alternate character set for the active session:
export NCURSES_NO_UTF8_ACS=1
- Make BaSh always do this when you connect:
echo export NCURSES_NO_UTF8_ACS=1 >> ~/.bashrc