<?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; Unix</title>
	<atom:link href="http://www.everyjoe.com/tag/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>Sun, 06 Dec 2009 22:38:49 +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>Cygwin Commands for Text Manipulation</title>
		<link>http://www.everyjoe.com/articles/cygwin-commands-for-text-manipulation-2/</link>
		<comments>http://www.everyjoe.com/articles/cygwin-commands-for-text-manipulation-2/#comments</comments>
		<pubDate>Fri, 20 Feb 2009 12:00:55 +0000</pubDate>
		<dc:creator>Sravan</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Cool Software]]></category>
		<category><![CDATA[Cygwin]]></category>
		<category><![CDATA[DOS]]></category>
		<category><![CDATA[find]]></category>
		<category><![CDATA[findstr]]></category>
		<category><![CDATA[grep]]></category>
		<category><![CDATA[How-To]]></category>
		<category><![CDATA[Intermediate]]></category>
		<category><![CDATA[regular expressions]]></category>
		<category><![CDATA[sed]]></category>
		<category><![CDATA[sort]]></category>
		<category><![CDATA[string manipulation]]></category>
		<category><![CDATA[string replacement]]></category>
		<category><![CDATA[text manipulation]]></category>
		<category><![CDATA[uniq]]></category>
		<category><![CDATA[unique]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[wc]]></category>
		<category><![CDATA[word count]]></category>

		<guid isPermaLink="false">http://www.thatdamnpc.com/?p=1321</guid>
		<description><![CDATA[DOS has a few commands like find, findstr and sort which can be used to manipulate text. ($ help &#60;cmd&#62; shows the usage help for all these commands.) However, their usage is very different from those that a Unix user may be familiar with.
One of the best things about Cygwin is that these commands useful for “quick and dirty” work on large chunks of text data are easy to learn, are consistent across all Unix-based OSs, have a number of options, and are quite extensive. When used in combination, they can save a lot of programming.
($ &#60;command&#62; &#60;option&#62; &#60;inputs&#62; is [...]<p>Post from: <a href="http://www.everyjoe.com">EveryJoe</a></p>
<p><a href="http://www.everyjoe.com/articles/cygwin-commands-for-text-manipulation-2/">Cygwin Commands for Text Manipulation</a></p>
]]></description>
			<content:encoded><![CDATA[<p>DOS has a few commands like find, findstr and sort which can be used to manipulate text. (<span style="font-family: Lucida Console;">$ help &lt;cmd&gt;</span> shows the usage help for all these commands.) However, their usage is very different from those that a Unix user may be familiar with.</p>
<p>One of the best things about Cygwin is that these commands useful for “quick and dirty” work on large chunks of text data are easy to learn, are consistent across all Unix-based OSs, have a number of options, and are quite extensive. When used in combination, they can save a lot of programming.</p>
<p>(<span style="font-family: Lucida Console;">$ &lt;command&gt; &lt;option&gt; &lt;inputs&gt;</span> is the general format for almost any of these commands. <span style="font-family: Lucida Console;">$ &lt;command&gt; &#8211;help</span> shows the usage information.)</p>
<p>Note that all the commands below work on text files, not just any files with text content in them.  e.g. a .DOC or a .HTML contains many other headers which are also taken into account when processed by these commands.</p>
<p><strong>wc</strong>: wc is short for “word count”, but it counts more than just words. It can count chars (-m), lines (-l) apart from words (-w).</p>
<p><strong>uniq</strong>: When files have a large number of lines with many identical ones, uniq returns only once all lines among the input files after discarding repetitions. –c also gives the number of times each line has been repeated, –u returns only the unique lines discarding any line which has been repeated more than once, –i considers two lines non-unique if they are only differing the case.</p>
<p><strong>sort</strong>: Say you have several files with numbers or words that need to be sorted. Sort can sort a concatenation of several files at once, where each line is considered a separate value to be sorted. The sorting order can be specified as in –d means dictionary-order, –f means ignore case, –n means numeric sort, –u means sort only unique lines.</p>
<p><strong>grep</strong>: Short for “get regular expression”, grep can be used to search for a specific string or string pattern (called regular expression) in given text. <span style="font-family: Lucida Console;">$ grep “grep” &lt;this-post&gt;</span> shows all the lines with the string “grep” in them. –c is used to count the number of occurrences, –i is used to ignore case, –v is used to invert the result.</p>
<p><strong>sed</strong>: sed is used primarily to find and replace a string or string pattern from files. The most common usage is <span style="font-family: Lucida Console;">$ sed ‘s/&lt;find-string&gt;/&lt;replace-with-string&gt;/g’</span> which replaces all occurrences of &lt;find-string&gt; with &lt;replace-with-string&gt;.</p>
<p>Post from: <a href="http://www.everyjoe.com">EveryJoe</a></p>
<p><a href="http://www.everyjoe.com/articles/cygwin-commands-for-text-manipulation-2/">Cygwin Commands for Text Manipulation</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.everyjoe.com/articles/cygwin-commands-for-text-manipulation-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>POSIX and PATH</title>
		<link>http://www.everyjoe.com/articles/posix-and-path-2/</link>
		<comments>http://www.everyjoe.com/articles/posix-and-path-2/#comments</comments>
		<pubDate>Fri, 30 Jan 2009 12:15:43 +0000</pubDate>
		<dc:creator>Sravan</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Cygwin]]></category>
		<category><![CDATA[Damn Blog]]></category>
		<category><![CDATA[Damn PC]]></category>
		<category><![CDATA[directory structure]]></category>
		<category><![CDATA[How-To]]></category>
		<category><![CDATA[Intermediate]]></category>
		<category><![CDATA[mount]]></category>
		<category><![CDATA[Path]]></category>
		<category><![CDATA[POSIX]]></category>
		<category><![CDATA[root directory]]></category>
		<category><![CDATA[tree structure]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[unmount]]></category>

		<guid isPermaLink="false">http://www.thatdamnpc.com/?p=1253</guid>
		<description><![CDATA[It has been nearly two months since I introduced Cygwin. We’ve seen how to install Cygwin, customize the terminal, a few text editors and a tabbed terminal emulator. Enough with the playfulness. One final configuration and let us move on to the geekier fun.
Directory Structure
Cygwin uses the POSIX notation standard in paths. That is, instead of ‘\’ as in Windows, it uses the more convenient ‘/’ as in Unix. The web follows the same notation. For instance, take http://thatdamnpc.com/category/cygwin-unix. On the web host, one might find a directory called “category” in the main directory and a sub-directory “cygwin-unix” along with [...]<p>Post from: <a href="http://www.everyjoe.com">EveryJoe</a></p>
<p><a href="http://www.everyjoe.com/articles/posix-and-path-2/">POSIX and PATH</a></p>
]]></description>
			<content:encoded><![CDATA[<p>It has been nearly two months since I <a title="That Damn PC: Introducing Cygwin" href="http://www.everyjoe.com/introducing-cygwin/">introduced Cygwin</a>. We’ve seen how to <a title="That Damn PC: How to Install Cygwin" href="http://www.everyjoe.com/how-to-install-cygwin/">install Cygwin</a>, <a title="That Damn PC: Customizing the Cygwin Terminal" href="http://www.everyjoe.com/customizing-the-cygwin-terminal/">customize</a> the <a title="That Damn PC: The .profile in Cygwin" href="http://www.everyjoe.com/articles/the-profile-in-cygwin-2/">terminal</a>, a few <a title="That Damn PC: Many Cygwin Text Editors" href="http://www.everyjoe.com/many-cygwin-text-editors/">text editors</a> and a <a title="That Damn PC: Poderosa the Terminal Emulator" href="http://www.everyjoe.com/poderosa-the-terminal-emulator/">tabbed terminal emulator</a>. Enough with the playfulness. One final configuration and let us move on to the geekier fun.</p>
<p><strong>Directory Structure<br />
</strong>Cygwin uses the <strong>POSIX</strong> notation standard in paths. That is, instead of ‘\’ as in Windows, it uses the more convenient ‘/’ as in Unix. The web follows the same notation. For instance, take <a href="http://thatdamnpc.com/category/cygwin-unix">http://thatdamnpc.com/category/cygwin-unix</a>. On the web host, one might find a directory called “category” in the main directory and a sub-directory “cygwin-unix” along with other category names in it.</p>
<p>‘/’, the root directory, is considered the parent directory under which all directories fall, like /usr, /bin, /lib, /tmp, /var, etc. /A/B/C/D/E/F.txt would mean a file F.txt present in E, a sub-directory of D, which is a sub-directory of C, which is a sub-directory of B, which is a sub-directory of A, which is a sub-directory of /, the root.</p>
<p>If you look at the contents of / (<span style="font-family: Lucida Console;">ls /</span> or <span style="font-family: Lucida Console;">dir /</span>) in your Cygwin terminal, you will notice a sub-directory called cygdrive. This contains all the Windows drives in it. Your C: drive can be got to through /cygdrive/c.</p>
<p>For convenience, we can remove this /cygdrive prefix in the following ways:</p>
<p>1. <span style="font-family: Lucida Console;">$ cd /<br />
    $ mkdir c e<br />
    $ mount c: /c<br />
    $ mount e: /e</span></p>
<p>2. <span style="font-family: Lucida Console;">$ mount –c /</span></p>
<p>In this way your main Windows drives will be direct sub-directories of /.</p>
<p><strong>PATH<br />
</strong>Check what your path is using <span style="font-family: Lucida Console;">echo $PATH</span> command. It should have at least the following: <span style="font-family: Lucida Console;">/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/c/WINDOWS/<br />
system32:/c/WINDOWS:/c/WINDOWS/System32/Wbem:/c/SysinternalsSuite</span></p>
<p>Using this path setting, we can run even those programs that we could run from the MS Command Prompt. If you have any other files which can be run from command line, add them to the path using your .profile. We’ve already seen that.</p>
<p>Good to go from next week.</p>
<p>Post from: <a href="http://www.everyjoe.com">EveryJoe</a></p>
<p><a href="http://www.everyjoe.com/articles/posix-and-path-2/">POSIX and PATH</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.everyjoe.com/articles/posix-and-path-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Poderosa: The Terminal Emulator</title>
		<link>http://www.everyjoe.com/articles/poderosa-the-terminal-emulator-2/</link>
		<comments>http://www.everyjoe.com/articles/poderosa-the-terminal-emulator-2/#comments</comments>
		<pubDate>Fri, 23 Jan 2009 12:00:50 +0000</pubDate>
		<dc:creator>Sravan</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[.NET]]></category>
		<category><![CDATA[Cool Software]]></category>
		<category><![CDATA[Cygwin]]></category>
		<category><![CDATA[Microsoft .NET Framework]]></category>
		<category><![CDATA[Microsoft .NET Framework 2.0]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[putty]]></category>
		<category><![CDATA[putty connection manager]]></category>
		<category><![CDATA[remote login]]></category>
		<category><![CDATA[tabbed application]]></category>
		<category><![CDATA[terminal]]></category>
		<category><![CDATA[terminal emulator]]></category>
		<category><![CDATA[Unix]]></category>

		<guid isPermaLink="false">http://www.thatdamnpc.com/?p=1240</guid>
		<description><![CDATA[The terminal is an important aspect of Cygwin like for any Unix-based OS. For this reason, you might see its users like me chasing after fancy ways of beautifying it. Well, I will try to make this the last time.
Poderosa is the best terminal emulator for Cygwin that I have come across. It has a tabbed GUI, much like the PuTTY Connection Manager. However, in addition to the network communication protocols through which one can connect to a remote system using PuTTY, local Cygwin shells can also be opened using Poderosa. I use it mainly for the latter purpose.

Poderosa allows [...]<p>Post from: <a href="http://www.everyjoe.com">EveryJoe</a></p>
<p><a href="http://www.everyjoe.com/articles/poderosa-the-terminal-emulator-2/">Poderosa: The Terminal Emulator</a></p>
]]></description>
			<content:encoded><![CDATA[<p style="text-align: left;">The terminal is an important aspect of Cygwin like for any Unix-based OS. For this reason, you might see its users like me chasing after <a title="That Damn PC: Customizing the Cygwin Terminal" href="http://www.everyjoe.com/customizing-the-cygwin-terminal/">fancy ways of beautifying it</a>. Well, I will try to make this the last time.</p>
<p>Poderosa is the best terminal emulator for Cygwin that I have come across. It has a tabbed GUI, much like the <a title="That Damn PC: PuTTY Connection Manager for Tabbed PuTTY" href="http://www.everyjoe.com/articles/putty-connection-manager-for-tabbed-putty-2/">PuTTY Connection Manager</a>. However, in addition to the network communication protocols through which one can connect to a remote system using PuTTY, local Cygwin shells can also be opened using Poderosa. I use it mainly for the latter purpose.</p>
<p style="text-align: center;"><a href="http://www.everyjoe.com/files/2/2009/01/poderosascreenshot.png"><img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="Poderosa Screenshot" src="http://www.everyjoe.com/files/2/2009/01/poderosascreenshot-thumb.png" border="0" alt="Poderosa Screenshot" width="544" height="400" /></a></p>
<p>Poderosa allows the user to set custom fonts and colors, keyboard shortcuts, command suggestions, etc. The “detailed preference editor” is especially useful, though not very straightforward to use. The app was built in a plug-in architecture and allows one to build custom plug-ins.</p>
<p>Poderosa too needs .NET Framework 2.0 preinstalled on your computer. Unlike PuTTY Connection Manager, I found Poderosa very stable. For telnet though, Poderosa gave me trouble where the PuTTY Connection Manager worked.</p>
<p>Poderosa, according to the <a title="Poderosa" href="http://www.poderosa.org" target="_blank">website</a>, had funding from the Japanese Govt. during 2005. Presently, its development seems to have stopped over a couple of years ago. The last release was v4.1.0 and you can get it from <a title="Poderosa Binary Files" href="http://en.poderosa.org/download/binary.html" target="_blank">here</a>.</p>
<p><em>Image Source: <a title="Poderosa Homepage" href="http://www.poderosa.org/" target="_blank">Poderosa</a> on my PC.</em></p>
<p>Post from: <a href="http://www.everyjoe.com">EveryJoe</a></p>
<p><a href="http://www.everyjoe.com/articles/poderosa-the-terminal-emulator-2/">Poderosa: The Terminal Emulator</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.everyjoe.com/articles/poderosa-the-terminal-emulator-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PuTTY Connection Manager for Tabbed PuTTY</title>
		<link>http://www.everyjoe.com/articles/putty-connection-manager-for-tabbed-putty-2/</link>
		<comments>http://www.everyjoe.com/articles/putty-connection-manager-for-tabbed-putty-2/#comments</comments>
		<pubDate>Sat, 10 Jan 2009 20:00:47 +0000</pubDate>
		<dc:creator>Sravan</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[.NET]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[Cool Software]]></category>
		<category><![CDATA[freeware]]></category>
		<category><![CDATA[Intermediate]]></category>
		<category><![CDATA[Microsoft .NET Framework]]></category>
		<category><![CDATA[Microsoft .NET Framework 2.0]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[portable app]]></category>
		<category><![CDATA[portable application]]></category>
		<category><![CDATA[putty]]></category>
		<category><![CDATA[putty connection manager]]></category>
		<category><![CDATA[remote login]]></category>
		<category><![CDATA[SSH]]></category>
		<category><![CDATA[tabbed app]]></category>
		<category><![CDATA[tabbed application]]></category>
		<category><![CDATA[Telnet]]></category>
		<category><![CDATA[Unix]]></category>

		<guid isPermaLink="false">http://www.thatdamnpc.com/?p=1209</guid>
		<description><![CDATA[PuTTY is a free Windows client that allows users to log into remote systems through raw, Telnet, SSH, remote login, and serial connections. It is primarily used for logging into UNIX systems through Telnet and SSH, and at 444KB (direct executable) is  very popular with UNIX lovers even though its last version of 0.60 beta has not been updated in nearly two years.
I recently discovered that there is a tabbed version of PuTTY called the PuTTY Connection Manager allowing multiple PuTTY instances in a single window.

PuTTY Connection Manager has several other features like workspace customizations, auto-login and post-login commands, Import/Export [...]<p>Post from: <a href="http://www.everyjoe.com">EveryJoe</a></p>
<p><a href="http://www.everyjoe.com/articles/putty-connection-manager-for-tabbed-putty-2/">PuTTY Connection Manager for Tabbed PuTTY</a></p>
]]></description>
			<content:encoded><![CDATA[<p><a title="PuTTY: A Free Telnet/SSH Client" href="http://www.chiark.greenend.org.uk/~sgtatham/putty/" target="_blank">PuTTY</a> is a free Windows client that allows users to <strong>log into remote systems</strong> through raw, Telnet, SSH, remote login, and serial connections. It is primarily used for logging into UNIX systems through Telnet and SSH, and at 444KB (direct executable) is  very popular with UNIX lovers even though its last version of 0.60 beta has not been updated in nearly two years.</p>
<p>I recently discovered that there is a tabbed version of PuTTY called the <strong>PuTTY Connection Manager</strong> allowing multiple PuTTY instances in a single window.</p>
<p align="center"><a href="http://www.everyjoe.com/files/2/2009/01/puttyconnectionmanagerscreenshot.jpg" target="_blank"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="PuTTY Connection Manager Screenshot" src="http://www.everyjoe.com/files/2/2009/01/puttyconnectionmanagerscreenshot-thumb.jpg" border="0" alt="PuTTY Connection Manager Screenshot" width="504" height="353" /></a></p>
<p>PuTTY Connection Manager has several other features like workspace customizations, auto-login and post-login commands, Import/Export connection info to XML, and localization in French. Though the installation installs a help document, it runs as a standalone application and is easily portable.</p>
<p>The app crashed on a few instances while I was using it, and it takes a few seconds to start, but I find it very useful. Also, considering that it is still in version 0.7 alpha and is actively being updated, I have every hope that it will become more stable in the coming future.</p>
<p>The app was developed using C# and it needs <a title="Microsoft .NET Framework 2.0" href="http://download.microsoft.com/download/5/6/7/567758a3-759e-473e-bf8f-52154438565a/dotnetfx.exe">Microsoft .NET Framework 2.0</a>. Unlike PuTTY this is not <a title="That Damn PC: OpenOffice Promises to Leapfrog Microsoft Office" href="http://www.everyjoe.com/openoffice-30-promises-to-leapfrog-microsoft-office/" target="_self">open source</a> but a freeware.</p>
<p><em>Image Source: Putty Connection Manager website.</em></p>
<p>Post from: <a href="http://www.everyjoe.com">EveryJoe</a></p>
<p><a href="http://www.everyjoe.com/articles/putty-connection-manager-for-tabbed-putty-2/">PuTTY Connection Manager for Tabbed PuTTY</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.everyjoe.com/articles/putty-connection-manager-for-tabbed-putty-2/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Tech Channel Roundup From Steve Jobs to Steve Ballmer</title>
		<link>http://www.everyjoe.com/articles/tech-channel-roundup-from-steve-jobs-to-steve-ballmer-2/</link>
		<comments>http://www.everyjoe.com/articles/tech-channel-roundup-from-steve-jobs-to-steve-ballmer-2/#comments</comments>
		<pubDate>Wed, 07 Jan 2009 17:00:21 +0000</pubDate>
		<dc:creator>Sravan</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[CLI]]></category>
		<category><![CDATA[How-To]]></category>
		<category><![CDATA[Image]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Macintosh]]></category>
		<category><![CDATA[Macworld]]></category>
		<category><![CDATA[Media]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Microsoft Windows 7]]></category>
		<category><![CDATA[Patches]]></category>
		<category><![CDATA[Phil Schiller]]></category>
		<category><![CDATA[Steve Ballmer]]></category>
		<category><![CDATA[Steve Jobs]]></category>
		<category><![CDATA[terminal]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[youtube]]></category>
		<category><![CDATA[Zune]]></category>
		<category><![CDATA[Zune fix]]></category>

		<guid isPermaLink="false">http://www.thatdamnpc.com/?p=1191</guid>
		<description><![CDATA[First Juan was not excited about this year’s MacWorld. Then he worried about Steve Jobs’ hormone imbalance, which I must say is something only Apple lovers are capable of. Now, after watching MacWorld ‘09, he decides that Phil Schiller’s keynote was just fine.
Jason, celebrating his three-year anniversary at Microsoft Weblog, sees a surge in Zune’s popularity since the 30GB Zune owners started experiencing widespread failure and Microsoft subsequently updating them about its fix. He still wants to buy Zune, but do you recommend it?
Clair introduces us to a cool terminal user whom all lovers of CLI can follow on Twitter [...]<p>Post from: <a href="http://www.everyjoe.com">EveryJoe</a></p>
<p><a href="http://www.everyjoe.com/articles/tech-channel-roundup-from-steve-jobs-to-steve-ballmer-2/">Tech Channel Roundup From Steve Jobs to Steve Ballmer</a></p>
]]></description>
			<content:encoded><![CDATA[<p>First <strong>Juan</strong> was <a title="The After Mac: MacWorld Won't be as Exciting as Last Year" href="http://www.theaftermac.com/macworld-wont-be-as-exciting-as-last-year/" target="_blank">not excited</a> about this year’s MacWorld. Then he worried about <a title="The After Mac: Steve Jobs Has Hormone Imbalance" href="http://www.theaftermac.com/steve-jobs-has-hormone-imbalance/" target="_blank">Steve Jobs’ hormone imbalance</a>, which I must say is something only Apple lovers are capable of. Now, after <a title="The AfterMac: MacWorld 09" href="http://www.theaftermac.com/macworld-09/" target="_blank">watching MacWorld ‘09</a>, he decides that Phil Schiller’s keynote was just fine.</p>
<p><strong>Jason</strong>, celebrating his <a title="Microsoft Weblog: Jason's 3-yr Anniversary At Microsoft Weblog" href="http://www.microsoftweblog.com/my-3-yr-anniversary-at-microsoft-weblog/" target="_blank">three-year anniversary at Microsoft Weblog</a>, sees a <a title="Microsoft Weblog: Zune Google Hot Trend" href="http://www.microsoftweblog.com/zune-google-hot-trend/" target="_blank">surge in Zune’s popularity</a> since the 30GB Zune owners started experiencing <a title="Microsoft Weblog: 30 GB Zune Owners Experiencing Widespread Failure" href="http://www.microsoftweblog.com/30gb-zune-owners-experiencing-widespread-failure/" target="_blank">widespread failure</a> and Microsoft subsequently updating them about <a title="Microsoft Weblog: Microsoft Provides Info on 30GB Zune Errors" href="http://www.microsoftweblog.com/microsoft-provides-info-on-30gb-zune-errors/" target="_blank">its fix</a>. He still wants to buy Zune, but do you recommend it?</p>
<p><strong>Clair</strong> introduces us to a <a title="New Linux User: Terminal Test" href="http://www.newlinuxuser.com/terminal-test/" target="_blank">cool terminal user</a> whom all lovers of CLI can follow on <a title="That Damn PC: 3 Problems We Will Face on Twitter" href="http://www.everyjoe.com/3-problems-we-will-face-on-twitter/">Twitter</a> and Identi.ca, and teaches two techniques off <a title="New Linux User: Adding Watermark to Your Images Using Gimp" href="http://www.newlinuxuser.com/adding-watermark-to-your-images-using-gimp/" target="_blank">adding watermark to your images</a>.</p>
<p><strong>Jayvee</strong> laments about the <a title="Tech Side Up: Sentimental Note on EGMS Closing" href="http://www.techsideup.com/sentimental-note-on-egms-closing/" target="_blank">closing of Electronic Gaming Monthly</a> and cheers the usage of <a title="Inside Online Video: Ohio Police Use Youtube to Catch Crime" href="http://www.insideonlinevideo.com/2009/01/06/ohio-police-use-youtube-to-catch-crime/" target="_blank">Youtube by Ohio Police to solve a crime</a>.</p>
<p><strong>Milo</strong> lists <a title="Windows Vista Weblog: 4 Correct Moves Made By Microsoft in 2008" href="http://www.windowsvistaweblog.com/2009/01/05/correct-moves-made-by-microsoft-in-2008/" target="_blank">4 correct moves made by Microsoft in 2008</a> and reacts to <a title="Windows Vista Weblog: Five Things Steve Wouldn't Tell About Windows 7" href="http://www.windowsvistaweblog.com/2009/01/07/five-things-steve-wouldnt-tell-about-windows-7/" target="_blank">5 things that Steve wouldn’t tell about Windows 7</a>.</p>
<p>Post from: <a href="http://www.everyjoe.com">EveryJoe</a></p>
<p><a href="http://www.everyjoe.com/articles/tech-channel-roundup-from-steve-jobs-to-steve-ballmer-2/">Tech Channel Roundup From Steve Jobs to Steve Ballmer</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.everyjoe.com/articles/tech-channel-roundup-from-steve-jobs-to-steve-ballmer-2/feed/</wfw:commentRss>
		<slash:comments>1</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>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>