<?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>Tsukasa no Hibi &#187; Portable App</title>
	<atom:link href="http://tsukasa.jidder.de/blog/tag/portable-app/feed" rel="self" type="application/rss+xml" />
	<link>http://tsukasa.jidder.de/blog</link>
	<description>TnH - Cloudy Sky. Occasional Rain.</description>
	<lastBuildDate>Fri, 27 Aug 2010 04:16:52 +0000</lastBuildDate>
	<language>en-us</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Making Cygwin portable</title>
		<link>http://tsukasa.jidder.de/blog/2008/08/19/making-cygwin-portable</link>
		<comments>http://tsukasa.jidder.de/blog/2008/08/19/making-cygwin-portable#comments</comments>
		<pubDate>Tue, 19 Aug 2008 18:53:41 +0000</pubDate>
		<dc:creator>Tsukasa</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Cygwin]]></category>
		<category><![CDATA[Portable App]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://tsukasa.jidder.de/blog/?p=1188</guid>
		<description><![CDATA[One of the very packages I always install when I have to work with Windows is Cygwin. Being able to use my beloved GNU tools really makes things easier. Often I don&#8217;t have the option to install it. I grieved a little bit about the fact that some problems could be solved with just 2 [...]]]></description>
			<content:encoded><![CDATA[<p>One of the very packages I always install when I have to work with Windows is Cygwin. Being able to use my beloved GNU tools really makes things easier.</p>
<p>Often I don&#8217;t have the option to install it. I grieved a little bit about the fact that some problems could be solved with just 2 commands that were &#8212; of course &#8212; missing from Windows&#8217; horrendous command prompt.</p>
<p>So I snooped around and built the following batch that&#8217;ll start a full-blown Cygwin session from i.e. portable harddisk:</p>
<div class="dean_ch" style="white-space: wrap;">
<ol>
<li class="li1">
<div class="de1">@echo off
</div>
</li>
<li class="li1">
<div class="de1">&nbsp;</div>
</li>
<li class="li1">
<div class="de1">set PATH=%CD%bin;%CD%sbin;%CD%usrsbin;%PATH
</div>
</li>
<li class="li1">
<div class="de1">set HOME=%CD%homePortable
</div>
</li>
<li class="li2">
<div class="de2">&nbsp;</div>
</li>
<li class="li1">
<div class="de1">mount -bfu %CD%/ /
</div>
</li>
<li class="li1">
<div class="de1">mount -bfu %CD%bin /usr/bin
</div>
</li>
<li class="li1">
<div class="de1">mount -bfu %CD%lib /usr/lib
</div>
</li>
<li class="li1">
<div class="de1">&nbsp;</div>
</li>
<li class="li2">
<div class="de2">cd %HOME%
</div>
</li>
<li class="li1">
<div class="de1">&nbsp;</div>
</li>
<li class="li1">
<div class="de1">bash &#8212;-login -i</div>
</li>
</ol>
</div>
<p>Easy, huh? All you have to do to make it work is renaming your /home/Username to /home/Portable (or simply adjust the setting in the batch). Pretty neat stuff.</p>
]]></content:encoded>
			<wfw:commentRss>http://tsukasa.jidder.de/blog/2008/08/19/making-cygwin-portable/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
