<?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>finiteloops.com</title>
	<atom:link href="http://www.finiteloops.com/weblog/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://www.finiteloops.com/weblog</link>
	<description>Apple and more...</description>
	<lastBuildDate>Thu, 12 Aug 2010 11:45:52 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>How to install pkg file commandline?</title>
		<link>http://www.finiteloops.com/weblog/?p=215</link>
		<comments>http://www.finiteloops.com/weblog/?p=215#comments</comments>
		<pubDate>Thu, 12 Aug 2010 11:44:19 +0000</pubDate>
		<dc:creator>Waruna</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[Unix]]></category>

		<guid isPermaLink="false">http://www.finiteloops.com/weblog/?p=215</guid>
		<description><![CDATA[Recently, when I tried to install a pkg file, just by double clicking, it gave an error. In such situations commandline installer tool comes handy. Here is how you can use it. sudo installer -pkg &#60;pkg name&#62; -target / (Usually the target location is the root folder. However you can also point it to some [...]]]></description>
			<content:encoded><![CDATA[<p>Recently, when I tried to install a pkg file, just by double clicking, it gave an error. In such situations commandline installer tool comes handy. Here is how you can use it.</p>
<div class="codecolorer-container bash mac-classic" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">sudo</span> installer <span style="color: #660033;">-pkg</span> <span style="color: #000000; font-weight: bold;">&lt;</span>pkg name<span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #660033;">-target</span> <span style="color: #000000; font-weight: bold;">/</span></div></div>
<p>(Usually the target location is the root folder. However you can also point it to some other location depending on your requirements)<br />
Here is an example.</p>
<div class="codecolorer-container bash mac-classic" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">sudo</span> installer <span style="color: #660033;">-pkg</span> ~<span style="color: #000000; font-weight: bold;">/</span>Downloads<span style="color: #000000; font-weight: bold;">/</span>iStockphotoApertureExport.pkg <span style="color: #660033;">-target</span> <span style="color: #000000; font-weight: bold;">/</span></div></div>
]]></content:encoded>
			<wfw:commentRss>http://www.finiteloops.com/weblog/?feed=rss2&amp;p=215</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Use the built-in TFTP client to trasfer firmware onto your router</title>
		<link>http://www.finiteloops.com/weblog/?p=211</link>
		<comments>http://www.finiteloops.com/weblog/?p=211#comments</comments>
		<pubDate>Sat, 24 Apr 2010 11:51:22 +0000</pubDate>
		<dc:creator>Waruna</dc:creator>
				<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[Unix]]></category>

		<guid isPermaLink="false">http://www.finiteloops.com/weblog/?p=211</guid>
		<description><![CDATA[Worst thing happened yesterday while I was updating my router(WGR614v9 54 Mbps Wireless Router) firmware. Usually updating the firmware is an easy process. All you have to do is log in to the router via any web browser and upload the latest firmware file. In my case I did manage to upload the file but [...]]]></description>
			<content:encoded><![CDATA[<p>Worst thing happened yesterday while I was updating my router(WGR614v9<br />
54 Mbps Wireless Router) firmware. Usually updating the firmware is an easy process. All you have to do is log in to the router via any web browser and upload the latest firmware file. In my case I did manage to upload the file but when the router restarted the power button started blinking. The blinking power button indicates that the firmware is corrupt. </p>
<p>In such a situation only way to save the router is to transfer the firmware file through router&#8217;s built-in TFTP server. If you are comfortable with the Terminal.app the process is really easy. Here are the steps.</p>
<ul>
<li>Fire-up the Terminal.app (/Applications/Utilities/Terminal.app).</li>
<li>cd to the location where the firmware file (with .chk extension) is located.</li>
<li>Issue the following commands and hit return</li>
<div class="codecolorer-container bash mac-classic" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">tftp <span style="color: #660033;">-e</span> <span style="color: #000000; font-weight: bold;">&lt;</span>ip address of your router<span style="color: #000000; font-weight: bold;">&gt;</span></div></div>
<p>(Command to connect to the tftp server)</p>
<div class="codecolorer-container bash mac-classic" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">put <span style="color: #000000; font-weight: bold;">&lt;</span>firmware filename<span style="color: #000000; font-weight: bold;">&gt;</span></div></div>
<p>(Copy the firmware file from the local machine to the server)</p>
<div class="codecolorer-container bash mac-classic" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">quit</div></div>
<p>(Quit the tftp connection)<br />
This method worked well with my router. However there may be different ways to transfer the file with other brands.
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.finiteloops.com/weblog/?feed=rss2&amp;p=211</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Control the volume of your Mac from the Terminal</title>
		<link>http://www.finiteloops.com/weblog/?p=207</link>
		<comments>http://www.finiteloops.com/weblog/?p=207#comments</comments>
		<pubDate>Tue, 12 Jan 2010 00:41:07 +0000</pubDate>
		<dc:creator>Waruna</dc:creator>
				<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[Unix]]></category>

		<guid isPermaLink="false">http://www.finiteloops.com/weblog/?p=207</guid>
		<description><![CDATA[Recently when I was sitting on my couch in the living room, I have realised that the iTumes running on my iMac (which is in a different room) is playing bit too loud. As it was too comfortable to get up and go to the machine to reduce the volume I found an easy method [...]]]></description>
			<content:encoded><![CDATA[<p>Recently when I was sitting on my couch in the living room, I have realised that the iTumes running on my iMac (which is in a different room) is playing bit too loud. As it was too comfortable to get up and go to the machine to reduce the volume I found an easy method using the OS X terminal. Here is how I did it.</p>
<p>Connected to the iMac using ssh from my laptop.</p>
<p>Entered the following code</p>
<div class="codecolorer-container bash mac-classic" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">osascript <span style="color: #660033;">-e</span> <span style="color: #ff0000;">'set volume output volume 10'</span></div></div>
<p>Here the volume scale is from 0 to 100.</p>
<p>That&#8217;s all.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.finiteloops.com/weblog/?feed=rss2&amp;p=207</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Quickly switch between users in OS X</title>
		<link>http://www.finiteloops.com/weblog/?p=201</link>
		<comments>http://www.finiteloops.com/weblog/?p=201#comments</comments>
		<pubDate>Mon, 07 Sep 2009 16:29:03 +0000</pubDate>
		<dc:creator>Waruna</dc:creator>
				<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://www.finiteloops.com/weblog/?p=201</guid>
		<description><![CDATA[In OS X (Tiger, Leopard or Snow Leopard) it is really easy to switch between users without logging out of the system. However, you need to activate a system preference setting in order to activate the switch mode. Go to System Preferences and select &#8220;Accounts&#8221;. If you are not an admin user click on the [...]]]></description>
			<content:encoded><![CDATA[<p>In OS X (Tiger, Leopard or Snow Leopard) it is really easy to switch between users without logging out of the system. However, you need to activate a system preference setting in order to activate the switch mode.</p>
<ol>
<li>Go to System Preferences and select &#8220;Accounts&#8221;. If you are not an admin user click on the small padlock symbol(<img class="alignnone size-full wp-image-203" title="padlock" src="http://www.finiteloops.com/weblog/wp-content/uploads/2009/09/padlock.png" alt="padlock" width="17" height="21" />) and login as an admin. user.</li>
<li>Click on &#8220;Login Options&#8221; and check the &#8220;Enable fast user switching.</li>
</ol>
<p><img class="aligncenter size-full wp-image-202" title="user_switch" src="http://www.finiteloops.com/weblog/wp-content/uploads/2009/09/user_switch.jpg" alt="user_switch" width="510" height="164" /></p>
<p>That&#8217;s all. Now if you want to switch as a different user, you can select the appropriate user from the top right corner of the main menu. Switching users does not pause activities of the current user except iTunes or video playback.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.finiteloops.com/weblog/?feed=rss2&amp;p=201</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Snow Leopard is out</title>
		<link>http://www.finiteloops.com/weblog/?p=193</link>
		<comments>http://www.finiteloops.com/weblog/?p=193#comments</comments>
		<pubDate>Wed, 02 Sep 2009 08:10:17 +0000</pubDate>
		<dc:creator>Waruna</dc:creator>
				<category><![CDATA[News & Rumors]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://www.finiteloops.com/weblog/?p=193</guid>
		<description><![CDATA[After all most two years of development and testing Apple has released it&#8217;s new operating system on the 28th August 2009. It is two months earlier than previously planned but many blog sites have correctly predicted the early arrival. According to Apple, this release is all about refinement not reinvention. They have done lot work [...]]]></description>
			<content:encoded><![CDATA[<p>After all most two years of development and testing Apple has released it&#8217;s new operating system on the 28th August 2009. It is two months earlier than previously planned but many blog sites have correctly predicted the early arrival. According to Apple, this release is all about refinement not reinvention. They have done lot work cleaning up the code and refining the existing features of Leopard to make it faster and even more user friendly. It also includes couple of important new features as well.</p>
<div id="attachment_194" class="wp-caption aligncenter" style="width: 336px"><img class="size-full wp-image-194" title="sl_cover" src="http://www.finiteloops.com/weblog/wp-content/uploads/2009/09/sl_cover.jpg" alt="Snow Leopard" width="326" height="326" /><p class="wp-caption-text">Snow Leopard</p></div>
<p>The Snow Leopard is taking the advantage of 64-bit processor power. Nearly all system applications — including the Finder, Mail, Safari, iCal, and iChat — are now built with 64-bit code. This enables the Macs to address up to 16 terabytes of memory.</p>
<p>What are the major <strong>new features</strong> of Snow Leopard?<br />
New look and new features in Exposé and Stacks<br />
<img class="aligncenter size-full wp-image-195" title="sls_tacks" src="http://www.finiteloops.com/weblog/wp-content/uploads/2009/09/sls_tacks.jpg" alt="sls_tacks" width="502" height="293" /><br />
Exposé is now integrated in the Dock, so when you click and hold an application icon in the Dock and all the windows for that application will unshuffle so you can quickly switch to another one. Exposé windows are now displayed in an organized grid, making it even easier for quick search. The stacks are now scrollable, so you can easily view all items. You can also navigate back and forth through folders in a stack to see all the files inside it.</p>
<p>QuickTime X<br />
Snow Leopard comes with an optional new version of Quick Time known as QuickTime X. It has got rid of window frames and menu functions made available only when required. At other times they are not visible.<br />
<img class="aligncenter size-full wp-image-196" title="qtx" src="http://www.finiteloops.com/weblog/wp-content/uploads/2009/09/qtx.jpg" alt="qtx" width="510" height="296" /><br />
OpenCL<br />
The new OpenCL technology takes the power of graphics processors and makes it available for general-purpose computing. No longer will graphics processors be limited to graphics-intensive applications such as games and 3D modeling. Now the developers can use OpenCL in their applications to greatly improved speed.</p>
<p>Grand Central Dispatch<br />
Grand Central Dispatch (GCD) in Mac OS X Snow Leopard makes it much easier for developers to squeeze every last drop of power from multicore systems. With GCD, threads are handled by the operating system, not by individual applications. GCD-enabled programs can automatically distribute their work across all available cores, resulting in the best possible performance whether they’re running on a dual-core Mac mini, an 8-core Mac Pro, or anything in between.</p>
<p>Installation requires less space<br />
Due to refinements done in the core system Snow Leopards saves up to 7GB of free space. As I was checking the capacity of the HDD, I also noticed that the size it displayed on Snow Leopard was different to Leopard. As it turns out Snow Leopard is calculating capacity in base 10 rather than base 2 which is used by Leopard. More information can be found <a href="http://blogs.zdnet.com/storage/?p=589">here</a>.</p>
<p>Installation<br />
The installation went quit smooth. It took me around 40 min. for upgrading from Leopard. Although it is not official you may be able to upgrade to SL from Tiger. You should also aware that the Snow Leopard will not run on PPC based Macs.</p>
<p>Exchange Server support<br />
<img class="aligncenter size-full wp-image-197" title="exchange_support" src="http://www.finiteloops.com/weblog/wp-content/uploads/2009/09/exchange_support.jpg" alt="exchange_support" width="540" height="382" /><br />
Snow Leopard includes built-in support for the latest version of Microsoft Exchange Server. So you can use all the features and applications without having to install Microsoft products.</p>
<p>Read Mac volumes on Windows<br />
Using Boot Camp 3.0, you can open and read files on Mac OS X volumes when booted into Windows. You can also copy photos, documents and other files from a Mac OS X volume into the Windows partition.</p>
<p>My verdict<br />
I have seen a significant performance boost on my Core Duo Mac Mini with 1.5GB of RAM. Especially, Safari, Mail and other core applications run way faster than with Leopard. Viewing PDF documents on Preview is also much smoother than before. Now it is possible to restore any item accidently sent to Trash using &#8220;Take Back&#8221; option.</p>
<p>It should be noted that there are couple of applications still not running properly on Snow Leopard. Check out this <a href="http://snowleopard.wikidot.com/">link</a> for compatibility issues.</p>
<p>I would strongly recommend any one running Leopard on an Intel Mac to upgrade to Snow Leopard. It is worth every penny!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.finiteloops.com/weblog/?feed=rss2&amp;p=193</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Create your own commands using alias</title>
		<link>http://www.finiteloops.com/weblog/?p=182</link>
		<comments>http://www.finiteloops.com/weblog/?p=182#comments</comments>
		<pubDate>Sat, 18 Jul 2009 09:03:05 +0000</pubDate>
		<dc:creator>Waruna</dc:creator>
				<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[Terminal]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://www.finiteloops.com/weblog/?p=182</guid>
		<description><![CDATA[In Unix based operating systems it is quit easily create your own convenient commands using alias. This is particularly helpful when you use certain shell commands in a regular basis. To create alias list you should create or edit ~/.bashrc. Here is how you do it. Open the Terminal.app cd vim .bashrc If the file [...]]]></description>
			<content:encoded><![CDATA[<p>In Unix based operating systems it is quit easily create your own convenient commands using <em>alias</em>. This is particularly helpful when you use certain shell commands in a regular basis. To create 	<em>alias</em><br />
 list you should create or edit ~/.bashrc. Here is how you do it.</p>
<p>Open the Terminal.app</p>
<div class="codecolorer-container bash mac-classic" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><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;">cd</span></div></div>
<div class="codecolorer-container bash mac-classic" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">vim</span> .bashrc</div></div>
<p>If the file exists you can scroll down to the bottom and press i to insert some aliases</p>
<div class="codecolorer-container bash mac-classic" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><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;">alias</span> la = <span style="color: #ff0000;">'ls -al'</span><br />
<span style="color: #7a0874; font-weight: bold;">alias</span> ll = <span style="color: #ff0000;">'ls -l'</span><br />
<span style="color: #7a0874; font-weight: bold;">alias</span> dfile = <span style="color: #ff0000;">'rm -f'</span><br />
<span style="color: #7a0874; font-weight: bold;">alias</span> dfolder = <span style="color: #ff0000;">'rm -rf'</span><br />
<span style="color: #7a0874; font-weight: bold;">alias</span> md = <span style="color: #ff0000;">'mkdir'</span><br />
<span style="color: #7a0874; font-weight: bold;">alias</span> v = <span style="color: #ff0000;">'vim'</span><br />
<span style="color: #7a0874; font-weight: bold;">alias</span> c = <span style="color: #ff0000;">'clear'</span></div></div>
<p>Hit Esc, type :wq and hit Return to exist Vim editor.<br />
The above aliases to be binding, you have to start the Terminal.app</p>
<p>If you want to check the existing aliases, type alias and hit Return.<br />
 You can temporarily deactivate an alias using <em>unalias</em> command.</p>
<p>Eg. <em>unalias la</em> would temporarily deactivate la alias that I previously created.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.finiteloops.com/weblog/?feed=rss2&amp;p=182</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Alternative to multiple tabs in OS X Terminal.app &#8211; screen</title>
		<link>http://www.finiteloops.com/weblog/?p=169</link>
		<comments>http://www.finiteloops.com/weblog/?p=169#comments</comments>
		<pubDate>Thu, 16 Jul 2009 22:14:55 +0000</pubDate>
		<dc:creator>Waruna</dc:creator>
				<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[Terminal]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://www.finiteloops.com/weblog/?p=169</guid>
		<description><![CDATA[Unfortunately, the Terminal.app comes with OS 10.4 doesn&#8217;t have the tab functionality. Most of the Mac users who like to work on several instances of shell without cluttering the desktop use iTerm. However, there is a nother alternative to this called screen. screen is a powerful shell command which lets you open multiple instances of [...]]]></description>
			<content:encoded><![CDATA[<p>Unfortunately, the Terminal.app comes with OS 10.4 doesn&#8217;t have the tab functionality. Most of the Mac users who like to work on several instances of shell without cluttering the desktop use iTerm. However, there is a nother alternative to this called <em>screen</em>. screen is a powerful shell command which lets you open multiple instances of shell in a single window. You can use default keyboard shortcuts to navigate between different instances or you can even define your own.</p>
<p>To make use of the <em>screen</em> command you should first create a configuration file and save it in user directory. Here&#8217;s how.</p>
<li>Open Terminal.app from Applications/Utilities</li>
<li>Type cd and press return</li>
<li>To create a config file using vim editor, type vim .screenrc and press return.</li>
<li>Press i and enter the following text</li>
<div class="codecolorer-container bash mac-classic" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">hardstatus alwayslastline<br />
hardstatus string <span style="color: #ff0000;">'%{= kG}[ %{G}%H %{g}][%= %{=kw}%?%-Lw%?%{r}(%{W}%n*%f%t%?(%u)%?%{r})%{w}%?%+Lw%?%?%= %{g}][%{B}%Y-%m-%d %{W}%c %{g}]'</span><br />
<br />
<span style="color: #c20cb9; font-weight: bold;">screen</span> <span style="color: #660033;">-t</span> shell1&nbsp; &nbsp; <span style="color: #000000;">0</span><br />
<span style="color: #c20cb9; font-weight: bold;">screen</span> <span style="color: #660033;">-t</span> shell2&nbsp; &nbsp; <span style="color: #000000;">1</span><br />
<span style="color: #c20cb9; font-weight: bold;">screen</span> <span style="color: #660033;">-t</span> shell3&nbsp; &nbsp; <span style="color: #000000;">2</span></div></div>
<li>Press escape, type :wq and press return to save the file and return to shell prompt. Restart the Terminal.App to bind the config file. Now when you type screen and press enter it should show you several terminal instances. You can navigate to the next instance by pressing Ctrl + a and n. Some of the common keyboard shortcuts are listed below.</li>
<p><img src="http://www.finiteloops.com/weblog/wp-content/uploads/2009/07/screen.png" alt="screen" title="screen" width="550" height="270" class="alignnone size-full wp-image-170" /></p>
<p>Screen also lets you issue shell commands when executing screen. The standard syntax you should add to the config file looks like,</p>
<div class="codecolorer-container text mac-classic" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">screen -t &lt;screenname&gt; &lt;screenNumber&gt; &lt;shell command&gt;</div></div>
<p>eg.</p>
<div class="codecolorer-container bash mac-classic" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">screen</span> <span style="color: #660033;">-t</span> shell2 <span style="color: #000000;">1</span> <span style="color: #ff0000;">'ps aux'</span></div></div>
<p>As mentioned previously, each keyboard command consists of a C-a followed by one other character. For your convenience, all commands that are bound to lower-case letters are also bound to their control character counterparts (with the exception of C-a a; see below). Thus, both C-a c and C-a C-c can be used to create a window.</p>
<p>The following table shows the default key bindings:</p>
<p><strong>C-a &#8216;<br />
C-a &#8220;</strong><br />
    (select)<br />
    Prompt for a window identifier and switch. See section Selecting a Window. </p>
<p><strong>C-a 0&#8230;9</strong><br />
    (select 0&#8230;select 9)<br />
    Switch to window number 0&#8230;9. See section Selecting a Window. </p>
<p><strong>C-a C-a</strong><br />
    (other)<br />
    Toggle to the window displayed previously. See section Selecting a Window. </p>
<p><strong>C-a a</strong><br />
    (meta)<br />
    Send the command character (C-a) to window. See escape command. See section Command Character. </p>
<p><strong>C-a A</strong><br />
    (title)<br />
    Allow the user to enter a title for the current window. See section Naming Windows (Titles). </p>
<p><strong>C-a b</strong><br />
    itemx C-a C-b (break)<br />
    Send a break to the tty. See section Break. </p>
<p><strong>C-a B</strong><br />
    (pow_break)<br />
    Close and reopen the tty-line. See section Break. </p>
<p><strong>C-a c<br />
C-a C-c</strong><br />
    (screen)<br />
    Create a new window with a shell and switch to that window. See section Screen Command. </p>
<p><strong>C-a C</strong><br />
    (clear)<br />
    Clear the screen. See section Clear.<br />
<strong><br />
C-a d<br />
C-a C-d</strong><br />
    (detach)<br />
    Detach screen from this terminal. See section Detach. </p>
<p><strong>C-a D D</strong><br />
    (pow_detach)<br />
    Detach and logout. See section Power Detach. </p>
<p><strong>C-a f<br />
C-a C-f</strong><br />
    (flow)<br />
    Cycle flow among `on&#8217;, `off&#8217; or `auto&#8217;. See section Flow. </p>
<p><strong>C-a C-g</strong><br />
    (vbell)<br />
    Toggle visual bell mode. See section Bell. </p>
<p><strong>C-a h</strong><br />
    (hardcopy)<br />
    Write a hardcopy of the current window to the file &#8220;hardcopy.n&#8221;. See section hardcopy. </p>
<p><strong>C-a H</strong><br />
    (log)<br />
    Toggle logging of the current window to the file &#8220;screenlog.n&#8221;. See section log. </p>
<p><strong>C-a i<br />
C-a C-i</strong><br />
    (info)<br />
    Show info about the current window. See section Info.<br />
<strong><br />
C-a k<br />
C-a C-k</strong><br />
    (kill)<br />
    Destroy the current window. See section Kill. </p>
<p><strong>C-a l<br />
C-a C-l</strong><br />
    (redisplay)<br />
    Fully refresh the current window. See section Redisplay. </p>
<p><strong>C-a L</strong><br />
    (login)<br />
    Toggle the current window&#8217;s login state. See section Login. </p>
<p><strong>C-a m<br />
C-a C-m</strong><br />
    (lastmsg)<br />
    Repeat the last message displayed in the message line. See section Display Last Message. </p>
<p><strong>C-a M</strong><br />
    (monitor) Toggle monitoring of the current window. See section Monitoring. </p>
<p><strong>C-a SPC<br />
C-a n<br />
C-a C-n</strong><br />
    (next)<br />
    Switch to the next window. See section Selecting a Window. </p>
<p><strong>C-a N</strong><br />
    (number)<br />
    Show the number (and title) of the current window. See section Number. </p>
<p><strong>C-a p<br />
C-a C-p<br />
C-a C-h<br />
C-a BackSpace</strong><br />
    (prev)<br />
    Switch to the previous window (opposite of C-a n). See section Selecting a Window. </p>
<p><strong>C-a q<br />
C-a C-q</strong><br />
    (xon)<br />
    Send a ^Q (ASCII XON) to the current window. See section XON and XOFF. </p>
<p><strong>C-a r<br />
C-a C-r</strong><br />
    (wrap)<br />
    Toggle the current window&#8217;s line-wrap setting (turn the current window&#8217;s automatic margins on or off). See section Wrap. </p>
<p><strong>C-a s<br />
C-a C-s</strong><br />
    (xoff)<br />
    Send a ^S (ASCII XOFF) to the current window. See section XON and XOFF. </p>
<p><strong>C-a t<br />
C-a C-t</strong><br />
    (time)<br />
    Show the load average and xref. See section Time. </p>
<p><strong>C-a v</strong><br />
    (version)<br />
    Display the version and compilation date. See section Version. </p>
<p><strong>C-a C-v</strong><br />
    (digraph)<br />
    Enter digraph. See section Digraph. </p>
<p><strong>C-a w<br />
C-a C-w</strong><br />
    (windows)<br />
    Show a list of active windows. See section Windows. </p>
<p><strong>C-a W</strong><br />
    (width)<br />
    Toggle between 80 and 132 columns. See section Window Size. </p>
<p><strong>C-a x<br />
C-a C-x</strong><br />
    (lockscreen)<br />
    Lock your terminal. See section Lock. </p>
<p><strong>C-a z<br />
C-a C-z</strong><br />
    (suspend)<br />
    Suspend screen. See section Suspend. </p>
<p><strong>C-a Z</strong><br />
    (reset)<br />
    Reset the virtual terminal to its &#8220;power-on&#8221; values. See section Reset. </p>
<p><strong>C-a .</strong><br />
    (dumptermcap)<br />
    Write out a `.termcap&#8217; file. See section Write out the window&#8217;s termcap entry. </p>
<p><strong>C-a ?</strong><br />
    (help)<br />
    Show key bindings. See section Help. </p>
<p><strong>C-a C-\</strong><br />
    (quit)<br />
    Kill all windows and terminate screen. See section Quit. </p>
<p><strong>C-a :</strong><br />
    (colon)<br />
    Enter a command line. See section Colon. </p>
<p><strong>C-a [<br />
C-a C-[<br />
C-a ESC</strong><br />
    (copy)<br />
    Enter copy/scrollback mode. See section Copying. </p>
<p><strong>C-a ]<br />
C-a C-]</strong><br />
    (paste .)<br />
    Write the contents of the paste buffer to the stdin queue of the current window. See section Paste. </p>
<p><strong>C-a {</strong><br />
    (history)<br />
    Copy and paste a previous (command) line. See section History. </p>
<p><strong>C-a ></strong><br />
    (writebuf)<br />
    Write the paste buffer out to the screen-exchange file. See section Screen-Exchange. </p>
<p><strong>C-a <</strong><br />
    (readbuf)<br />
    Read the screen-exchange file into the paste buffer. See section Screen-Exchange. </p>
<p><strong>C-a =</strong><br />
    (removebuf)<br />
    Delete the screen-exchange file. See section Screen-Exchange. </p>
<p><strong>C-a _</strong><br />
    (silence)<br />
    Start/stop monitoring the current window for inactivity. See section Silence, </p>
<p><strong>C-a ,</strong><br />
    (license)<br />
    Show the copyright page.</p>
<p>Have fun!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.finiteloops.com/weblog/?feed=rss2&amp;p=169</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to create a symbolic link</title>
		<link>http://www.finiteloops.com/weblog/?p=160</link>
		<comments>http://www.finiteloops.com/weblog/?p=160#comments</comments>
		<pubDate>Sun, 05 Jul 2009 00:28:42 +0000</pubDate>
		<dc:creator>Waruna</dc:creator>
				<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[Unix]]></category>

		<guid isPermaLink="false">http://www.finiteloops.com/weblog/?p=160</guid>
		<description><![CDATA[Creating a symbolic link is useful when you want to point to an application, a file or folder located in a different location. Usage: ln -s /Original/Folder/Path /Destination/Folder/Path Example: ln -s /Volumes/ExHDD/MyPrograms /Users/John/Desktop/Pro]]></description>
			<content:encoded><![CDATA[<p>Creating a symbolic link is useful when you want to point to an application, a file or folder located in a different location.</p>
<p>Usage:</p>
<div class="codecolorer-container bash mac-classic" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">ln</span> <span style="color: #660033;">-s</span> <span style="color: #000000; font-weight: bold;">/</span>Original<span style="color: #000000; font-weight: bold;">/</span>Folder<span style="color: #000000; font-weight: bold;">/</span>Path <span style="color: #000000; font-weight: bold;">/</span>Destination<span style="color: #000000; font-weight: bold;">/</span>Folder<span style="color: #000000; font-weight: bold;">/</span>Path</div></div>
<p>Example:</p>
<div class="codecolorer-container bash mac-classic" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">ln</span> <span style="color: #660033;">-s</span> <span style="color: #000000; font-weight: bold;">/</span>Volumes<span style="color: #000000; font-weight: bold;">/</span>ExHDD<span style="color: #000000; font-weight: bold;">/</span>MyPrograms <span style="color: #000000; font-weight: bold;">/</span>Users<span style="color: #000000; font-weight: bold;">/</span>John<span style="color: #000000; font-weight: bold;">/</span>Desktop<span style="color: #000000; font-weight: bold;">/</span>Pro</div></div>
]]></content:encoded>
			<wfw:commentRss>http://www.finiteloops.com/weblog/?feed=rss2&amp;p=160</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to access HFS+ formatted HDD from a Windows PC?</title>
		<link>http://www.finiteloops.com/weblog/?p=155</link>
		<comments>http://www.finiteloops.com/weblog/?p=155#comments</comments>
		<pubDate>Sun, 31 May 2009 13:54:34 +0000</pubDate>
		<dc:creator>Waruna</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[HFS+]]></category>
		<category><![CDATA[Vista]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.finiteloops.com/weblog/?p=155</guid>
		<description><![CDATA[There are several ways you can access a Mac HDD from Windows PC. If you have a Mac and a PC you can activate the File Sharing in System Preferences on your Mac and you are ready to go. The Mac should appear under network. You can make the process easier by mapping the network [...]]]></description>
			<content:encoded><![CDATA[<p>There are several ways you can access a Mac HDD from Windows PC. If you have a Mac and a PC you can activate the File Sharing in System Preferences on your Mac and you are ready to go. The Mac should appear under network. You can make the process easier by mapping the network drive.</p>
<p>If you don&#8217;t have access to a Mac but want to connect to a HFS+ formatted HDD, there are two possibilities.</p>
<ol>
	<strong>
<li>Read only access</li>
<p></strong></p>
<p>Download the HFSExplorer from <a href="http://hem.bredband.net/catacombae/hfsx.html">catacombae</a>. To mount the HFS+ partition you should select the &#8220;Run HFSExplorer in Administrator mode&#8221;. As mentioned above this tool can only read.</p>
<p>	<strong>
<li>Read and write access</li>
<p></strong></p>
<p>MacDrive7(MacDrive 8 is coming soon) is a commercial software that can both read and write a HFS+ formatted HDD. You can download a trial version from their <a href="http://www.mediafour.com/products/macdrive/">website</a>.
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.finiteloops.com/weblog/?feed=rss2&amp;p=155</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Synchronize folders using rsync and ssh</title>
		<link>http://www.finiteloops.com/weblog/?p=111</link>
		<comments>http://www.finiteloops.com/weblog/?p=111#comments</comments>
		<pubDate>Wed, 27 May 2009 16:35:10 +0000</pubDate>
		<dc:creator>Waruna</dc:creator>
				<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[Commands]]></category>
		<category><![CDATA[Sync]]></category>
		<category><![CDATA[Terminal]]></category>

		<guid isPermaLink="false">http://www.finiteloops.com/weblog/?p=111</guid>
		<description><![CDATA[Rsync is a fast and extraordinarily versatile file copying tool. It can copy locally, to/from another host over any remote shell, or to/from a remote rsync daemon. It offers a large number of options that control every aspect of its behavior and permit very flexible specification of the set of files to be copied. It [...]]]></description>
			<content:encoded><![CDATA[<blockquote><p>Rsync  is  a  fast and extraordinarily versatile file copying tool.  It can copy locally, to/from another host over any remote shell, or to/from a remote rsync daemon.  It offers a large number  of  options  that  control every  aspect  of its behavior and permit very flexible specification of the set of files to be copied.  It is famous for its delta-transfer algorithm, which reduces the amount of data sent over  the  network  by  sending only the differences between the source files and the existing files in the destination.  Rsync is widely used for backups and mirroring and as an improved copy command for everyday use.</p>
<p>Rsync finds files that need to be transferred using a &#8220;quick check&#8221; algorithm  (by  default)  that  looks  for files  that  have changed in size or in last-modified time.  Any changes in the other preserved attributes (as requested by options) are made on the destination file directly when the quick check indicates that the file&#8217;s  data does not need to be updated.</p></blockquote>
<p>By using combining rsync with ssh it is really easy to securely synchronize folders. </p>
<p>To sync a local folder with a remote folder, use the following command.</p>
<div class="codecolorer-container bash mac-classic" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">rsync <span style="color: #660033;">-avz</span> <span style="color: #660033;">-e</span> <span style="color: #c20cb9; font-weight: bold;">ssh</span> user<span style="color: #000000; font-weight: bold;">@</span>remoteaddress:<span style="color: #000000; font-weight: bold;">/</span>remotepath<span style="color: #000000; font-weight: bold;">/</span> <span style="color: #000000; font-weight: bold;">/</span>localpath</div></div>
<p>Eg.</p>
<div class="codecolorer-container bash mac-classic" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">rsync <span style="color: #660033;">-avz</span> <span style="color: #660033;">-e</span> <span style="color: #c20cb9; font-weight: bold;">ssh</span> me<span style="color: #000000; font-weight: bold;">@</span>remote.com:<span style="color: #000000; font-weight: bold;">/</span>home<span style="color: #000000; font-weight: bold;">/</span>me<span style="color: #000000; font-weight: bold;">/</span>Documents <span style="color: #000000; font-weight: bold;">/</span>User<span style="color: #000000; font-weight: bold;">/</span>john<span style="color: #000000; font-weight: bold;">/</span>Documents</div></div>
]]></content:encoded>
			<wfw:commentRss>http://www.finiteloops.com/weblog/?feed=rss2&amp;p=111</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
