<?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>the kiZZ notes &#187; TERM</title>
	<atom:link href="http://kizzx2.com/blog/index.php/tag/term/feed/" rel="self" type="application/rss+xml" />
	<link>http://kizzx2.com/blog</link>
	<description>random stupid ideas from a narcissistic chode</description>
	<lastBuildDate>Thu, 01 Dec 2011 16:25:03 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>cygwin: WARNING: terminal is not fully functional</title>
		<link>http://kizzx2.com/blog/index.php/2009/01/07/cygwin-warning-terminal-is-not-fully-functional/</link>
		<comments>http://kizzx2.com/blog/index.php/2009/01/07/cygwin-warning-terminal-is-not-fully-functional/#comments</comments>
		<pubDate>Wed, 07 Jan 2009 07:59:03 +0000</pubDate>
		<dc:creator>kiZZ kiZZ</dc:creator>
				<category><![CDATA[geek stuffs]]></category>
		<category><![CDATA[cygwin]]></category>
		<category><![CDATA[dumb]]></category>
		<category><![CDATA[TERM]]></category>
		<category><![CDATA[terminal not fully functional]]></category>

		<guid isPermaLink="false">http://kizzx2.com/blog/?p=90</guid>
		<description><![CDATA[I recently encountered an error where when I do a less in cygwin it goes WARNING: terminal is not fully functional Quite some people seem to have encountered this problem before and there are some discussion threads on the Web, but I couldn&#8217;t find a page that pointed out the direct solution after some googling. [...]]]></description>
			<content:encoded><![CDATA[<p>I recently encountered an error where when I do a <code>less</code> in cygwin it goes  <code>WARNING: terminal is not fully functional</code> Quite some people seem to have encountered this problem before and there are some discussion threads on the Web, but I couldn&#8217;t find a page that pointed out the direct solution after some googling.  Here&#8217;s what I did to fix the problem:  It turns out that the environment variable <code>TERM</code> is somehow set to <code>dumb</code> instead of the normal <code>cygwin</code>. Apparently the <code>dumb</code> terminal is not as fully functional as <code>cygwin</code>. Here&#8217;s what I did to confirm the problem:</p>

<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br /></div></td><td><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">$ <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #007800;">$TERM</span><br />
dumb</div></td></tr></tbody></table></div>

<p>I got <code>less</code> working properly again by doing:</p>

<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br /></div></td><td><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">$ <span style="color: #7a0874; font-weight: bold;">export</span> <span style="color: #007800;">TERM</span>=cygwin<br />
$ <span style="color: #c20cb9; font-weight: bold;">less</span></div></td></tr></tbody></table></div>

<p>It turned out that somehow the $TERM environment variable got set to <code>dumb</code>. To fix that, simply run  <code>sysdm.cpl</code> from a Windows command prompt, and delete the environment variable <code>TERM</code>. cygwin will then default <code>TERM</code> to <code>cygwin</code></p>
]]></content:encoded>
			<wfw:commentRss>http://kizzx2.com/blog/index.php/2009/01/07/cygwin-warning-terminal-is-not-fully-functional/feed/</wfw:commentRss>
		<slash:comments>19</slash:comments>
		</item>
	</channel>
</rss>

