<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>putty Archives - IT Blog Site</title>
	<atom:link href="https://www.lavatelli.it/tag/putty/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.lavatelli.it/tag/putty/</link>
	<description>Lavatelli IT Blog Site</description>
	<lastBuildDate>Thu, 30 Jun 2016 08:17:06 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1.5</generator>

<image>
	<url>https://www.lavatelli.it/wp-content/uploads/2019/02/ice_dragon-150x145.gif</url>
	<title>putty Archives - IT Blog Site</title>
	<link>https://www.lavatelli.it/tag/putty/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>How to solve (some) graphical issues with putty, UTF8, and ncurses</title>
		<link>https://www.lavatelli.it/solve-graphical-issues-putty-utf8-ncurses/</link>
		
		<dc:creator><![CDATA[Franz]]></dc:creator>
		<pubDate>Thu, 30 Jun 2016 08:17:06 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[graphical]]></category>
		<category><![CDATA[ncurses]]></category>
		<category><![CDATA[putty]]></category>
		<category><![CDATA[utf8]]></category>
		<guid isPermaLink="false">http://www.lavatelli.it/?p=353</guid>

					<description><![CDATA[<p>Hello everybody, I’m writing this article to help all those people that may have had problems with text garbled, mismatched or other kind of graphical issues with all those software that uses the famous ncurses libraries (libncurses5). It all started when I was using (via puTTY) my favorite command line log parsing tool: the great  ...</p>
<p>The post <a href="https://www.lavatelli.it/solve-graphical-issues-putty-utf8-ncurses/">How to solve (some) graphical issues with putty, UTF8, and ncurses</a> appeared first on <a href="https://www.lavatelli.it">IT Blog Site</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div class="entry">
<div class="entry-content">
<p>Hello everybody,</p>
<p>I’m writing this article to help all those people that may have had problems with text garbled, mismatched or other kind of graphical issues with all those software that uses the famous ncurses libraries (libncurses5). It all started when I was using (via puTTY) my favorite command line log parsing tool: the great  multitail (go out there and take it if you don’t know it) I started noticing some odd errors: part of the text was garbled, some of the lines were wrong in size or were substituted by wrong characters, as you can see in the screenshot:</p>
<figure id="attachment_63" class="wp-caption alignnone" data-shortcode="caption"><a href="http://www.lavatelli.it/wp-content/uploads/2016/06/strange-behaviour-e1476277834263.jpg"><img fetchpriority="high" decoding="async" class="alignnone size-full wp-image-367" src="http://www.lavatelli.it/wp-content/uploads/2016/06/strange-behaviour-e1476277834263.jpg" alt="strange-behaviour" width="387" height="192" /></a><figcaption class="wp-caption-text">multitail in a centOS environment</figcaption></figure>
<p>This problem happened when using puTTY on a CentOS 6.6 system, with locale set on UTF-8,  libncurses version 5.x and multitail at 6.4.1</p>
<p>This is the result of multiple problems and some steps are required to fix all the issues :</p>
<ol>
<li> Download the latest version of puTTY (0.64 as of today)</li>
<li>Make sure that under <em>Windows</em> -&gt; <em>Translation  </em>and <em>Connection </em>-&gt; <em>Data</em> you have everything as in the images :<br />
<a href="http://www.lavatelli.it/wp-content/uploads/2016/06/putty-screenshot1.png"><img decoding="async" class="alignnone size-full wp-image-366" src="http://www.lavatelli.it/wp-content/uploads/2016/06/putty-screenshot1.png" alt="putty-screenshot1" width="466" height="449" /></a></p>
<figure id="attachment_67" class="wp-caption alignnone" data-shortcode="caption"><figcaption class="wp-caption-text">Remote character set: UTF-8 and “use Unicode line drawing code points”</figcaption></figure>
<figure id="attachment_68" class="wp-caption alignnone" data-shortcode="caption"><figcaption class="wp-caption-text"><a href="http://www.lavatelli.it/wp-content/uploads/2016/06/screenshot2.png"><img decoding="async" class="alignnone size-full wp-image-365" src="http://www.lavatelli.it/wp-content/uploads/2016/06/screenshot2.png" alt="screenshot2" width="466" height="449" /></a>Terminal-type string: putty</figcaption></figure>
</li>
<li>Then, you have to set an environment variable to tell the ncurses libraries to use UTF-8 :</li>
</ol>
<p><em>export NCURSES_NO_UTF8_ACS=1</em></p>
<p>you should also make it stick (<em>echo export NCURSES_NO_UTF8_ACS=1 &gt;&gt; ~/.bashrc</em> )</p>
<p>This should solve all your issues with UTF-8 and the ncurses libraries.</p>
</div>
</div>
<p><a class="a2a_button_email" href="https://www.addtoany.com/add_to/email?linkurl=https%3A%2F%2Fwww.lavatelli.it%2Fsolve-graphical-issues-putty-utf8-ncurses%2F&amp;linkname=How%20to%20solve%20%28some%29%20graphical%20issues%20with%20putty%2C%20UTF8%2C%20and%20ncurses" title="Email" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_facebook" href="https://www.addtoany.com/add_to/facebook?linkurl=https%3A%2F%2Fwww.lavatelli.it%2Fsolve-graphical-issues-putty-utf8-ncurses%2F&amp;linkname=How%20to%20solve%20%28some%29%20graphical%20issues%20with%20putty%2C%20UTF8%2C%20and%20ncurses" title="Facebook" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_twitter" href="https://www.addtoany.com/add_to/twitter?linkurl=https%3A%2F%2Fwww.lavatelli.it%2Fsolve-graphical-issues-putty-utf8-ncurses%2F&amp;linkname=How%20to%20solve%20%28some%29%20graphical%20issues%20with%20putty%2C%20UTF8%2C%20and%20ncurses" title="Twitter" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_whatsapp" href="https://www.addtoany.com/add_to/whatsapp?linkurl=https%3A%2F%2Fwww.lavatelli.it%2Fsolve-graphical-issues-putty-utf8-ncurses%2F&amp;linkname=How%20to%20solve%20%28some%29%20graphical%20issues%20with%20putty%2C%20UTF8%2C%20and%20ncurses" title="WhatsApp" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_linkedin" href="https://www.addtoany.com/add_to/linkedin?linkurl=https%3A%2F%2Fwww.lavatelli.it%2Fsolve-graphical-issues-putty-utf8-ncurses%2F&amp;linkname=How%20to%20solve%20%28some%29%20graphical%20issues%20with%20putty%2C%20UTF8%2C%20and%20ncurses" title="LinkedIn" rel="nofollow noopener" target="_blank"></a><a class="a2a_dd addtoany_share_save addtoany_share" href="https://www.addtoany.com/share#url=https%3A%2F%2Fwww.lavatelli.it%2Fsolve-graphical-issues-putty-utf8-ncurses%2F&#038;title=How%20to%20solve%20%28some%29%20graphical%20issues%20with%20putty%2C%20UTF8%2C%20and%20ncurses" data-a2a-url="https://www.lavatelli.it/solve-graphical-issues-putty-utf8-ncurses/" data-a2a-title="How to solve (some) graphical issues with putty, UTF8, and ncurses"></a></p><p>The post <a href="https://www.lavatelli.it/solve-graphical-issues-putty-utf8-ncurses/">How to solve (some) graphical issues with putty, UTF8, and ncurses</a> appeared first on <a href="https://www.lavatelli.it">IT Blog Site</a>.</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/?utm_source=w3tc&utm_medium=footer_comment&utm_campaign=free_plugin

Object Caching 31/102 objects using Redis
Page Caching using Disk: Enhanced 
Lazy Loading (feed)
Minified using Redis

Served from: www.lavatelli.it @ 2026-11-29 04:40:48 by W3 Total Cache
-->