NCurses and Yast show line distortion with the Putty SSH client
This document (7015165) is provided subject to the disclaimer at the end of this document.
Environment
SUSE Linux Enterprise Server 10
Situation
example of Behavior:
lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk
x YaST2 Control Center x
mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj
lqqqqqqqqqqqqqqqqqqqqqqqk lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk
xSoftware x xOnline Update x
xHardware x xSoftware Management x
xSystem x xAdd-On Products x
xNetwork Devices x xMedia Check x
xNetwork Services x xOnline Update Configuration x
xSecurity and Users x xPatch CD Update x
xSupport x xSoftware Repositories x
xMiscellaneous x x x
x x x x
x x x x
x x x x
x x x x
x x x x
x x x x
x x x x
Resolution
To resolve this issue for a single user.
1.) Add "export NCURSES_NO_UTF8_ACS=1" to the SSH user's ~/.bashrc without quotes, optionally using the following command for simplicity.
echo 'export NCURSES_NO_UTF8_ACS=1' >> ~/.bashrc
2.) Logout and log back in to test.
To resolve this for all users on a specific SSH server, create /etc/bash.bashrc.local, and add the variable to this file
1.)
# echo 'export NCURSES_NO_UTF8_ACS=1' >> /etc/bash.bashrc.local
2.) Log out and log back in, or call 'bash' anew, to test.
To resolve this from the Putty client side for all systems, set the connection to use the 'linux' terminal instead of the default 'xterm' terminal. In the settings go to Connection -> Data and look for 'Terminal-type string' for the location to make this change. If possible, save the connection, or the defaults, so this is saved perpetually.
Cause
Additional Information
Disclaimer
This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:7015165
- Creation Date: 10-Jun-2014
- Modified Date:12-Oct-2022
-
- SUSE Linux Enterprise Server
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com