<?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>EveryJoe &#187; Cygwin &amp; Unix</title>
	<atom:link href="http://www.everyjoe.com/tag/cygwin-unix/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.everyjoe.com</link>
	<description>Sports News - Tech Reviews - Entertainment - Life Tips for EveryJoe</description>
	<lastBuildDate>Tue, 22 Dec 2009 23:50:10 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Many Cygwin Text Editors</title>
		<link>http://www.everyjoe.com/articles/many-cygwin-text-editors-2/</link>
		<comments>http://www.everyjoe.com/articles/many-cygwin-text-editors-2/#comments</comments>
		<pubDate>Fri, 26 Dec 2008 12:45:35 +0000</pubDate>
		<dc:creator>Sravan</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Beginner]]></category>
		<category><![CDATA[cat]]></category>
		<category><![CDATA[Cool Software]]></category>
		<category><![CDATA[Cygwin & Unix]]></category>
		<category><![CDATA[ed]]></category>
		<category><![CDATA[Editor war]]></category>
		<category><![CDATA[editors]]></category>
		<category><![CDATA[Emacs]]></category>
		<category><![CDATA[GUI editors]]></category>
		<category><![CDATA[Gvim]]></category>
		<category><![CDATA[Joe]]></category>
		<category><![CDATA[line editors]]></category>
		<category><![CDATA[Nano]]></category>
		<category><![CDATA[Nedit]]></category>
		<category><![CDATA[Notepad++]]></category>
		<category><![CDATA[Pico]]></category>
		<category><![CDATA[screen editors]]></category>
		<category><![CDATA[text editors]]></category>
		<category><![CDATA[Vi]]></category>
		<category><![CDATA[Vim]]></category>
		<category><![CDATA[Xemacs]]></category>

		<guid isPermaLink="false">http://www.thatdamnpc.com/?p=1117</guid>
		<description><![CDATA[One of the greatest advantages of using Cygwin is the vast array of softwares at your disposal. There is a lot of choice, perhaps too much of choice. And we will have to get used to that.
Take text editors for instance. A text editor is a very basic software and there has been such evolution in them. Line editors, text editors, GUI editors,… and with various advanced features.
ed is the GNU line editor. cat used to concatenate files can be seen as an editor as well.
Joe, Pico and Nano are screen editors with more features than the plain line editors. [...]<p>Post from: <a href="http://www.everyjoe.com">EveryJoe</a></p>
<p><a href="http://www.everyjoe.com/articles/many-cygwin-text-editors-2/">Many Cygwin Text Editors</a></p>
]]></description>
			<content:encoded><![CDATA[<p>One of the greatest advantages of using Cygwin is the vast array of softwares at your disposal. There is a lot of choice, perhaps too much of choice. And we will have to get used to that.</p>
<p>Take text editors for instance. A text editor is a very basic software and there has been such evolution in them. Line editors, text editors, GUI editors,… and with various advanced features.</p>
<p><strong>ed</strong> is the GNU line editor. <strong>cat</strong> used to concatenate files can be seen as an editor as well.</p>
<p><strong>Joe</strong>, <strong>Pico</strong> and <strong>Nano</strong> are screen editors with more features than the plain line editors. They allow one to jump to specified line and column numbers, search and replace strings, and allow quick, dirty editing.</p>
<p><strong>Vim</strong> (Vi Improved) and <strong>Emacs</strong> are two legendary editors, the followers of each of which inadvertently take part in the <a title="Editor War Wikipedia Page" href="http://en.wikipedia.org/wiki/Editor_war" target="_blank">Editor War</a> sometimes without even the knowledge that they are part of a rivalry larger than themselves. While diehard fans of Vim and Emacs claim that their editors are the most advanced and convenient, they are both capable of keeping new users at bay thanks to their apparent complexity which is supposed to contribute to their simplicity. Both of them are screen editors which are used by programmers to write programs in a number of languages. Gvim and Xemacs are the GUI counterparts of the editors. One thing I have noticed is that users of either software need a cheat sheet that has various key combinations that can be used in their daily usage. Let this not daunt you from using these, because they really are worth the struggle. You can get started with <a title="New Linux User: Vim Tutorial for Newbies on Linuxconfig" href="http://www.newlinuxuser.com/vim-tutorial-for-newbies-on-linuxconfig/" target="_blank">Vim</a> and <a title="An Introductory Tutorial to Emacs" href="http://www2.lib.uchicago.edu/keith/tcl-course/emacs-tutorial.html" target="_blank">Emacs</a> using tutorials and they are plenty of them.</p>
<p><strong>NEdit</strong>, short for Nice Editor, is a GUI text editor.</p>
<p>In case you already use a text editor that you are comfortable with, you can continue to use it from command line in Cygwin itself. Add your text editor with a <a title="That Damn PC: The .profile in Cygwin" href="http://www.everyjoe.com/articles/the-profile-in-cygwin-2/">custom alias in your .profile</a>:</p>
<p><span style="font-family: Lucida Console;">alias editor=&#8221;/c/\&#8221;Program Files/Editors &amp; Viewers\&#8221;/Notepad++/notepad++.exe&#8221;</span></p>
<p>I am a <strong>Notepad++</strong> fan and find it very resourceful. I have a feeling that it is inspired from Vim while keeping user-friendliness in mind.</p>
<p>For a greater choice than above, check out this <a title="Wikipedia: Comparison of Text Editors" href="http://en.wikipedia.org/wiki/Comparison_of_text_editors" target="_blank">comparison of text editors</a>.</p>
<p>Post from: <a href="http://www.everyjoe.com">EveryJoe</a></p>
<p><a href="http://www.everyjoe.com/articles/many-cygwin-text-editors-2/">Many Cygwin Text Editors</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.everyjoe.com/articles/many-cygwin-text-editors-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The .profile in Cygwin</title>
		<link>http://www.everyjoe.com/articles/the-profile-in-cygwin-2/</link>
		<comments>http://www.everyjoe.com/articles/the-profile-in-cygwin-2/#comments</comments>
		<pubDate>Fri, 12 Dec 2008 14:15:58 +0000</pubDate>
		<dc:creator>Sravan</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[.profile]]></category>
		<category><![CDATA[aliasing]]></category>
		<category><![CDATA[customizing]]></category>
		<category><![CDATA[Cygwin & Unix]]></category>
		<category><![CDATA[environment variables]]></category>
		<category><![CDATA[How-To]]></category>

		<guid isPermaLink="false">http://www.thatdamnpc.com/the-profile-in-cygwin/</guid>
		<description><![CDATA[We have seen a few things about the .profile while customizing the Cygwin terminal. Here are the remaining sections of the file.
Prompt
export PS1=”\[\e]2;\u@\h:\w\007$green\]\u@\h:\[$pink\]\w\[$blue\]$ \[$BLUE\]”
The PS1 is a defined environment variable that determines how a prompt should behave. It stands for &#8220;Prompt Settings&#8221;. There are three variables \u, \h, and a \w. \u is the username, \h is the hostname, \w is the complete path of the working directory. The pre-defined colors $green, $pink, $blue, $BLUE (set in the .profile shown) specify the color of the display immediately following. Notice that PS1 seems to have a repetition of \u, \h and [...]<p>Post from: <a href="http://www.everyjoe.com">EveryJoe</a></p>
<p><a href="http://www.everyjoe.com/articles/the-profile-in-cygwin-2/">The .profile in Cygwin</a></p>
]]></description>
			<content:encoded><![CDATA[<p>We have seen a few things about the .profile while <a href="http://www.everyjoe.com/articles/customizing-the-cygwin-terminal-2/" title="That Damn PC: Customizing the Cygwin Terminal">customizing the Cygwin terminal</a>. Here are the remaining sections of the file.</p>
<p><strong>Prompt</strong><br />
export PS1=”\[\e]2;\u@\h:\w\007$green\]\u@\h:\[$pink\]\w\[$blue\]$ \[$BLUE\]”</p>
<p>The PS1 is a defined environment variable that determines how a prompt should behave. It stands for &#8220;Prompt Settings&#8221;. There are three variables \u, \h, and a \w. \u is the username, \h is the hostname, \w is the complete path of the working directory. The pre-defined colors $green, $pink, $blue, $BLUE (set in the .profile shown) specify the color of the display immediately following. Notice that PS1 seems to have a repetition of \u, \h and \w. The first part &#8212; until \007 &#8212; sets the window name of Cygwin which otherwise would&#8217;ve been something like C:\windows\system32\cmd.exe.</p>
<p>There is another environment variable called the PS2 and is secondary and is set to &#8216;&gt;&#8217; by default. It is displayed whenever you have pressed Return and the command is incomplete.</p>
<p><strong>History</strong><br />
In command prompt, when you press Up arrow, you can find previous commands you&#8217;ve typed within that session. In Cygwin, a user-specified log file of a user-specified size logs all commands and that can allow you to easily run previous commands across sessions.</p>
<p><strong>Aliases</strong><br />
alias pingg=&#8217;ping <a href="http://www.google.com'/">www.google.com&#8217;</a></p>
<p>Alias understandably is your nickname to a command. e.g. When you&#8217;re connected to a network and want to find out whether there are any problems with the Internet connection (slowdown or disconnect) you can try pinging <a href="http://www.google.com/">www.google.com</a>. Because Google is one of those big sites that rarely goes down or is never too slow. The ping gives you an idea. Instead of the complete command you can now just type &#8216;pingg&#8217;. Remember that this alias takes precedence over any previously defined usage of a command with the same name.</p>
<p>Post from: <a href="http://www.everyjoe.com">EveryJoe</a></p>
<p><a href="http://www.everyjoe.com/articles/the-profile-in-cygwin-2/">The .profile in Cygwin</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.everyjoe.com/articles/the-profile-in-cygwin-2/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Customizing the Cygwin Terminal</title>
		<link>http://www.everyjoe.com/articles/customizing-the-cygwin-terminal-2/</link>
		<comments>http://www.everyjoe.com/articles/customizing-the-cygwin-terminal-2/#comments</comments>
		<pubDate>Fri, 05 Dec 2008 14:00:34 +0000</pubDate>
		<dc:creator>Sravan</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[customization]]></category>
		<category><![CDATA[Cygwin & Unix]]></category>
		<category><![CDATA[How-To]]></category>
		<category><![CDATA[Intermediate]]></category>
		<category><![CDATA[terminal]]></category>
		<category><![CDATA[Unix]]></category>

		<guid isPermaLink="false">http://www.thatdamnpc.com/customizing-the-cygwin-terminal/</guid>
		<description><![CDATA[ 
Cygwin loads its settings from a file called .profile present in the HOME environment variable. By default, HOME is set to /home/&#60;username&#62; which in Windows can be reached in C:\cygwin\home\&#60;username&#62; (assuming you have installed Cygwin in C:\cygwin folder).
.profile can be opened using any text editor. Here you can set colors to be displayed, prompt, history, aliases, default working directory, and any banner you may wish. The colors you choose will interfere with the colors set in your command prompt.
Below is a sample .profile.
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;
# .profile
# Define some colors first:
red=&#8217;\e[0;31m'
RED='\e[1;31m'
green='\e[0;32m'
GREEN='\e[1;32m'
yellow='\e[0;33m'
YELLOW='\e[1;33m'
blue='\e[0;34m'
BLUE='\e[1;34m'
pink='\e[0;35m'
PINK='\e[1;35m'
cyan='\e[0;36m'
CYAN='\e[1;36m'
NC='\e[0m'
# Colors and Prompt
export PS1="\[\e]2;\u@\h:\w\007$green\]\u@\h:\[$pink\]\w\[$blue\]$ \[$BLUE\]&#8220;          # Word wrap of previous line.
set -o [...]<p>Post from: <a href="http://www.everyjoe.com">EveryJoe</a></p>
<p><a href="http://www.everyjoe.com/articles/customizing-the-cygwin-terminal-2/">Customizing the Cygwin Terminal</a></p>
]]></description>
			<content:encoded><![CDATA[<p align="center"><img height="283" width="500" src="http://www.everyjoe.com/files/2/2008/12/cygwin-terminal.PNG" align="absMiddle" alt="Cygwine Terminal" border="0" /> </p>
<p>Cygwin loads its settings from a file called .profile present in the HOME environment variable. By default, HOME is set to /home/&lt;username&gt; which in Windows can be reached in C:\cygwin\home\&lt;username&gt; (assuming you have <a href="http://www.everyjoe.com/how-to-install-cygwin/" title="That Damn PC: How to Install Cygwin">installed Cygwin</a> in C:\cygwin folder).</p>
<p>.profile can be opened using any text editor. Here you can set colors to be displayed, prompt, history, aliases, default working directory, and any banner you may wish. The colors you choose will interfere with the colors set in your command prompt.</p>
<p>Below is a sample .profile.</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
# .profile</p>
<p># Define some colors first:<br />
red=&#8217;\e[0;31m'<br />
RED='\e[1;31m'<br />
green='\e[0;32m'<br />
GREEN='\e[1;32m'<br />
yellow='\e[0;33m'<br />
YELLOW='\e[1;33m'<br />
blue='\e[0;34m'<br />
BLUE='\e[1;34m'<br />
pink='\e[0;35m'<br />
PINK='\e[1;35m'<br />
cyan='\e[0;36m'<br />
CYAN='\e[1;36m'<br />
NC='\e[0m'</p>
<p># Colors and Prompt<br />
export PS1="\[\e]2;\u@\h:\w\007$green\]\u@\h:\[$pink\]\w\[$blue\]$ \[$BLUE\]&#8220;          # Word wrap of previous line.</p>
<p>set -o vi<br />
export EDITOR=vi</p>
<p># History<br />
export HISTSIZE=1000<br />
export HISTFILE=~/.bash_history<br />
export HISTFILESIZE=1000</p>
<p># Various Aliases<br />
alias dir=&#8217;ls &#8211;color=auto&#8217;</p>
<p># Working directory<br />
cd /e/home</p>
<p># Banner<br />
echo -e &#8220;${cyan}&#8221;<br />
echo \ \ \ \ \ #======================#<br />
echo \ \ \ \ \ # Welcome back Sravan!\ #<br />
echo \ \ \ \ \ #\ \ \ I missed you.\ \ \ \ \ \ #<br />
echo \ \ \ \ \ #======================#<br />
echo<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<p>The above .profile first defines some colors. One could directly use the color codes but this is more readable. Next, it sets the prompt settings. We&#8217;ll go over what the PS1 line exactly means later. The script then sets output display settings, history file settings, aliases, default working directory and banner. Comments are prefixed with a #.</p>
<p>You might have to tweak some color combinations in the PS1 line. I use a variant of the above .profile in combination with a command prompt with colors mainly set to a white background and a blue text as against the default black background and a white text. This is more pleasant to my eyes, giving me a white board and a blue marker feeling.</p>
<p>Let me know if you need further help with this. I&#8217;m not going into detail because it is off-putting to discuss too much about colors here.</p>
<p>Image Source: <a href="http://www.cygwin.com" target="_blank" title="Cygwin Home Page">Cygwin</a> screenshot from my PC.</p>
<p>Post from: <a href="http://www.everyjoe.com">EveryJoe</a></p>
<p><a href="http://www.everyjoe.com/articles/customizing-the-cygwin-terminal-2/">Customizing the Cygwin Terminal</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.everyjoe.com/articles/customizing-the-cygwin-terminal-2/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>November Month in Retrospect</title>
		<link>http://www.everyjoe.com/articles/november-month-in-retrospect-2/</link>
		<comments>http://www.everyjoe.com/articles/november-month-in-retrospect-2/#comments</comments>
		<pubDate>Sun, 30 Nov 2008 13:30:55 +0000</pubDate>
		<dc:creator>Sravan</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Black Friday]]></category>
		<category><![CDATA[blog fraud]]></category>
		<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Cyber café]]></category>
		<category><![CDATA[Cygwin & Unix]]></category>
		<category><![CDATA[Damn Blog]]></category>
		<category><![CDATA[Dell]]></category>
		<category><![CDATA[E-waste]]></category>
		<category><![CDATA[Giveaway]]></category>
		<category><![CDATA[Netbooks]]></category>
		<category><![CDATA[Program files]]></category>
		<category><![CDATA[Spam]]></category>
		<category><![CDATA[That Damn PC]]></category>

		<guid isPermaLink="false">http://www.thatdamnpc.com/november-month-in-retrospect/</guid>
		<description><![CDATA[I started this month as the new damn PC guy and ended it by buying a Dell Inspiron Mini 9 in one of the Black Friday deals though I wish I had won a PC in a giveaway.
I had been opinionated about using push buttons and organizing program files, worried about the rising types of blog fraud and spam mail, conscious about the precautions to be taken in a cyber cafe and disposing e-waste responsibly, sad about the layoffs and the Mumbai attacks, and excited about the Ancient Rome 3D and the LIFE photo archive projects. I also began an ongoing [...]<p>Post from: <a href="http://www.everyjoe.com">EveryJoe</a></p>
<p><a href="http://www.everyjoe.com/articles/november-month-in-retrospect-2/">November Month in Retrospect</a></p>
]]></description>
			<content:encoded><![CDATA[<p>I started this month as <a href="http://www.everyjoe.com/that-new-damn-pc-guy/" title="That New Damn PC Guy">the new damn PC guy</a> and ended it by <a href="http://www.everyjoe.com/i-bought-a-dell-inspiron-mini-9/" title="I Bought a Dell Inspiron Mini 9">buying a Dell Inspiron Mini 9</a> in one of the <a href="http://www.everyjoe.com/internet-roundup-of-black-friday-deals/" title="Internet Roundup of Black Friday Deals">Black Friday deals</a> though I wish I had <a href="http://www.everyjoe.com/win-pcs-through-the-hp-magic-giveaway/" title="Win PCs Through the HP Magic Giveaway">won a PC in a giveaway</a>.</p>
<p>I had been opinionated about <a href="http://www.everyjoe.com/avoid-using-push-buttons/" title="Avoid Using Push Buttons">using push buttons</a> and <a href="http://www.everyjoe.com/how-to-organize-your-program-files/" title="How to Organize Your Program Files">organizing program files</a>, worried about the rising <a href="http://www.everyjoe.com/types-of-blog-fraud/" title="Types of Blog Fraud">types of blog fraud</a> and <a href="http://www.everyjoe.com/types-of-spam-mail/" title="Types of Spam Mail">spam mail</a>, conscious about the <a href="http://www.everyjoe.com/take-these-precautions-in-a-cyber-cafe/" title="Take These Precaution in a Cyber Cafe">precautions to be taken in a cyber cafe</a> and <a href="http://www.everyjoe.com/articles/responsible-disposing-of-e-waste-2/" title="Responsible Disposing of E-waste">disposing e-waste responsibly</a>, sad about the <a href="http://www.everyjoe.com/in-these-dark-times-of-layoffs/" title="In These Dark Times of Layoffs">layoffs</a> and the Mumbai attacks, and excited about the <a href="http://www.everyjoe.com/ancient-rome-3d-and-the-life-photo-archive/" title="Ancient Rome 3D and the LIFE Photo Archive">Ancient Rome 3D and the LIFE photo archive</a> projects. I also began an ongoing series on Cygwin: <a href="http://www.everyjoe.com/windows-other-operating-systems-cygwin/" title="Windows, Other Operating Systems, Cygwin">pre-introduction</a>, <a href="http://www.everyjoe.com/introducing-cygwin/" title="Introducing Cygwin">introduction</a>, <a href="http://www.everyjoe.com/how-to-install-cygwin/" title="How to Install Cygwin">installation</a>. For all the things in between, refer the <a href="http://www.everyjoe.com/2008/11/" title="That Damn PC November Archives">November archives</a>.</p>
<p>I thank the readers for stopping by here, the fellow bloggers for link love, the spammers for spam that couldn&#8217;t be caught by Akismet, and the fraud bloggers for blog clones. Or not.</p>
<p>Looking forward to a better blogging experience this December.</p>
<p>Post from: <a href="http://www.everyjoe.com">EveryJoe</a></p>
<p><a href="http://www.everyjoe.com/articles/november-month-in-retrospect-2/">November Month in Retrospect</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.everyjoe.com/articles/november-month-in-retrospect-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Install Cygwin</title>
		<link>http://www.everyjoe.com/articles/how-to-install-cygwin-2/</link>
		<comments>http://www.everyjoe.com/articles/how-to-install-cygwin-2/#comments</comments>
		<pubDate>Fri, 21 Nov 2008 12:30:47 +0000</pubDate>
		<dc:creator>Sravan</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Beginner]]></category>
		<category><![CDATA[Cygwin & Unix]]></category>
		<category><![CDATA[How-To]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[Unix-based OSs]]></category>

		<guid isPermaLink="false">http://www.thatdamnpc.com/how-to-install-cygwin/</guid>
		<description><![CDATA[Installing Cygwin is straightforward, but those who haven&#8217;t installed any UNIX-based OSs before may be lost at the last step. So here are the steps:
1. Download the Cygwin setup file, if you haven&#8217;t already.
2. Choose the installation type: Install from Internet or Install from Local Directory or Download without Installing. When installing Cygwin for the first time, you&#8217;ll have to choose either the first or the last option unless you already have the packages through some other means. I tend to choose the last for two reasons. One, network issues while downloading are preferrable to network issues while installing. Two, a [...]<p>Post from: <a href="http://www.everyjoe.com">EveryJoe</a></p>
<p><a href="http://www.everyjoe.com/articles/how-to-install-cygwin-2/">How to Install Cygwin</a></p>
]]></description>
			<content:encoded><![CDATA[<p>Installing Cygwin is straightforward, but those who haven&#8217;t installed any <a href="http://www.everyjoe.com/introducing-cygwin/" title="That Damn PC: Introducing Cygwin">UNIX-based OSs</a> before may be lost at the last step. So here are the steps:</p>
<p>1. Download the <a href="http://www.cygwin.com/setup.exe" target="_blank" title="Cygwin Setup File">Cygwin setup file</a>, if you haven&#8217;t already.</p>
<p>2. Choose the installation type: Install from Internet or Install from Local Directory or Download without Installing. When installing Cygwin for the first time, you&#8217;ll have to choose either the first or the last option unless you already have the packages through some other means. I tend to choose the last for two reasons. One, network issues while downloading are preferrable to network issues while installing. Two, a reinstall for whatever reason is faster and smoother from a local directory. However, this will consume a few hundred MB to just download. Disk space these days isn&#8217;t an issue anyway.</p>
<p>3. Choose the root directory. I&#8217;ll talk about this structure later. Default options usually suffice, but if you have to choose, choose a new empty folder in a drive with several hundred MB disk space, say, E:\cygwin.</p>
<p>4. Even if you&#8217;re installing from the Internet directly, a few logs with setup-related information are created during installation. These logs are important for the setup file to recognize the existing states of various packages. Specify where you want these logs to reside in.</p>
<p>5. Choose a mirror that is closest to your location, or just pick any.</p>
<p align="center"><a href="http://www.everyjoe.com/files/2/2008/11/installing-cygwin.PNG" title="Cygwin Screenshot From Desktop"><img src="http://www.everyjoe.com/files/2/2008/11/installing-cygwin.PNG" alt="Cygwin Screenshot From Desktop" /></a></p>
<p>6. This is the major step, of choosing the packages. You could simply skip this step, whereby the default base packages will be installed. To experiment more, it will be worth your time to browse through these packages and select a few additional ones. Dependencies like underlying packages and libraries are selected automatically when you choose a package.</p>
<p>There are five modes of View: Category/Full/Partial/Up To Date/Not Installed. Choose the &#8220;Category&#8221; mode. Every package has a line of info written about it to the right. That should give an idea. I&#8217;ll mention the packages being used in the future posts where and when required.</p>
<p>The next step will end the process. If you&#8217;re first downloading the packages from the Internet, then you will have to rerun the Cygwin setup file, this time with the &#8220;Install from Local Directory&#8221; option and let all those packages downloaded be installed.</p>
<p>We&#8217;ll use Cygwin, starting with customizing the terminal from next week.</p>
<p><em>Image Source: </em><a href="http://www.cygwin.com" target="_blank" title="Cygwin Home Page"><em>Cygwin</em></a><em> screenshot from my PC.</em></p>
<p>Post from: <a href="http://www.everyjoe.com">EveryJoe</a></p>
<p><a href="http://www.everyjoe.com/articles/how-to-install-cygwin-2/">How to Install Cygwin</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.everyjoe.com/articles/how-to-install-cygwin-2/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Introducing Cygwin</title>
		<link>http://www.everyjoe.com/articles/introducing-cygwin-2/</link>
		<comments>http://www.everyjoe.com/articles/introducing-cygwin-2/#comments</comments>
		<pubDate>Mon, 17 Nov 2008 12:00:27 +0000</pubDate>
		<dc:creator>Sravan</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Advanced]]></category>
		<category><![CDATA[Cygwin & Unix]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Unix-based OSs]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Windows CE]]></category>
		<category><![CDATA[Windows Vista]]></category>

		<guid isPermaLink="false">http://www.thatdamnpc.com/introducing-cygwin/</guid>
		<description><![CDATA[Previously, I wrote that Cygwin provides an alternative to the windows shell, makes Unix-lovers feel more at home with Windows and vice-versa. That is only the partial truth.
The truth is Cygwin emulates Linux on Windows. If you replace the Windows background with any of the open-source wallpapers, hide the Windows task bar, and only run the cygwin terminal, you can almost cheat yourself that you&#8217;re running a Unix-based OS. This is thanks to a DLL named cygwin1.dll which is the actual Linux API emulation layer.
Cygwin is different from other utility packages providing Unix-like functionality like, say, UnxUtils because of the [...]<p>Post from: <a href="http://www.everyjoe.com">EveryJoe</a></p>
<p><a href="http://www.everyjoe.com/articles/introducing-cygwin-2/">Introducing Cygwin</a></p>
]]></description>
			<content:encoded><![CDATA[<p>Previously, I wrote that <a href="http://www.everyjoe.com/windows-other-operating-systems-cygwin/" title="Windows, Other Operating Systems, Cygwin">Cygwin provides an alternative to the windows shell</a>, makes Unix-lovers feel more at home with Windows and vice-versa. That is only the partial truth.</p>
<p>The truth is Cygwin emulates Linux on Windows. If you replace the Windows background with any of the open-source wallpapers, hide the Windows task bar, and only run the cygwin terminal, you can almost cheat yourself that you&#8217;re running a Unix-based OS. This is thanks to <a href="http://www.everyjoe.com/fix-those-dll-errors/" title="Fix Those DLL Errors">a DLL</a> named cygwin1.dll which is the actual Linux API emulation layer.</p>
<p>Cygwin is different from other utility packages providing Unix-like functionality like, say, UnxUtils because of the emulation layer. Cygwin is not using the native Windows libraries directly for Unix-like utilities. That could mean a difference in the speeds of their execution, but we are not benchmarking anything here. This works better to learn Unix-based OSs.</p>
<p>There are also a number of Linux packages that can be installed on Cygwin after rebuilding them from source. These are the Windows-alternatives to the corresponding Linux tools and are not always available on utility packages that are similar to UnxUtils.</p>
<p>You can download the <a href="http://www.cygwin.com/setup.exe" title="Cygwin Setup">Cygwin setup file</a> from their home page. We&#8217;ll <a href="http://www.everyjoe.com/how-to-install-cygwin/" title="That Damn PC: How to Install Cygwin">run through the installation</a> next time; it should work on most Windows OSs except Windows CE (handheld). I&#8217;ve heard about Cygwin-Vista compatibility issues but that could mean errors here and there and not complete incompatibility.</p>
<p>Post from: <a href="http://www.everyjoe.com">EveryJoe</a></p>
<p><a href="http://www.everyjoe.com/articles/introducing-cygwin-2/">Introducing Cygwin</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.everyjoe.com/articles/introducing-cygwin-2/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Windows, Other Operating Systems, Cygwin</title>
		<link>http://www.everyjoe.com/articles/windows-other-operating-systems-cygwin-2/</link>
		<comments>http://www.everyjoe.com/articles/windows-other-operating-systems-cygwin-2/#comments</comments>
		<pubDate>Fri, 07 Nov 2008 13:30:38 +0000</pubDate>
		<dc:creator>Sravan</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Advanced]]></category>
		<category><![CDATA[Cygwin & Unix]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[GNU/Linux]]></category>
		<category><![CDATA[Red Hat Linux]]></category>
		<category><![CDATA[Shell]]></category>
		<category><![CDATA[SUSE]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[Unix-based OSs]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.thatdamnpc.com/windows-other-operating-systems-cygwin/</guid>
		<description><![CDATA[The Windows operating system is very different from most other operating systems. Red Hat Linux, GNU/Linux, Ubuntu, Debian, SUSE share some core philosophies with UNIX, and are thus called Unix-based OSs. In that way, they all follow a common set of standards which are very unlike Windows&#8217; own and that is one of the reasons for the wide-spread anti-Windows sentiment.
Windows is primarily popular for its apparent user-friendliness. Unix-based OSs are chosen for their open and active communities. Windows is sufficient for &#8216;general purposes&#8217; like listening to songs, playing games, making documents, sending mail, browsing the Internet. Unix-based OSs may seem more [...]<p>Post from: <a href="http://www.everyjoe.com">EveryJoe</a></p>
<p><a href="http://www.everyjoe.com/articles/windows-other-operating-systems-cygwin-2/">Windows, Other Operating Systems, Cygwin</a></p>
]]></description>
			<content:encoded><![CDATA[<p>The Windows operating system is very different from most other operating systems. Red Hat Linux, GNU/Linux, Ubuntu, Debian, SUSE share some core philosophies with UNIX, and are thus called Unix-based OSs. In that way, they all follow a common set of standards which are very unlike Windows&#8217; own and that is one of the reasons for the wide-spread anti-Windows sentiment.</p>
<p>Windows is primarily popular for its apparent user-friendliness. Unix-based OSs are chosen for their open and active communities. Windows is sufficient for &#8216;general purposes&#8217; like listening to songs, playing games, making documents, sending mail, browsing the Internet. Unix-based OSs may seem more convenient for &#8216;geeky purposes&#8217; like tweaking with the computer, writing programs, and pushing boundaries.</p>
<p>One feature that strongly separates Windows and Unix-based OSs is the shell. Windows has a command prompt from where various programs can be run using commands. It is more powerful than what most realize but is rarely used. On the contrary, users of Unix-based OSs greatly depend on their very powerful shell (which is run through a computer terminal or console) and run most programs through it.</p>
<p>Users forced to switch to Windows are commonly peeved by the limitations of the command prompt. Nevertheless there is an alternative to make them feel more at home: <strong>Cygwin</strong>. In fact, there are a few other alternatives, but Cygwin is what I&#8217;m very comfortable with and is also, IMHO, more exhaustive than others. Learning Cygwin is very useful even for Windows users to feel more comfortable when they ever encounter Unix-based OSs, or work in a multi-platform environment where you might have to <a title="Mixing UNIX With Windows" href="http://www.everyjoe.com/mixing-unix-with-windows/">mix Unix with Windows</a>.</p>
<p>From here on, we shall regularly try to <a title="That Damn PC: Introducing Cygwin" href="http://www.everyjoe.com/introducing-cygwin/">learn Cygwin</a>, a nibble at a time. Share this news to your friends who are interested in learning UNIX or Cygwin. We&#8217;ll decide on the bite-size based on the community response.</p>
<p>Post from: <a href="http://www.everyjoe.com">EveryJoe</a></p>
<p><a href="http://www.everyjoe.com/articles/windows-other-operating-systems-cygwin-2/">Windows, Other Operating Systems, Cygwin</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.everyjoe.com/articles/windows-other-operating-systems-cygwin-2/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>