<?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>sinistral.sourcery &#187; Cygwin</title>
	<atom:link href="http://tierseven.net/denizens/marc/blog/category/cygwin/feed/" rel="self" type="application/rss+xml" />
	<link>http://tierseven.net/denizens/marc/blog</link>
	<description>bug bait</description>
	<lastBuildDate>Mon, 28 Dec 2009 08:41:30 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>technicolor terminal : the Cygwin saga</title>
		<link>http://tierseven.net/denizens/marc/blog/2009/05/29/technicolor-terminal-the-cygwin-saga/</link>
		<comments>http://tierseven.net/denizens/marc/blog/2009/05/29/technicolor-terminal-the-cygwin-saga/#comments</comments>
		<pubDate>Fri, 29 May 2009 11:48:39 +0000</pubDate>
		<dc:creator>marc</dc:creator>
				<category><![CDATA[Cygwin]]></category>
		<category><![CDATA[Miscellaneous]]></category>

		<guid isPermaLink="false">http://tierseven.net/denizens/marc/blog/?p=109</guid>
		<description><![CDATA[Not too long ago I posted a snippet that explained how to enable the 256-color display capabilities of terminals that support it.  I&#8217;ve since had a bit of trouble getting this to work in terminals under Cygwin.  Applications like Vim understand the capabilities of such a terminal, but less and man would complain:
&#160;&#160;&#160;WARNING: [...]]]></description>
			<content:encoded><![CDATA[<p>Not too long ago I <a href="http://tierseven.net/denizens/marc/blog/2009/02/28/technicolour-terminal/">posted a snippet</a> that explained how to enable the 256-color display capabilities of terminals that support it.  I&#8217;ve since had a bit of trouble getting this to work in terminals under <a href="http://www.cygwin.com/" rel="nofollow">Cygwin</a>.  Applications like <a href="http://www.vim.org/">Vim</a> understand the capabilities of such a terminal, but <tt>less</tt> and <tt>man</tt> would complain:</p>
<p><tt>&nbsp;&nbsp;&nbsp;WARNING: terminal is not fully functional</tt></p>
<p>After bit of digging I finally realised that it isn&#8217;t enough to have entries for those terminal types in <tt>/usr/share/terminfo/*/*</tt>.  Some apps expect to find the terminal capabilties described in a termcap file, either <tt>/etc/termcap</tt> or <tt>~/.termcap</tt>.  Fortunately, there is an easy way to export the capabilities described in the terminfo database entries to a termcap file:</p>
<p><tt>&nbsp;&nbsp;&nbsp;$ infocmp -C xterm-256color &gt;&gt; ~/.termcap</tt></p>
<p>If you&#8217;re a <a href="http://www.gnu.org/software/screen/" rel="nofollow">screen</a> user, its worth exporting the entry for <tt>screen-256color</tt> too.  <tt>man infocmp</tt> for more information.</p>
]]></content:encoded>
			<wfw:commentRss>http://tierseven.net/denizens/marc/blog/2009/05/29/technicolor-terminal-the-cygwin-saga/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>bash: clear: command not found</title>
		<link>http://tierseven.net/denizens/marc/blog/2008/05/13/bash-clear-command-not-found/</link>
		<comments>http://tierseven.net/denizens/marc/blog/2008/05/13/bash-clear-command-not-found/#comments</comments>
		<pubDate>Tue, 13 May 2008 00:59:11 +0000</pubDate>
		<dc:creator>marc</dc:creator>
				<category><![CDATA[Cygwin]]></category>
		<category><![CDATA[Miscellaneous]]></category>

		<guid isPermaLink="false">http://tierseven.net/denizens/marc/blog/2008/05/13/bash-clear-command-not-found/</guid>
		<description><![CDATA[A base install of Cygwin does not include the clear command, though the same functionality can be achieved using ^L.  The command is part of the ncurses package that may be found in the Libs category.
Thanks to Ruben Laguna for his post on the subject.
EDIT: This ncurses package now appears in the Utils category.
]]></description>
			<content:encoded><![CDATA[<p>A base install of Cygwin does not include the <code>clear</code> command, though the same functionality can be achieved using <code>^L</code>.  The command is part of the <i>ncurses</i> package that may be found in the <i>Libs</i> category.<br />
Thanks to Ruben Laguna for <a href="http://rubenlaguna.com/wp/2007/09/26/bash-clear-command-not-found/">his post</a> on the subject.</p>
<p>EDIT: This <i>ncurses</i> package now appears in the <i>Utils</i> category.</p>
]]></content:encoded>
			<wfw:commentRss>http://tierseven.net/denizens/marc/blog/2008/05/13/bash-clear-command-not-found/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>cygwin svn: cannot move &#8216;*/tmp/entries&#8217; to &#8216;*/entries&#8217;: permission denied</title>
		<link>http://tierseven.net/denizens/marc/blog/2008/05/13/cygwin-svn-cannot-move-tmpentries-to-entries-permission-denied/</link>
		<comments>http://tierseven.net/denizens/marc/blog/2008/05/13/cygwin-svn-cannot-move-tmpentries-to-entries-permission-denied/#comments</comments>
		<pubDate>Tue, 13 May 2008 00:54:51 +0000</pubDate>
		<dc:creator>marc</dc:creator>
				<category><![CDATA[Cygwin]]></category>
		<category><![CDATA[Miscellaneous]]></category>

		<guid isPermaLink="false">http://tierseven.net/denizens/marc/blog/2008/05/13/cygwin-svn-cannot-more-tmpentries-to-entries-permission-denied/</guid>
		<description><![CDATA[It seems that Cygwin&#8217;s subversion port and Tortoise SVN do not play well together.  A default installation of both can result in the following error occuring seemingly at random during long checkout or update operations:
Can't move '/cygdrive/c/xxx/trunk/.svn/tmp/entries'
to '/cygdrive/c/xxx/trunk/.svn/entries':
Permission denied

To resolve this, Tortoise SVN&#8217;s icon overlays may need to be disabled entirely as suggested here. [...]]]></description>
			<content:encoded><![CDATA[<p>It seems that Cygwin&#8217;s subversion port and Tortoise SVN do not play well together.  A default installation of both can result in the following error occuring seemingly at random during long checkout or update operations:</p>
<pre>Can't move '/cygdrive/c/xxx/trunk/.svn/tmp/entries'
to '/cygdrive/c/xxx/trunk/.svn/entries':
Permission denied
</pre>
<p>To resolve this, Tortoise SVN&#8217;s icon overlays may need to be disabled entirely as suggested <a href="http://www.cygwin.com/ml/cygwin/2006-09/msg00081.html">here</a>.  While Tortoise SVN <b>doesn&#8217;t</b> have a <i>Disable overlays</i> checkbox, they may be effectly disabled as follows:</p>
<ul>
<li>&lt;SecondaryClickContextMenu&gt; &gt; Tortoise SVN &gt; Settings &gt; Icon Overlays</li>
<li>Ensure the checkout directory is included in the <i>Exclude paths</i> mask (I&#8217;ve taken to using <code>c:*</code> and <code>c:*</code>).</li>
</ul>
<p><a href="http://sourceware.org/ml/cygwin/2007-08/msg00222.html">Others have suggested</a> that it may not be necessary to disable Tortoise SVN&#8217;s overlays entirely, as long as the <i>Show overlays only in explorer</i> tickbox is ticked.  This didn&#8217;t work for me; your kilometerage may vary.</p>
]]></content:encoded>
			<wfw:commentRss>http://tierseven.net/denizens/marc/blog/2008/05/13/cygwin-svn-cannot-move-tmpentries-to-entries-permission-denied/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>SVK under Cygwin</title>
		<link>http://tierseven.net/denizens/marc/blog/2007/10/24/svk-under-cygwin/</link>
		<comments>http://tierseven.net/denizens/marc/blog/2007/10/24/svk-under-cygwin/#comments</comments>
		<pubDate>Tue, 23 Oct 2007 23:50:12 +0000</pubDate>
		<dc:creator>marc</dc:creator>
				<category><![CDATA[Cygwin]]></category>
		<category><![CDATA[Miscellaneous]]></category>

		<guid isPermaLink="false">http://tierseven.net/denizens/marc/blog/2007/10/24/svk-under-cygwin/</guid>
		<description><![CDATA[SVK is a great source control and versioning solution.  I particularly like the idea of having local access to an entire respository while still having the safety of an off-site upstream server.
As its written entirely in PERL, SVK is fairly portable (but there&#8217;s a &#34;but&#34; coming), but (ah, yes &#8230; there it is) while [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://svk.bestpractical.com/">SVK</a> is a great source control and versioning solution.  I particularly like the idea of having local access to an entire respository while still having the safety of an off-site upstream server.</p>
<p>As its written entirely in PERL, SVK is fairly portable <i>(but there&#8217;s a &quot;but&quot; coming)</i>, but <i>(ah, yes &#8230; there it is)</i> while it works flawlessly on my <a href="http://www.gentoo.org/">Gentoo</a> system, I&#8217;ve had problems getting it to work on Windows.  Win32 binaries are available, but they rely on <a href="http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html">plink</a> for <code>svn+ssh</code>, and I&#8217;ve not been able to get the combination to work.  I elected instead to run the standard CPAN distribution of SVK under Cygwin.  This, of course, brought its own set of problems.</p>
<p>I&#8217;ve posted a <a href="http://tierseven.net/wiki/index.php/SVK">wiki article</a> that outlines the steps that I followed to get SVK running under Cygwin.</p>
]]></content:encoded>
			<wfw:commentRss>http://tierseven.net/denizens/marc/blog/2007/10/24/svk-under-cygwin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>a cygwin package cleaner</title>
		<link>http://tierseven.net/denizens/marc/blog/2007/06/22/a-cygwin-package-cleaner/</link>
		<comments>http://tierseven.net/denizens/marc/blog/2007/06/22/a-cygwin-package-cleaner/#comments</comments>
		<pubDate>Fri, 22 Jun 2007 20:36:13 +0000</pubDate>
		<dc:creator>marc</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Cygwin]]></category>

		<guid isPermaLink="false">http://tierseven.net/marc/blog/2007/08/27/a-cygwin-package-cleaner/</guid>
		<description><![CDATA[Cygwin is invaluable to any Windows developer used to (or even just familiar with) the tools that are available in a GNU/Linux development environment.
Probably the only complaint that I have is that the setup tool doesn&#8217;t take care of cleaning up old packages.  While I don&#8217;t have all of the packages installed, I have [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.cygwin.com/">Cygwin</a> is invaluable to any Windows developer used to (or even just familiar with) the tools that are available in a GNU/Linux development environment.</p>
<p>Probably the only complaint that I have is that the setup tool doesn&#8217;t take care of cleaning up old packages.  While I don&#8217;t have all of the packages installed, I have enough of them that I don&#8217;t want to have to prune the packages by hand.  Enter <a href="http://bitbucket.org/sinistral/cygpkgclean/overview/">cygpkgclean</a>; its a little PERL script that deletes all packages except the current and previous versions (of both binary and source packages).  It doesn&#8217;t yet cater for packages that are no longer in the <code>setup.ini</code> or that have moved to a new directory.</p>
<p>I had hoped to implement this as nothing more than a <i>bash</i> script (so that it would run on the barest of cygwin installations), but that proved to be a little beyond my meager script-fu (for now!).</p>
]]></content:encoded>
			<wfw:commentRss>http://tierseven.net/denizens/marc/blog/2007/06/22/a-cygwin-package-cleaner/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
