<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-6360691375213332318</id><updated>2011-11-16T02:36:41.590-08:00</updated><category term='friendship'/><category term='Spinchoreographer'/><category term='Mac OS X terminal'/><category term='terminal'/><category term='Relationships'/><category term='Linux'/><category term='Networking'/><category term='Mac OS X'/><category term='Ubuntu'/><category term='Android'/><category term='Trust'/><category term='Linux on MacBook Pro'/><category term='wget'/><category term='Snow Leopard'/><title type='text'>The Spinchoreographer.....</title><subtitle type='html'>I love my brain the way it acts but struggling hard to live with its "id"</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://spinchoreographer.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6360691375213332318/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://spinchoreographer.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>SpinChoreographer</name><uri>http://www.blogger.com/profile/16975267499770145800</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_jh9W-WUhOLI/S95pwE_vMQI/AAAAAAAAAgo/th1Z2V7TG64/S220/BabyTux.png'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>20</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6360691375213332318.post-5413394525040616496</id><published>2011-11-16T02:36:00.000-08:00</published><updated>2011-11-16T02:36:41.612-08:00</updated><title type='text'>Brier Dudley's Blog | Wow: Intel unveils 1 teraflop chip with 50-plus cores | Seattle Times Newspaper</title><content type='html'>&lt;a href="http://seattletimes.nwsource.com/html/technologybrierdudleysblog/2016775145_wow_intel_unveils_1_teraflop_c.html#.TsOSKbl2y-4.blogger"&gt;Brier Dudley's Blog | Wow: Intel unveils 1 teraflop chip with 50-plus cores | Seattle Times Newspaper&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6360691375213332318-5413394525040616496?l=spinchoreographer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://seattletimes.nwsource.com/html/technologybrierdudleysblog/2016775145_wow_intel_unveils_1_teraflop_c.html#.TsOSKbl2y-4.blogger' title='Brier Dudley&apos;s Blog | Wow: Intel unveils 1 teraflop chip with 50-plus cores | Seattle Times Newspaper'/><link rel='replies' type='application/atom+xml' href='http://spinchoreographer.blogspot.com/feeds/5413394525040616496/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://spinchoreographer.blogspot.com/2011/11/brier-dudleys-blog-wow-intel-unveils-1.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6360691375213332318/posts/default/5413394525040616496'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6360691375213332318/posts/default/5413394525040616496'/><link rel='alternate' type='text/html' href='http://spinchoreographer.blogspot.com/2011/11/brier-dudleys-blog-wow-intel-unveils-1.html' title='Brier Dudley&apos;s Blog | Wow: Intel unveils 1 teraflop chip with 50-plus cores | Seattle Times Newspaper'/><author><name>SpinChoreographer</name><uri>http://www.blogger.com/profile/16975267499770145800</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_jh9W-WUhOLI/S95pwE_vMQI/AAAAAAAAAgo/th1Z2V7TG64/S220/BabyTux.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6360691375213332318.post-4521776758903238258</id><published>2011-10-15T23:45:00.000-07:00</published><updated>2011-10-15T23:45:17.258-07:00</updated><title type='text'>Download mp3 from internet!</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;Here is a bash script for downloading mp3 songs (not limited to, but any media file) from internet.&lt;br /&gt;&lt;br /&gt;Save the urls in a &amp;nbsp;.txt file, and copy paste the following script and make sure the script has run permission,&lt;br /&gt;&lt;br /&gt;#!/bin/bash&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;FILENAME=$1&lt;br /&gt;dir=$2&lt;br /&gt;PWD=`pwd`;&lt;br /&gt;&lt;br /&gt;if [ -d "$dir" ]; then&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; echo `wget -b --directory-\prefix\=/Volumes/Mac_One/Music/$dir -o download_$dir.log -i "$PWD/$FILENAME"`;&lt;br /&gt;else&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; mkdir -p "/Volumes/Mac_One/Music/$dir";&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; echo `wget -b --directory-\prefix\=/Volumes/Mac_One/Music/$dir -o download_$dir.log -i "$PWD/$FILENAME"`;&lt;br /&gt;fi&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&amp;gt; download.sh &lt;filename.txt&gt; &lt;target be="" directory="" downloaded="" files="" the="" to="" which="" will=""&gt;&lt;/target&gt;&lt;/filename.txt&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6360691375213332318-4521776758903238258?l=spinchoreographer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://spinchoreographer.blogspot.com/feeds/4521776758903238258/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://spinchoreographer.blogspot.com/2011/10/download-mp3-from-internet.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6360691375213332318/posts/default/4521776758903238258'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6360691375213332318/posts/default/4521776758903238258'/><link rel='alternate' type='text/html' href='http://spinchoreographer.blogspot.com/2011/10/download-mp3-from-internet.html' title='Download mp3 from internet!'/><author><name>SpinChoreographer</name><uri>http://www.blogger.com/profile/16975267499770145800</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_jh9W-WUhOLI/S95pwE_vMQI/AAAAAAAAAgo/th1Z2V7TG64/S220/BabyTux.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6360691375213332318.post-6233147500380196387</id><published>2011-10-15T23:37:00.000-07:00</published><updated>2011-10-15T23:37:20.417-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><category scheme='http://www.blogger.com/atom/ns#' term='Networking'/><title type='text'>MAC Spoofing....</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;Last week, I happened to bluff a license manager program.... This is how I bluffed the manager with a spoofed MAC address....&lt;br /&gt;&lt;br /&gt;In Linux machine,&lt;br /&gt;&lt;br /&gt;&amp;gt; ifconfig eth1 down&lt;br /&gt;&lt;br /&gt;&amp;gt; ifconfig Hwaddr ether &lt;mac_addres&gt; up&lt;/mac_addres&gt;&lt;br /&gt;&lt;br /&gt;&amp;gt; ifconfig eth1 | grep HWaddr&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6360691375213332318-6233147500380196387?l=spinchoreographer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://spinchoreographer.blogspot.com/feeds/6233147500380196387/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://spinchoreographer.blogspot.com/2011/10/mac-spoofing.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6360691375213332318/posts/default/6233147500380196387'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6360691375213332318/posts/default/6233147500380196387'/><link rel='alternate' type='text/html' href='http://spinchoreographer.blogspot.com/2011/10/mac-spoofing.html' title='MAC Spoofing....'/><author><name>SpinChoreographer</name><uri>http://www.blogger.com/profile/16975267499770145800</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_jh9W-WUhOLI/S95pwE_vMQI/AAAAAAAAAgo/th1Z2V7TG64/S220/BabyTux.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6360691375213332318.post-883055334194849977</id><published>2011-10-15T23:23:00.000-07:00</published><updated>2011-10-15T23:23:29.808-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='friendship'/><title type='text'>No Friendship, where there is no equality!</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;Few days back, I read this quote somewhere. If I am not wrong, this is Aristotle's quote. But, nothing struck in my mind then. &lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;He is such a great thinker, otherwise it is not possible to utter something, that would stay alive for eras! Alive, I mean hereby, is true!&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;This afternoon, I was thinking about something, which I am trying to forget!(odd isn't it!). Then suddenly this quote struck in my mind... How true is it!? &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Friendship : Friendship is the comfort, the inexpressible comfort of feeling safe with a person having neither too weigh thoughts nor measure words, but pouring all right out just as they are, chaff and grain together, certain that a faithful friendly hand will take and sift them, keep what is worth keeping and, with a breath of comfort, blow the rest away. (A life for a life - Dinah Mulock Craik).&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;This is the best definition, I could come across, so far. With this foundation, how significant is "equality" for friendship. (Alas, going to be very philosophical!!)&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Equality!?&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;What is means? Equality in terms of what? What are all the factors determine inequality?&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Equality: So far, I only have studied in my mathematics, what is equality! I really never come across equality, in terms of anything, in the real world. In fact, there is no equality exists between any two, except in theory. And the nature (you may name it whatever you may want!) itself doesn't allow any two things to be exactly equal (remember, the Pauli's exclusion principle!!)&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;So, in all the rest of the discussion equality is "absolutely a relative measure!".&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;What is the point in spending time in discussing about it, when it turns up to be relative one?&lt;/div&gt;&lt;div&gt;In science, there is a phenomenon called resonance (Hey!! I am working in Nuclear Magnetic Resonance!!). It is nothing but, when the frequency of two waves becomes equal, the amplitude of the two waves just adds up. So here, the frequency is the one determines the equality, though the waves may not be of same amplitude!&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Let me try to fit this curve in to our real world thing. Just like this, when two persons have same frequency of thoughts and characters, there is a great possibility to be good friends.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;One might ask, what if the waves of same frequency, but anti-phase to each other. In real world issue, I would analogise this to the "ego" of each individual.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;When will two different individuals, who are not kin, would have same kind of thoughts and characters?&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Answer to this question requires a great deal of discussion under the developmental psychology context, which I will discuss sometime later. &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;But for now, broadly and generally, those who brought up under same or at least similar environment, would have a great possibility to think and behave alike.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="color: cyan;"&gt;Equality, if defined by thoughts and characters, which are determined by the developmental psychology which in turn determined by environment and society under which they are brought up, would never brings up a friendship, that holds the aforementioned definition, if the determining factors are different!&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;My ideology is self centred. I like a quote of Mr.Mohandoss Gandhi,&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;"You should be the change that you want to see". &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;I believe, there could not be any better means to understand this, otherwise a self-centric approach. Since, every man constitutes the society, any change in the society should roots form each individual, for it to sustain, otherwise it would not sustain. &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6360691375213332318-883055334194849977?l=spinchoreographer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://spinchoreographer.blogspot.com/feeds/883055334194849977/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://spinchoreographer.blogspot.com/2009/08/no-friendship-where-there-is-no.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6360691375213332318/posts/default/883055334194849977'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6360691375213332318/posts/default/883055334194849977'/><link rel='alternate' type='text/html' href='http://spinchoreographer.blogspot.com/2009/08/no-friendship-where-there-is-no.html' title='No Friendship, where there is no equality!'/><author><name>SpinChoreographer</name><uri>http://www.blogger.com/profile/16975267499770145800</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_jh9W-WUhOLI/S95pwE_vMQI/AAAAAAAAAgo/th1Z2V7TG64/S220/BabyTux.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6360691375213332318.post-3503901783959689725</id><published>2011-07-27T01:09:00.000-07:00</published><updated>2011-07-27T01:09:29.284-07:00</updated><title type='text'>இறை புலம்பல்.</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-tcyuijWkLqg/Ti_Hl3EmqiI/AAAAAAAAAwo/ZeSgevyYb3w/s1600/irai_pulambal.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="212" src="http://4.bp.blogspot.com/-tcyuijWkLqg/Ti_Hl3EmqiI/AAAAAAAAAwo/ZeSgevyYb3w/s320/irai_pulambal.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;பொருளற்ற பொருள் தேடி, பொழுது போக்குகிறேன். மனமும் நனவும் ஓத்திசையாத வாழ்க்கை.. இதை வீண் என்று வேறருப்பதா இல்லை வேலை முக்கியம் என்று விளக்கம் சொல்வதா?&lt;br /&gt;&lt;br /&gt;இருப்புக்கும் விருப்புக்கும் இடையில் அல்லாடும் என்னை ஆட்கொண்டருள்வாய் இறைவனே!&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6360691375213332318-3503901783959689725?l=spinchoreographer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://spinchoreographer.blogspot.com/feeds/3503901783959689725/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://spinchoreographer.blogspot.com/2011/07/blog-post.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6360691375213332318/posts/default/3503901783959689725'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6360691375213332318/posts/default/3503901783959689725'/><link rel='alternate' type='text/html' href='http://spinchoreographer.blogspot.com/2011/07/blog-post.html' title='இறை புலம்பல்.'/><author><name>SpinChoreographer</name><uri>http://www.blogger.com/profile/16975267499770145800</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_jh9W-WUhOLI/S95pwE_vMQI/AAAAAAAAAgo/th1Z2V7TG64/S220/BabyTux.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/-tcyuijWkLqg/Ti_Hl3EmqiI/AAAAAAAAAwo/ZeSgevyYb3w/s72-c/irai_pulambal.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6360691375213332318.post-5870256725814460606</id><published>2011-03-25T22:24:00.000-07:00</published><updated>2011-03-25T22:24:29.078-07:00</updated><title type='text'>Unable to update Snow Leopard 10.6.7</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://lh6.googleusercontent.com/-xgqaRXQez0A/TY14hEOYJkI/AAAAAAAAAu0/vopZEer3Nzo/s1600/update_error.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="199" src="https://lh6.googleusercontent.com/-xgqaRXQez0A/TY14hEOYJkI/AAAAAAAAAu0/vopZEer3Nzo/s320/update_error.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6360691375213332318-5870256725814460606?l=spinchoreographer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://spinchoreographer.blogspot.com/feeds/5870256725814460606/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://spinchoreographer.blogspot.com/2011/03/unable-to-update-snow-leopard-1067.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6360691375213332318/posts/default/5870256725814460606'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6360691375213332318/posts/default/5870256725814460606'/><link rel='alternate' type='text/html' href='http://spinchoreographer.blogspot.com/2011/03/unable-to-update-snow-leopard-1067.html' title='Unable to update Snow Leopard 10.6.7'/><author><name>SpinChoreographer</name><uri>http://www.blogger.com/profile/16975267499770145800</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_jh9W-WUhOLI/S95pwE_vMQI/AAAAAAAAAgo/th1Z2V7TG64/S220/BabyTux.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='https://lh6.googleusercontent.com/-xgqaRXQez0A/TY14hEOYJkI/AAAAAAAAAu0/vopZEer3Nzo/s72-c/update_error.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6360691375213332318.post-8941125105243756887</id><published>2010-09-03T17:26:00.001-07:00</published><updated>2010-09-03T17:26:18.093-07:00</updated><title type='text'>bertrand russell on utilitarian sex 1936</title><content type='html'>&lt;table cellspacing="0" cellpadding="0" border="0"&gt;&lt;tr&gt;&lt;td valign="top" style="font: inherit;"&gt;&lt;p&gt;SEX , MORE THAN any other element in human life, is still viewed by many,&lt;br&gt; perhaps by most , in an irrational way . Homicide , pestilence , insanity , gold&lt;br&gt; and precious stones - all the things, in fact, that are the objects of&lt;br&gt; passionate hopes or fears - have been seen, in the past , through a mist of&lt;br&gt; magic or mythology ; but the sun of reason has now dispelled the mist,&lt;br&gt; except here and there. The densest cloud that remains is in the territory of&lt;br&gt; sex , as is perhaps natural since sex is concerned in the most passionate part&lt;br&gt; of most people ' s lives.&lt;br&gt; It is becoming apparent , however, that conditions in the modern world are&lt;br&gt; working to effect a change in the public attitude toward sex . As to what&lt;br&gt; change , or changes , this will bring about , no one can speak with any&lt;br&gt; certainty ; but it is possible to note some of the forces now at work, and to&lt;br&gt; discuss what their results are likely to be upon the structure of society.&lt;br&gt; Insofar as human nature is concerned , it cannot be said to be impossible to&lt;br&gt; produce a society in which there is very little sexual intercourse outside of&lt;br&gt; marriage . The conditions necessary for this result , however, are such as are&lt;br&gt; made almost unattainable by modern life. Let us , then , consider what they&lt;br&gt; are .&lt;br&gt; The greatest influence toward effecting monogamy is immobility in a region&lt;br&gt; containing few inhabitants . If a man hardly ever has occasion to leave&lt;br&gt; home , and seldom sees any woman but his wife , it is easy for him to be&lt;br&gt; faithful ; but if he travels without her , or lives in a crowded urban&lt;br&gt; community , the problem is proportionately more difficult. The next greatest&lt;br&gt; assistance to monogamy is superstition : those who genuinely believe that&lt;br&gt; ' sin ' leads to eternal punishment might be expected to avoid it , and to&lt;br&gt; some extent they do so , although not to so great an extent as might be&lt;br&gt; expected . The third support of virtue is public opinion. Where , as in&lt;br&gt; agricultural societies , all that a man does is known to his neighbours, he has&lt;br&gt; powerful motives for avoiding whatever convention condemns. But all these&lt;br&gt; causes of correct behaviour are much less potent than they used to be .&lt;br&gt; Fewer people live in isolation ; the belief in hell - fire is dying out ; and in large&lt;br&gt; towns no one knows what his neighbour does . It is, therefore , not surprising&lt;br&gt; that both men and women are less monogamous than they were before the&lt;br&gt; rise of modern industrialism .&lt;br&gt; Of course, it may be said that , while an increasing number of people fail to&lt;br&gt; observe the moral law, that is no reason for altering our standards. Those&lt;br&gt; who sin , we are sometimes told , should know and recognize that they sin ,&lt;br&gt; and an ethical code is none the worse for being difficult to live up to. But I&lt;br&gt; should reply that the question whether a code is good or bad is the same as&lt;br&gt; the question whether or not it promotes human happiness . Many adults, in&lt;br&gt; their hearts , still believe all that they were taught in childhood , and feel&lt;br&gt; wicked when their lives do not conform to the maxims of the Sunday&lt;br&gt; school . The harm done is not merely to introduce a division between the&lt;br&gt; conscious reasonable personality and the unconscious infantile personality;&lt;br&gt; the harm lies also in the fact that the valid parts of conventional morality&lt;br&gt; become discredited along with the invalid parts , and it comes to be thought&lt;br&gt; that , if adultery is excusable, so are laziness , dishonesty , and unkindness.&lt;br&gt; This danger is inseparable from a system which teaches the young , en bloc ,&lt;br&gt; a number of beliefs that they are almost sure to discard when they become&lt;br&gt; mature . In the process of social and economic revolt , they are likely to&lt;br&gt; throw over the good along with the bad.&lt;br&gt; The difficulty of arriving at a workable sexual ethic arises from the conflict&lt;br&gt; between the impulse to jealousy and the impulse to polygamy . There is no&lt;br&gt; doubt that jealousy, while in part instinctive , is to a very large degree&lt;br&gt; conventional . In societies in which a man is considered a fit object for&lt;br&gt; ridicule if his wife is unfaithful , he will be jealous where she is concerned ,&lt;br&gt; even if he no longer has any affection for her . Thus jealousy is intimately&lt;br&gt; connected with the sense of property, and is much less where this sense is&lt;br&gt; absent . If faithfulness is no part of what is conventionally expected , jealousy&lt;br&gt; is much diminished . But although there is more possibility of lessening&lt;br&gt; jealousy than many people suppose , there are very definite limits so long as&lt;br&gt; fathers have rights and duties. So long as this is the case , it is inevitable that&lt;br&gt; men should desire some assurance that they are the fathers of their wives'&lt;br&gt; children . If women are to have sexual freedom, fathers must fade out , and&lt;br&gt; wives must no longer expect to be supported by their husbands. This may&lt;br&gt; come about in time , but it will be a profound social change , and its effects,&lt;br&gt; for good or ill , are incalculable .&lt;br&gt; In the meantime , if marriage and paternity are to survive as social&lt;br&gt; institutions , some compromise is necessary between complete promiscuity&lt;br&gt; and life- long monogamy . To decide on the best compromise at any given&lt;br&gt; moment is not easy; and the decision should vary from time to time ,&lt;br&gt; according to the habits of the population and the reliability of birth - control&lt;br&gt; methods . Some things, however, can be said with some definiteness .&lt;br&gt; In the first place, it is undesirable , both physiologically and educationally,&lt;br&gt; that women should have children before the age of 20. Our ethics should,&lt;br&gt; therefore , be such as to make this a rare occurrence.&lt;br&gt; In the second place , it is unlikely that a person without previous sexual&lt;br&gt; experience , whether man or woman , will be able to distinguish between&lt;br&gt; mere physical attraction and the sort of congeniality that is necessary in&lt;br&gt; order to make marriage a success. Moreover , economic causes compel&lt;br&gt; men , as a rule , to postpone marriage , and it is neither likely that they will&lt;br&gt; remain chaste in the years from 20 to 30, nor desirable psychologically that&lt;br&gt; they should do so ; but it is much better that , if they have temporary&lt;br&gt; relations, that they should be not with professionals , but with girls of their&lt;br&gt; own class , whose motive is affection rather than money. For both these&lt;br&gt; reasons, young unmarried people should have considerable freedom as long&lt;br&gt; as children are avoided .&lt;br&gt; In the third place, divorce should be possible without blame to either party,&lt;br&gt; and should not be regarded as in any way disgraceful . A childless marriage&lt;br&gt; should be terminable at the wish of one of the partners , and any marriage&lt;br&gt; should be terminable by mutual consent - a year' s notice being necessary in&lt;br&gt; either case . Divorce should, of course , be possible on a number of other&lt;br&gt; grounds - insanity , desertion , cruelty , and so on; but mutual consent should&lt;br&gt; be the most usual ground.&lt;br&gt; In the fourth place , everything possible should be done to free sexual&lt;br&gt; relations from the economic taint . At present , wives, just as much as&lt;br&gt; prostitutes , live by the sale of their sexual charms ; and even in temporary&lt;br&gt; free relations the man is usually expected to bear all the joint expenses. The&lt;br&gt; result is that there is a sordid entanglement of money with sex , and that&lt;br&gt; women ' s motives not infrequently have a mercenary element . Sex, even&lt;br&gt; when blessed by the Church, ought not to be a profession. It is right that a&lt;br&gt; woman should be paid for housekeeping or cooking or the care of children,&lt;br&gt; but not merely for having sexual relations with a man . Nor should a woman&lt;br&gt; who has once loved and been loved by a man be able to live ever after on&lt;br&gt; alimony when his love and hers have ceased. A woman , like a man , should&lt;br&gt; work for her living, and an idle wife is no more intrinsically worthy of&lt;br&gt; respect than a gigolo.&lt;br&gt; II&lt;br&gt; Two very primitive impulses have contributed, though in very different&lt;br&gt; degrees , to the rise of the currently accepted code of sexual behaviour . One&lt;br&gt; of these is modesty, and the other , as mentioned above, is jealousy.&lt;br&gt; Modesty , in some form and to some degree, is almost universal in the&lt;br&gt; human race, and constitutes a taboo which must only be broken through in&lt;br&gt; accordance with certain forms and ceremonies , or, at the least, in&lt;br&gt; conformity with some recognized etiquette. Not everything may he seen,&lt;br&gt; and not all facts may be mentioned . This is not , as some moderns suppose ,&lt;br&gt; an invention of the Victorian age ; on the contrary , anthropologists have&lt;br&gt; found the most elaborate forms of prudery among primitive savages. The&lt;br&gt; conception of the obscene has its roots deep in human nature . We may go&lt;br&gt; against it from a love of rebellion , or from loyalty to the scientific spirit , or&lt;br&gt; from a wish to feel wicked, such as existed in Byron ; but we do not thereby&lt;br&gt; eradicate it from among our natural impulses . No doubt convention&lt;br&gt; determines , in a given community , exactly what is to be considered&lt;br&gt; indecent, but the universal existence of some convention of the kind is&lt;br&gt; conclusive evidence of a source which is not merely conventional . In almost&lt;br&gt; every human society, pornography and exhibitionism are reckoned as&lt;br&gt; offences , except when , as not infrequently occurs , they form part of&lt;br&gt; religious ceremonies .&lt;br&gt; Asceticism - which may or may not have a psychological connection with&lt;br&gt; modesty - is an impulse which seems to arise only where a certain level of&lt;br&gt; civilization has been reached, but may then become powerful. It is not to be&lt;br&gt; found in the earlier books of the Old Testament , but it appears in the later&lt;br&gt; books , in the Apocrypha , and in the New Testament . Similarly among the&lt;br&gt; Greeks there is little of it in early times, but more and more as time goes&lt;br&gt; on. In India , it arose at a very early date, and acquired great intensity. I will&lt;br&gt; not attempt to give a psychological analysis of its origin , but I cannot doubt&lt;br&gt; that it is a spontaneous sentiment , existing , to some slight extent, in almost&lt;br&gt; all civilized human beings . Its faintest form is reluctance to imagine a&lt;br&gt; revered individual - especially a person possessed of religious sanctity -&lt;br&gt; engaged in love - making, which is felt to be scarcely compatible with the&lt;br&gt; highest degree of dignity . The wish to free the spirit from bondage to the&lt;br&gt; flesh has inspired many of the great religions of the world , and is still&lt;br&gt; powerful even among modern intellectuals.&lt;br&gt; But jealousy, I believe , has been the most potent single factor in the genesis&lt;br&gt; of sexual morality . Jealousy instinctively rouses anger ; and anger ,&lt;br&gt; rationalized , becomes moral disapproval. The purely instinctive motive must&lt;br&gt; have been reinforced, at an early stage in the development of civilization, by&lt;br&gt; the desire of males to be certain of paternity. Without security in this&lt;br&gt; respect the patriarchal family would have been impossible, and fatherhood,&lt;br&gt; with all its economic implications, could not have become the basis of social&lt;br&gt; institutions . It was , accordingly , wicked to have relations with another man ' s&lt;br&gt; wife , but not even mildly reprehensible to have relations with an unmarried&lt;br&gt; woman . There were excellent practical reasons for condemning the&lt;br&gt; adulterer , since he caused confusion and very likely bloodshed . The siege of&lt;br&gt; Troy was an extreme example of the upheavals due to disrespect for the&lt;br&gt; rights of husbands , but something of the sort , though on a smaller scale,&lt;br&gt; was to be expected even when the parties concerned were less exalted.&lt;br&gt; There were, of course, in those days , no corresponding rights of wives ; a&lt;br&gt; husband had no duty to his wife , though he had the duty of respecting the&lt;br&gt; property of other husbands .&lt;br&gt; The old system of the patriarchal family , with an ethic based on the feelings&lt;br&gt; that we have been considering, was, in a sense , successful: men , who&lt;br&gt; dominated , had considerable liberty , and women , who suffered , were in&lt;br&gt; such complete subjection that their unhappiness seemed not important . It is&lt;br&gt; the claim of women to equality with men that has done most to make a&lt;br&gt; new system necessary in the world today . Equality can be secured in two&lt;br&gt; ways : either by exacting from men the same strict monogamy as was , in&lt;br&gt; the past , exacted from women; or by allowing women , equally with men , a&lt;br&gt; certain relaxation of the traditional code . The first of these ways was&lt;br&gt; preferred by most of the pioneers of women' s rights , and is still preferred&lt;br&gt; by the churches; but the second has many more adherents in practice ,&lt;br&gt; although most of them are in doubt as to the theoretical justifiability of their&lt;br&gt; own behaviour . And those who recognize that some new ethic is required&lt;br&gt; find it difficult to know just what its precepts should be .&lt;br&gt; There is another source of novelty , and that is the effect of the scientific&lt;br&gt; outlook in weakening the taboo on sexual knowledge . It has come to be&lt;br&gt; understood that various evils - for example, venereal disease - cannot be&lt;br&gt; effectively combated unless they are spoken of much more openly than was&lt;br&gt; formerly thought permissible ; and it has also been found that reticence and&lt;br&gt; ignorance are apt to have injurious effects upon the psychology of the&lt;br&gt; individual . Both sociology and psychoanalysis have led serious students to&lt;br&gt; deprecate the policy of silence in regard to sexual matters, and many&lt;br&gt; practical educators , from experience with children , have adopted the same&lt;br&gt; position . Those who have a scientific outlook on human behaviour ,&lt;br&gt; moreover , find it impossible to label any action as ' sin '; they realize that&lt;br&gt; what we do has its origin in our heredity , our education , and our&lt;br&gt; environment , and that it is by control of these causes, rather than by&lt;br&gt; denunciation , that conduct injurious to society is to be prevented .&lt;br&gt; In seeking a new ethic of sexual behaviour , therefore , we must not&lt;br&gt; ourselves be dominated by the ancient irrational passions which gave rise to&lt;br&gt; the old ethic , though we should recognize that they may, by accident , have&lt;br&gt; led to some sound maxims , and that , since they still exist, though perhaps&lt;br&gt; in a weakened form, they are still among the data of our problem . What we&lt;br&gt; have to do positively is to ask ourselves what moral rules are most likely to&lt;br&gt; promote human happiness , remembering always that , whatever the rules&lt;br&gt; may be , they are not likely to be universally observed . That is to say , we&lt;br&gt; have to consider the effect which the rules will in fact have , not that which&lt;br&gt; they would have if they were completely effective .&lt;br&gt; III&lt;br&gt; Let us look next at the question of knowledge on sexual subjects, which&lt;br&gt; arises at the earliest age and is the least difficult and doubtful of the various&lt;br&gt; problems with which we are concerned . There is no sound reason , of any&lt;br&gt; sort or kind , for concealing facts when talking to children . Their questions&lt;br&gt; should be answered and their curiosity satisfied in exactly the same way in&lt;br&gt; regard to sex as in regard to the habits of fishes , or any other subject that&lt;br&gt; interests them . There should be no sentiment , because young children&lt;br&gt; cannot feel as adults do, and see no occasion for high- flown talk . It is a&lt;br&gt; mistake to begin with the loves of the bees and the flowers ; there is no point&lt;br&gt; in leading up to the facts of life by devious routes. The child who is told&lt;br&gt; what he wants to know , and allowed to see his parents naked, will have no&lt;br&gt; pruriency and no obsession of a sexual kind . Boys who are brought up in&lt;br&gt; official ignorance think and talk much more about sex than boys who have&lt;br&gt; always heard this topic treated on a level with any other . Official ignorance&lt;br&gt; and actual knowledge teach them to be deceitful and hypocritical with their&lt;br&gt; elders. On the other hand , real ignorance , when it is achieved , is likely to be&lt;br&gt; a source of shock and anxiety, and to make adaptation to real life difficult.&lt;br&gt; All ignorance is regrettable, but ignorance on so important a matter as sex&lt;br&gt; is a serious danger .&lt;br&gt; When I say that children should be told about sex , I do not mean that they&lt;br&gt; should be told only the bare physiological facts ; they should be told&lt;br&gt; whatever they wish to know . There should be no attempt to represent&lt;br&gt; adults as more virtuous than they are , or sex as occurring only in marriage.&lt;br&gt; There is no excuse for deceiving children. And when , as must happen in&lt;br&gt; conventional families, they find that their parents have lied , they lose&lt;br&gt; confidence in them , and feel justified in lying to them . There are facts which&lt;br&gt; I should not obtrude upon a child , but I would tell him anything sooner&lt;br&gt; than say what is not true. Virtue which is based upon a false view of the&lt;br&gt; facts is not real virtue . Speaking not only from theory , but from practical&lt;br&gt; experience , I am convinced that complete openness on sexual subjects is&lt;br&gt; the best way to prevent children from thinking about them excessively,&lt;br&gt; nastily , or unwholesomely , and also the almost indispensable preliminary to&lt;br&gt; an enlightened sexual morality .&lt;br&gt; Where adult sexual behaviour is concerned , it is by no means easy to arrive&lt;br&gt; at a rational compromise between the antagonistic considerations that have&lt;br&gt; each their own validity. The fundamental difficulty is , of course, the conflict&lt;br&gt; between the impulse to jealousy and the impulse to sexual variety. Neither&lt;br&gt; impulse , it is true , is universal: there are those (though they are few ) who&lt;br&gt; are never jealous, and there are those ( among men as well as among&lt;br&gt; women ) whose affections never wander from the chosen partner . If either&lt;br&gt; of these types could be made universal, it would be easy to devise a&lt;br&gt; satisfactory code . It must be admitted , however, that either type can be&lt;br&gt; made more common by conventions designed to that end.&lt;br&gt; Much ground remains to be covered by a complete sexual ethic , but I do&lt;br&gt; not think we can say anything very positive until we have more experience,&lt;br&gt; both of the effects of various systems and of the changes resulting from a&lt;br&gt; rational education in matters of sex . It is clear that marriage , as an&lt;br&gt; institution , should only interest the State because of children, and should be&lt;br&gt; viewed as a purely private matter so long as it is childless. It is clear , also ,&lt;br&gt; that , even where there are children, the State is only interested through the&lt;br&gt; duties of fathers, which are chiefly financial . Where divorce is easy , as in&lt;br&gt; Scandinavia , the children usually go with the mother , so that the patriarchal&lt;br&gt; family tends to disappear. If , as is increasingly happening where wage -&lt;br&gt; earners are concerned , the State takes over the duties that have hitherto&lt;br&gt; fallen upon fathers, marriage will cease to have any raison d ' &amp;#234;tre , and will&lt;br&gt; probably be no longer customary except among the rich and the religious.&lt;br&gt; In the meantime , it would be well if men and women could remember, in&lt;br&gt; sexual relations, in marriage , and in divorce , to practise the ordinary virtues&lt;br&gt; of tolerance , kindness, truthfulness , and justice. Those who, by conventional&lt;br&gt; standards , are sexually virtuous, too often consider themselves thereby&lt;br&gt; absolved from behaving like decent human beings . Most moralists have&lt;br&gt; been so obsessed by sex that they have laid much too little emphasis on&lt;br&gt; other more socially useful kinds of ethically commendable conduct.&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;/p&gt; &lt;p&gt;Sent from Yahoo! Mail on Android&lt;/p&gt; &lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6360691375213332318-8941125105243756887?l=spinchoreographer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://spinchoreographer.blogspot.com/feeds/8941125105243756887/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://spinchoreographer.blogspot.com/2010/09/bertrand-russell-on-utilitarian-sex.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6360691375213332318/posts/default/8941125105243756887'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6360691375213332318/posts/default/8941125105243756887'/><link rel='alternate' type='text/html' href='http://spinchoreographer.blogspot.com/2010/09/bertrand-russell-on-utilitarian-sex.html' title='bertrand russell on utilitarian sex 1936'/><author><name>SpinChoreographer</name><uri>http://www.blogger.com/profile/16975267499770145800</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_jh9W-WUhOLI/S95pwE_vMQI/AAAAAAAAAgo/th1Z2V7TG64/S220/BabyTux.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6360691375213332318.post-1514562163152343724</id><published>2010-08-23T19:40:00.001-07:00</published><updated>2010-08-23T19:42:33.612-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Spinchoreographer'/><category scheme='http://www.blogger.com/atom/ns#' term='Android'/><title type='text'>testing photo upload!</title><content type='html'>&lt;div class="mobile-photo"&gt;&lt;a href="http://4.bp.blogspot.com/_jh9W-WUhOLI/THMxHBfmNCI/AAAAAAAAAlE/n2t85qZ3meM/s1600/russellbert_63914898-728627.png"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5508800765934056482" src="http://4.bp.blogspot.com/_jh9W-WUhOLI/THMxHBfmNCI/AAAAAAAAAlE/n2t85qZ3meM/s320/russellbert_63914898-728627.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;table border="0" cellpadding="0" cellspacing="0"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="font: inherit;" valign="top"&gt;Mmmm..... becoming an addict &lt;img src="http://l.yimg.com/us.yimg.com/i/mesg/emoticons7/100.gif" /&gt;.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Sent from Yahoo! Mail on Android&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6360691375213332318-1514562163152343724?l=spinchoreographer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://spinchoreographer.blogspot.com/feeds/1514562163152343724/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://spinchoreographer.blogspot.com/2010/08/testing-photo-uploading.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6360691375213332318/posts/default/1514562163152343724'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6360691375213332318/posts/default/1514562163152343724'/><link rel='alternate' type='text/html' href='http://spinchoreographer.blogspot.com/2010/08/testing-photo-uploading.html' title='testing photo upload!'/><author><name>SpinChoreographer</name><uri>http://www.blogger.com/profile/16975267499770145800</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_jh9W-WUhOLI/S95pwE_vMQI/AAAAAAAAAgo/th1Z2V7TG64/S220/BabyTux.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_jh9W-WUhOLI/THMxHBfmNCI/AAAAAAAAAlE/n2t85qZ3meM/s72-c/russellbert_63914898-728627.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6360691375213332318.post-6781271372374496524</id><published>2010-08-23T19:37:00.001-07:00</published><updated>2010-08-23T19:42:17.931-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Spinchoreographer'/><category scheme='http://www.blogger.com/atom/ns#' term='Android'/><title type='text'>a test blog post from my android powered smartphone!</title><content type='html'>&lt;table border="0" cellpadding="0" cellspacing="0"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="font: inherit;" valign="top"&gt;Hello.....&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Sent from Yahoo! Mail on Android&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6360691375213332318-6781271372374496524?l=spinchoreographer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://spinchoreographer.blogspot.com/feeds/6781271372374496524/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://spinchoreographer.blogspot.com/2010/08/test-blog-post-from-my-android-powered.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6360691375213332318/posts/default/6781271372374496524'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6360691375213332318/posts/default/6781271372374496524'/><link rel='alternate' type='text/html' href='http://spinchoreographer.blogspot.com/2010/08/test-blog-post-from-my-android-powered.html' title='a test blog post from my android powered smartphone!'/><author><name>SpinChoreographer</name><uri>http://www.blogger.com/profile/16975267499770145800</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_jh9W-WUhOLI/S95pwE_vMQI/AAAAAAAAAgo/th1Z2V7TG64/S220/BabyTux.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6360691375213332318.post-7630229336780472148</id><published>2010-05-11T23:31:00.000-07:00</published><updated>2010-05-13T01:43:55.420-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Mac OS X'/><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu'/><title type='text'>Will Mac OS X be hunted down!!</title><content type='html'>Recently, I read a nice review &lt;a href="http://www.linux-mag.com/id/7740/2/"&gt;article&lt;/a&gt; on Ubuntu's latest release 10.04.... Looks good in appearance and packed with real new applications (movie editor, online music store similar to iTunes!!). Virtually, the comparison was made between Mac OS X and Ubuntu-10.04. At the end of the article, no wonder even a hardcore Mac lover might want to date with Ubuntu, at least once!...&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;What makes Ubuntu to leap forward Mac OS X. Undoubtedly, is its hardware independence.... With the comnnunity support, Ubuntu over takes Mac OS X...&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;Who is gonno dominate? Cat or Tiger!! (Same family alas!!!)&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_jh9W-WUhOLI/S-pKbRyfBfI/AAAAAAAAAhs/rhO1kD5vEo8/s1600/lucid_lynx.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://1.bp.blogspot.com/_jh9W-WUhOLI/S-pKbRyfBfI/AAAAAAAAAhs/rhO1kD5vEo8/s320/lucid_lynx.jpg" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_jh9W-WUhOLI/S-pKiRiwtjI/AAAAAAAAAh0/Kmu0q4utgJ4/s1600/Mac_Snow_Leopard.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" src="http://2.bp.blogspot.com/_jh9W-WUhOLI/S-pKiRiwtjI/AAAAAAAAAh0/Kmu0q4utgJ4/s320/Mac_Snow_Leopard.jpg" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;Vs &amp;nbsp;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6360691375213332318-7630229336780472148?l=spinchoreographer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://spinchoreographer.blogspot.com/feeds/7630229336780472148/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://spinchoreographer.blogspot.com/2010/05/will-mac-os-x-be-hunted-down.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6360691375213332318/posts/default/7630229336780472148'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6360691375213332318/posts/default/7630229336780472148'/><link rel='alternate' type='text/html' href='http://spinchoreographer.blogspot.com/2010/05/will-mac-os-x-be-hunted-down.html' title='Will Mac OS X be hunted down!!'/><author><name>SpinChoreographer</name><uri>http://www.blogger.com/profile/16975267499770145800</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_jh9W-WUhOLI/S95pwE_vMQI/AAAAAAAAAgo/th1Z2V7TG64/S220/BabyTux.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_jh9W-WUhOLI/S-pKbRyfBfI/AAAAAAAAAhs/rhO1kD5vEo8/s72-c/lucid_lynx.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6360691375213332318.post-2555156147909658969</id><published>2010-05-03T22:15:00.000-07:00</published><updated>2010-05-13T01:43:15.527-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Mac OS X'/><title type='text'>How to find an application is 32 bit or 64 bit in Mac before installing!</title><content type='html'>&lt;a href="http://3.bp.blogspot.com/_jh9W-WUhOLI/S9-xKIGdtvI/AAAAAAAAAhI/-4LY4XlnaR8/s1600/scrnsht.png" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5467283260182476530" src="http://3.bp.blogspot.com/_jh9W-WUhOLI/S9-xKIGdtvI/AAAAAAAAAhI/-4LY4XlnaR8/s320/scrnsht.png" style="cursor: hand; cursor: pointer; float: right; height: 208px; margin: 0 0 10px 10px; width: 320px;" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;A trivial job though, for geeks... but for some it might help.....&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;Download the application, you wish to check and install....&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;All the Mac installation images comes with .dmg file extension....&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;open the terminal application and do the following,&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&amp;gt; open &lt;application_name&gt;.dmg (opens the the disk image and attaches as a file system!)&lt;/application_name&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&amp;gt;df -H (Checks the attached and mounted file system images; find the path here!)&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&amp;gt; cd &lt;path_to_the_mounted_disk_image&gt; (This is will bring you the mounted application disk image!)&lt;/path_to_the_mounted_disk_image&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&amp;gt; cd &lt;application_name&gt;.app/Contents/MacOS (This is the standard filesystem structure in any (application)disk image)&lt;/application_name&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&amp;gt; file &lt;binary_name&gt;&lt;/binary_name&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;reading the output you can find the application is for 32bit or 64bit....&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;i386 = 32 bit application&lt;/div&gt;&lt;div style="text-align: justify;"&gt;x86_64 = 64 bit application&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6360691375213332318-2555156147909658969?l=spinchoreographer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://spinchoreographer.blogspot.com/feeds/2555156147909658969/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://spinchoreographer.blogspot.com/2010/05/finding-application-is-32-bit-or-64-bit.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6360691375213332318/posts/default/2555156147909658969'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6360691375213332318/posts/default/2555156147909658969'/><link rel='alternate' type='text/html' href='http://spinchoreographer.blogspot.com/2010/05/finding-application-is-32-bit-or-64-bit.html' title='How to find an application is 32 bit or 64 bit in Mac before installing!'/><author><name>SpinChoreographer</name><uri>http://www.blogger.com/profile/16975267499770145800</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_jh9W-WUhOLI/S95pwE_vMQI/AAAAAAAAAgo/th1Z2V7TG64/S220/BabyTux.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_jh9W-WUhOLI/S9-xKIGdtvI/AAAAAAAAAhI/-4LY4XlnaR8/s72-c/scrnsht.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6360691375213332318.post-2525838107459775619</id><published>2010-01-01T06:37:00.000-08:00</published><updated>2010-05-02T21:19:47.723-07:00</updated><title type='text'>Resetting admin password without Install disk</title><content type='html'>&lt;div style="text-align: justify;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_jh9W-WUhOLI/Sz4Pm5pomXI/AAAAAAAAAcM/hMPD0kLnNWQ/s1600-h/machack.jpg"&gt;&lt;img style="float: right; margin: 0pt 0pt 10px 10px; cursor: pointer; width: 400px; height: 265px;" src="http://4.bp.blogspot.com/_jh9W-WUhOLI/Sz4Pm5pomXI/AAAAAAAAAcM/hMPD0kLnNWQ/s400/machack.jpg" alt="" id="BLOGGER_PHOTO_ID_5421788162385549682" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;Yesterday, I changed my admin password in my MBP.&lt;div style="text-align: justify;"&gt;&lt;br /&gt;And today, I ran into problem; I forgot my password :)&lt;br /&gt;I do not carry my Install disk. So here goes a trick to reset your admin password.&lt;br /&gt;Reboot your machine.&lt;br /&gt;While booting, press and hold down Command+s until you get the prompt.&lt;br /&gt;Upon receiving command prompt, do the following,&lt;br /&gt;&gt;&gt; mount -uw /&lt;br /&gt;&gt;&gt;rm /var/db/.AppleSetupDone&lt;br /&gt;&gt;&gt;shutdown -h now&lt;br /&gt;Boot the machine by pressing the power button. Mac will boot, as if it has been powered up for the first time!&lt;br /&gt;you will be guided through initial set up and registration for admin account.&lt;br /&gt;Once inside the new admin account, go to System Preferences&gt;Accounts and change the password for the admin account which you have lost or forgot.&lt;br /&gt;Upon rebooting, everything should go fine, sometimes you may be hindered by Keychain password, if you have set your keychain password by your lost login password, in which case reset your keychian password by going into Applications/Utilities/Keychain access.app&gt;Preferences&gt;General and click Reset my Keychain.&lt;br /&gt;And that is it. you are ready to go!.&lt;br /&gt;I feel Mac is more insecure in terms of hack attack. Since anyone, who has an Install disk can get in to your Mac (by following this trick, Install disk is not even required), even you have opted all the protective measures offered by Apple.&lt;br /&gt;I would appreciate, if someone would post me any alternative to BIOS password in PCs in Mac!. I can efficiently avoid the physical hacking!&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6360691375213332318-2525838107459775619?l=spinchoreographer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://spinchoreographer.blogspot.com/feeds/2525838107459775619/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://spinchoreographer.blogspot.com/2010/01/resetting-admin-password-without.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6360691375213332318/posts/default/2525838107459775619'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6360691375213332318/posts/default/2525838107459775619'/><link rel='alternate' type='text/html' href='http://spinchoreographer.blogspot.com/2010/01/resetting-admin-password-without.html' title='Resetting admin password without Install disk'/><author><name>SpinChoreographer</name><uri>http://www.blogger.com/profile/16975267499770145800</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_jh9W-WUhOLI/S95pwE_vMQI/AAAAAAAAAgo/th1Z2V7TG64/S220/BabyTux.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_jh9W-WUhOLI/Sz4Pm5pomXI/AAAAAAAAAcM/hMPD0kLnNWQ/s72-c/machack.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6360691375213332318.post-4437794586101048507</id><published>2009-08-24T06:41:00.000-07:00</published><updated>2010-05-02T21:20:07.649-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Snow Leopard'/><title type='text'>Followup: Linux on MacBook Pro Unibody</title><content type='html'>&lt;div style="text-align: justify;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_jh9W-WUhOLI/SpKfB1VWmaI/AAAAAAAAAas/fBxHXLayN4k/s1600-h/snow_leopard.jpg"&gt;&lt;img style="float: left; margin: 0pt 10px 10px 0pt; cursor: pointer; width: 400px; height: 226px;" src="http://2.bp.blogspot.com/_jh9W-WUhOLI/SpKfB1VWmaI/AAAAAAAAAas/fBxHXLayN4k/s400/snow_leopard.jpg" alt="" id="BLOGGER_PHOTO_ID_5373532159251749282" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;After successful installation of gentoo on my MacBook Pro, now I decided to go again with full disk OS X. The major reason is, heat the nVidia GeForce 9600 produces. Temperature starts from 65 deg, after normal start up, goes upto 98 degs, once I started running programs..... Since, my programs require lots of computation and power, as I mentioned earlier, I cannot avoid this heating issue and I am afraid of damaging my hardware. But, the question hanging before me is, why the graphics card temperature is going up, I am not running any graphics intensive application!&lt;/div&gt;&lt;br /&gt;Anyway, happy news is, Snow Leopard is releasing this friday (28th Aug), before the expected date of Sep 19th. I will go with that, since the kernel is 64 bit and it is meant for Intel Macs and also, it does not bloat the installation space!&lt;br /&gt;Welcome Snow Leopard!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6360691375213332318-4437794586101048507?l=spinchoreographer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://spinchoreographer.blogspot.com/feeds/4437794586101048507/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://spinchoreographer.blogspot.com/2009/08/followup-linux-on-macbook-pro-unibody.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6360691375213332318/posts/default/4437794586101048507'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6360691375213332318/posts/default/4437794586101048507'/><link rel='alternate' type='text/html' href='http://spinchoreographer.blogspot.com/2009/08/followup-linux-on-macbook-pro-unibody.html' title='Followup: Linux on MacBook Pro Unibody'/><author><name>SpinChoreographer</name><uri>http://www.blogger.com/profile/16975267499770145800</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_jh9W-WUhOLI/S95pwE_vMQI/AAAAAAAAAgo/th1Z2V7TG64/S220/BabyTux.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_jh9W-WUhOLI/SpKfB1VWmaI/AAAAAAAAAas/fBxHXLayN4k/s72-c/snow_leopard.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6360691375213332318.post-8949398651407294123</id><published>2009-08-14T10:02:00.000-07:00</published><updated>2010-05-02T21:20:29.820-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux on MacBook Pro'/><title type='text'>Linux on MacBook Pro (Late 2008) - Unibody</title><content type='html'>Many UNIX users might want to have linux alongside Mac OS X to enjoy the complete freedom and some, like me, would like to make use of the full hardware power of MacBook Pro without paying some extra ransom to Apple!!&lt;div style="text-align: justify;"&gt;&lt;br /&gt;As Mac OS X being a UNIX platform, it offers a almost rock solid OS. But, the sad news for those who are considering to move from Linux is that, no freedom as in terms of source code and customizability is nowhere can be compared with Linux.&lt;br /&gt;As one might see, Leopard is, in reality, a 32 bit operating system which runs in a 64 bit architecture (using an emulator). That is how, it could able to run in Intel's core 2 duo processor.&lt;br /&gt;Having linux alongside Mac OS X is really a very useful stuff for people like me, who runs intensive simulations and number crunching programs. On the other side, despite GNU open source programs are available for Mac platform, usually, does not matches with the latest release of the same for Linux one. This intrigues, any geek, to go for Linux.&lt;br /&gt;Installing Linux on Mac: Choice of the Linux flavour!&lt;br /&gt;As one might say, if Linux is considered as an ice-cream, there comes a vast many flavours of it. Which one to choose, as Apple's MBPs packed with the industries cutting edge technologies!&lt;br /&gt;In my perspective (I wanted to have Linux in my MBP to run quantum mechanical (GAMESS),  molecular mechanical (GROMACS, NAMD...) and some of my own programs) any Linux distro that could enable me to optimize it to run my programs as much faster would be much sought. While considering Linux distros, one, should not only pay attention to eye candy stuff and multimedia stuff rich Linux distros, assuming installing Linux in Mac for mere computer intensive simulation purposes and not for any other purpose. Another main thing is, good number of community users, using the same in MBP or atleast MB... It is just to make you feel comfortable as you have support from other users.&lt;br /&gt;Why Gentoo?&lt;br /&gt;I have been using Linux, way back since 2005. And, have some experience with Debian (Kubuntu, Ubuntu, Lenny) and RedHat (Fedora, CentOS, RHEL4) lineages. All these are major linux distros these days and many might well aware of these... But, when I started my search for a suitable distro for a MBP, I came across &lt;a href="http://www.gentoo.org/"&gt;Gentoo&lt;/a&gt;, which offers customizability starting from its core. It is a metadistribution, that could ultimately can manifested as a secured server, desktop or laptop distro. Another thing I considered is, the user group. As I was safariying!! thorough net, I have found many of those who has a Linux distro on their  Mac Notebook is Gentoo... (equally ubuntu, as one might debate!). And comes portage, an excellent (so far I have not seen any such package management, offers you such an avenue for customizability) package management system.&lt;br /&gt;Installation:&lt;br /&gt;Before any trial or new attempt, Sincere suggestion is that, back your system up completely. I had to wipe my whole partition, since I already had 4 primary partitions and all were used by Leopard. The reason is that, rEFI, does not support anything more than 4 primary partitions. The reason is something to do with much techy about GPT and MBR. Will get back to it later.&lt;br /&gt;So, I decided to have Leopard in just one partition and have two partitions for Linux and one is for rEFI, which is must, and should be the first primary partition. Download and install&lt;a href="http://refit.sourceforge.net/"&gt;rEFIt&lt;/a&gt;, the latest available version. In my case, what I did is, I first wiped my hard drive completely and then partitioned using Mac's disk utility, suitable for my needs. Here, an important thing is that, while partition and format the disk in which Linux is planned to be installed should be formatted in DOS format and not HFS or HFS (journaled).&lt;br /&gt;Remember your partition format and ready for the take off. Most of the installation steps are to be followed straightaway from Gentoo linux manual, as it differs slightly in installing and configuring grub and some extra hardware like iSight camera... sound daemon... But, anyway, it is advisable to read the manual completely once are twice before starting the installation process.&lt;br /&gt;I have used &lt;a href="ftp://ftp.rrzn.uni-hannover.de/pub/mirror/linux/ubuntu-releases/jaunty/ubuntu-9.04-desktop-amd64.iso"&gt;Ubuntu-9.04&lt;/a&gt; amd64 kernel, for my install. I have a working ethernet connection at my home. So things were little easy in installing gentoo...&lt;br /&gt;Once liveCD is ready, boot the MBP using liveCD. hold down the "c" button when MBP boots. after initial setup, will have ubuntu desktop. Open the terminal, and type the following,&lt;br /&gt;&gt; sudo su -&lt;br /&gt;&gt; mkdir -p /mnt/gentoo&lt;br /&gt;&gt;mount /dev/sdaX /mnt/gentoo&lt;br /&gt;Here is little different for those want to have Linux in just one partition. I have a separate home partition and / partition, where the /boot partition lies...&lt;br /&gt;Then, install stage as it is mentioned in Gentoo manual, otherwise one could follow these steps,&lt;br /&gt;&gt; wget http://gentoo.osuosl.org/release/amd64/2008.0/stages/stage3-amd64-2008.0.tar.bz2&lt;br /&gt;One could use any other mirror as well.&lt;br /&gt;&gt; tar -xvjf stage3-amd64-2008.0.tar.bz2&lt;br /&gt;&gt; cp /etc/resplv.conf /mnt/gentoo/etc&lt;br /&gt;Remember you have just mounted your partition under ubuntu...&lt;br /&gt;Now,&lt;br /&gt;&gt; mount -t proc proc /mnt/gentoo/proc&lt;br /&gt;&gt; chroot /mnt/gentoo&lt;br /&gt;Now you are in the gentoo environment as root!!&lt;br /&gt;&gt; emerge --sync&lt;br /&gt;This might take a while depending on your internet connection speed.&lt;br /&gt;Downlaod the kernel as follows,&lt;br /&gt;&gt;emerge grub &gt;=vanilla-sources-2.6.30-rc4 dhcpcd&lt;br /&gt;This installs the kernel sources in /usr/src/linux under your chrooted environment.&lt;br /&gt;Hereon you can follow the gentoo installation manual for setting up fstab file and password for the root user. Failing this you might not be able to boot in to gentoo!&lt;br /&gt;Kernel configuration&lt;br /&gt;The followings are the important things to remember while you compile the kernel.&lt;br /&gt;1. Enable MTRR device support (for nVidia chips)&lt;br /&gt;2.Disable nVidia framebuffer support and nVdia riva support&lt;br /&gt;3.Enable Broadcom BCM4322 802.11 a/b/g/n wireless support&lt;br /&gt;4.Enable I2C/DDC (helps in obtaining widescreen information for X11&lt;br /&gt;5.Enable applemouse toucpad and ps2 as well.&lt;br /&gt;If anybody needs my .config file drop me your mail id.&lt;br /&gt;Short note on kernel compilation&lt;br /&gt;&gt; make menuconfig&lt;br /&gt;After choosing your options and saving&lt;br /&gt;&gt; make &amp;amp;&amp;amp; make modules_install&lt;br /&gt;here I would suggest to pay attention to gentoo manual,a s it explains about alternative method of compilation.&lt;br /&gt;Now install grub.&lt;br /&gt;&gt; emerge grub&lt;br /&gt;&gt; grub install /dev/sdaX   Where you decided to install grub.&lt;br /&gt;cp the compiled kernel to the /boot directory and edit your grub.conf&lt;br /&gt;Add the following line, as the bootparameter.&lt;br /&gt;video=1440x900@70-32:uvesafb:mtrr:3:ywrap.&lt;br /&gt;Once you could boot, then you are done!!&lt;br /&gt;Configure the system how you want it to be and Enjoy Linux on MacBook Pro!!&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;Here is my screen-shot.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_jh9W-WUhOLI/SoeoqUQUiFI/AAAAAAAAAaM/kY_cj31XvpE/s1600-h/screenshot.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 250px;" src="http://3.bp.blogspot.com/_jh9W-WUhOLI/SoeoqUQUiFI/AAAAAAAAAaM/kY_cj31XvpE/s400/screenshot.png" alt="" id="BLOGGER_PHOTO_ID_5370446525607741522" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;I will keep updating this post, as I go further!!&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6360691375213332318-8949398651407294123?l=spinchoreographer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://spinchoreographer.blogspot.com/feeds/8949398651407294123/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://spinchoreographer.blogspot.com/2009/08/gentoo-on-macbook-pro-51-unibody.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6360691375213332318/posts/default/8949398651407294123'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6360691375213332318/posts/default/8949398651407294123'/><link rel='alternate' type='text/html' href='http://spinchoreographer.blogspot.com/2009/08/gentoo-on-macbook-pro-51-unibody.html' title='Linux on MacBook Pro (Late 2008) - Unibody'/><author><name>SpinChoreographer</name><uri>http://www.blogger.com/profile/16975267499770145800</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_jh9W-WUhOLI/S95pwE_vMQI/AAAAAAAAAgo/th1Z2V7TG64/S220/BabyTux.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_jh9W-WUhOLI/SoeoqUQUiFI/AAAAAAAAAaM/kY_cj31XvpE/s72-c/screenshot.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6360691375213332318.post-8802256273110897133</id><published>2009-08-14T03:05:00.000-07:00</published><updated>2010-05-02T21:20:56.111-07:00</updated><title type='text'>Applications install DVD Mac OS X 10.5.6</title><content type='html'>Last week I wiped my MBP (Gen 5,1) and installed Linux alongside Mac OSX. Since, Last night, I was configuring my linux installation. My intention is to utilize the harnessing computing power of MBP at its most, rather than simply sticking on to Leopard, which does uses only half of the capacity of MBP. I didn't pay much attention to wifi, audio.... Despite this, I could able to manage graphics (using nividia drivers) and isight (v4l2 drivers) and touchpad..(still tab is not working, I am clicking the touchpad to perform any action)... But for me, important is its number crunching capacity.... and eventual utilization of its maximum computing power. There is a separate blog on this later.&lt;div style="text-align: justify;"&gt;&lt;br /&gt;After all these, I decided to restore my Leopard back to its partition. I installed the Leopard, updated to the latest update (10.5.8, Safari, iTunes.....).&lt;br /&gt;I got trouble, when I tried to install garageband, iWeb. iPhoto.... from Applications install DVD. Miserably, it failed when it tried to install garageband loops and prompted me with the following error message and suggestion.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_jh9W-WUhOLI/SoU6MWGKcOI/AAAAAAAAAZ8/Fe5YiRGWAAs/s1600-h/install_disc_fails.png"&gt;&lt;img style="display: block; margin: 0px auto 10px; text-align: center; cursor: pointer; width: 320px; height: 227px;" src="http://3.bp.blogspot.com/_jh9W-WUhOLI/SoU6MWGKcOI/AAAAAAAAAZ8/Fe5YiRGWAAs/s320/install_disc_fails.png" alt="" id="BLOGGER_PHOTO_ID_5369762114473455842" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I would really appreciate anyone could help me out with this. Would Apple, replace my Applications install DVD.&lt;br /&gt;Upon visual examination, I could see some circular scratches in the DVD. I am sure, I was keeping the disc safe, and I had no such scratches before I insert it into the DVD drive. I believe, this should have been caused by the DVD drive only and not by any external means. I am waiting to see the Apple's reply!! Keeping my fingers crossed.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6360691375213332318-8802256273110897133?l=spinchoreographer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://spinchoreographer.blogspot.com/feeds/8802256273110897133/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://spinchoreographer.blogspot.com/2009/08/applications-install-dvd-mac-os-x-1056.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6360691375213332318/posts/default/8802256273110897133'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6360691375213332318/posts/default/8802256273110897133'/><link rel='alternate' type='text/html' href='http://spinchoreographer.blogspot.com/2009/08/applications-install-dvd-mac-os-x-1056.html' title='Applications install DVD Mac OS X 10.5.6'/><author><name>SpinChoreographer</name><uri>http://www.blogger.com/profile/16975267499770145800</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_jh9W-WUhOLI/S95pwE_vMQI/AAAAAAAAAgo/th1Z2V7TG64/S220/BabyTux.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_jh9W-WUhOLI/SoU6MWGKcOI/AAAAAAAAAZ8/Fe5YiRGWAAs/s72-c/install_disc_fails.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6360691375213332318.post-897497828058140876</id><published>2009-08-07T18:06:00.000-07:00</published><updated>2010-07-26T07:58:43.560-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='terminal'/><category scheme='http://www.blogger.com/atom/ns#' term='Mac OS X'/><title type='text'>Terminal Shortcuts in Mac OS X</title><content type='html'>In UNIX,&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;"Where there is a terminal, there is a way!"&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Here goes some, shortcuts (keyboard) for working with terminal.app.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Command+N&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;       &lt;/span&gt;-&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;New terminal&lt;/div&gt;&lt;div&gt;Command+T&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;       &lt;/span&gt;-&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;New Tab in the present active terminal&lt;/div&gt;&lt;div&gt;Command+Left Arrow/Right Arrow&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;-&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;Switching between different terminal windows,&lt;/div&gt;&lt;div&gt;Command+Shift+Left/Right Arrow&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;  &lt;/span&gt;-&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;Switch between tabs in a terminal window&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Ctl+A&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;        &lt;/span&gt;-&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;Moves the cursor to the beginning of the line&lt;/div&gt;&lt;div&gt;Ctl+E&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;        &lt;/span&gt;-&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;Moves the cursor to the end of the line&lt;/div&gt;&lt;div&gt;Ctl+U&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;        &lt;/span&gt;-&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;Erase the line before the cursor point&lt;/div&gt;&lt;div&gt;Ctl+R&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;        &lt;/span&gt;-&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;Search the list of commands incrementally based&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;          &lt;/span&gt;on what you type&lt;/div&gt;&lt;div&gt;Esc+F&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;        &lt;/span&gt;-&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;Move the cursor to the beginning of the next word&lt;/div&gt;&lt;div&gt;Esc+B&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;        &lt;/span&gt;-&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;Move the cursor to the beginning of the current&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;          &lt;/span&gt;word&lt;/div&gt;&lt;div&gt;Esc+D&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;        &lt;/span&gt;-&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;Erase the following word from the present cursor&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;          &lt;/span&gt;point&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6360691375213332318-897497828058140876?l=spinchoreographer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://spinchoreographer.blogspot.com/feeds/897497828058140876/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://spinchoreographer.blogspot.com/2009/08/terminal-shortcuts-in-mac-os-x.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6360691375213332318/posts/default/897497828058140876'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6360691375213332318/posts/default/897497828058140876'/><link rel='alternate' type='text/html' href='http://spinchoreographer.blogspot.com/2009/08/terminal-shortcuts-in-mac-os-x.html' title='Terminal Shortcuts in Mac OS X'/><author><name>SpinChoreographer</name><uri>http://www.blogger.com/profile/16975267499770145800</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_jh9W-WUhOLI/S95pwE_vMQI/AAAAAAAAAgo/th1Z2V7TG64/S220/BabyTux.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6360691375213332318.post-2262941987584680779</id><published>2009-08-01T05:01:00.000-07:00</published><updated>2010-07-13T21:29:22.935-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Mac OS X terminal'/><title type='text'>Customizing Terminal command prompt</title><content type='html'>&lt;div style="text-align: justify;"&gt;The power of UNIX operating systems, is it's terminal or in other words, command line interfaces.&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;These interfaces, operates as interpreters, that interprets the human readable text inputs in to a language the, underlying kernel (OS) can understand and perform the task, what it has been asked to do by the user through the kernel.&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;UNIX and Linux has always been criticised as not being user friendly, because they lacks, eye candy GUI (Graphical User Interface). But, the real power of UNIX is its command line interfaces (CLI).&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;Shell is what, the CLI. There are many shells available and each has its own pro's and con's and own community of users. What is going to be discussed here is, bash shell.&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;Bash - the default shell in UNIX-7. Since, then it is the default shell in many Unix and Linux variants.&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;Shells can broadly be classified into, two big families,&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;ol&gt;&lt;li style="text-align: justify;"&gt;Bash shell family. &lt;/li&gt;&lt;li style="text-align: justify;"&gt;C shell family.&lt;/li&gt;&lt;/ol&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;The default shell in Macintosh 10.5 is bash, though Macintosh ships with ksh, tcsh, zsh...&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;A shell can be said to be either interactive or non-interactive. Interactive shell is the one, which needs input from the user. Once, it completes the task, it waits for the next user input.&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;Open the terminal in your system and type the following in your terminal command prompt, &lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&amp;gt; whoami&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&amp;gt; date&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;Once "whoami", it will spit out your username in that particular system. It will prompt you the command prompt, as shown in the following,&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;a href="http://1.bp.blogspot.com/_jh9W-WUhOLI/SnWabZ2gnHI/AAAAAAAAAZs/0pUjbSKWBhg/s1600-h/term_who.png" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5365364326668475506" src="http://1.bp.blogspot.com/_jh9W-WUhOLI/SnWabZ2gnHI/AAAAAAAAAZs/0pUjbSKWBhg/s320/term_who.png" style="cursor: pointer; float: left; height: 202px; margin-bottom: 10px; margin-left: 0px; margin-right: 10px; margin-top: 0px; text-align: justify; width: 320px;" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;Until the next command, shell will be idle. Upon typing the next command, will show the date and time.&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;This is interactive shell, where it needs input form the user. This is what most unix users interacts with most of the times.&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;Non-interactive shell, doesn't wait for the user input, every time it carries out an action. All the startup scripts in Linux OS and UNIX systems are run in non-interactive shells. Although, interaction is possible.&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;create a file with .sh extension and type in the two commands and change it a executable in any UNIX machine. Run the file, it will spit out both the outputs, that we got after typing each individual commands.&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;Prompt is the one which, announces the completion of the previous task or command and prompts the user for the command.&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;Before a shell starts, it reads in its configuration files to assimilate its defined behaviour. The order of precedence of the files in Macintosh is as follows,&lt;/div&gt;&lt;div style="text-align: justify;"&gt;/etc/.bashrc, /etc/.profile /private/.bashrc, /private/profile, ~/.bashrc and ~/.bash_profile&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;So whatever, is defined in the ~/.bash_profile will override its previous settings.&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;Prompt in the shell can be customized to our convenience. Here is an example,&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;a href="http://2.bp.blogspot.com/_jh9W-WUhOLI/SnWan3Bf01I/AAAAAAAAAZ0/F3K66ztYMB8/s1600-h/myterm.png" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5365364540657619794" src="http://2.bp.blogspot.com/_jh9W-WUhOLI/SnWan3Bf01I/AAAAAAAAAZ0/F3K66ztYMB8/s320/myterm.png" style="cursor: pointer; float: right; height: 202px; margin-bottom: 10px; margin-left: 10px; margin-right: 0px; margin-top: 0px; text-align: justify; width: 320px;" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;russell@[83%] - is my prompt. It tells, the username using which I logged in to this computer. The value followed by username is the current battery level, in my laptop. It is another script!!&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;username appears in blue in colour where as "@" symbol appears in white and the following battery level in green. Infact battery level colour will change as it lowers down certain value.&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;My .bashrc file for this part is as follows,&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;# - - # - - # - - #&lt;/div&gt;&lt;div&gt;&lt;div style="text-align: justify;"&gt;#Sourcing global definitions&lt;/div&gt;&lt;div style="text-align: justify;"&gt;if [ -f /etc/bashrc ]; then&lt;/div&gt;&lt;div style="text-align: justify;"&gt;. /etc/bashrc&lt;/div&gt;&lt;div style="text-align: justify;"&gt;fi&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;#Command prompt colour and appearence&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;function prompt&lt;/div&gt;&lt;div style="text-align: justify;"&gt;{&lt;/div&gt;&lt;div style="text-align: justify;"&gt;local WHITE="\[\033[1;37m\]"&lt;/div&gt;&lt;div style="text-align: justify;"&gt;local GREEN="\[\033[0;32m\]"&lt;/div&gt;&lt;div style="text-align: justify;"&gt;local CYAN="\[\033[0;36m\]"&lt;/div&gt;&lt;div style="text-align: justify;"&gt;local GRAY="\[\033[0;37m\]"&lt;/div&gt;&lt;div style="text-align: justify;"&gt;local BLUE="\[\033[1;34m\]"&lt;/div&gt;&lt;div style="text-align: justify;"&gt;local BLACK="\[\033[0;30m\]"&lt;/div&gt;&lt;div style="text-align: justify;"&gt;local BLACKR="\[\033[1;30m\]"&lt;/div&gt;&lt;div style="text-align: justify;"&gt;local MAGENTA="\[\033[0;35m\]"&lt;/div&gt;&lt;div style="text-align: justify;"&gt;local RED="\[\033[0;31m\]"&lt;/div&gt;&lt;div style="text-align: justify;"&gt;local BLACKBG="\[\033[1;40m\]"&lt;/div&gt;&lt;div style="text-align: justify;"&gt;export PS1="${BLUE}\u${GRAY}@\$(bat) ${MAGENTA}\W:${WHITE}"&lt;/div&gt;&lt;div style="text-align: justify;"&gt;}&lt;/div&gt;&lt;div style="text-align: justify;"&gt;prompt&lt;/div&gt;&lt;div style="text-align: justify;"&gt;# - - # - - # - - #&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;export PS1 - the one responsible for my prompt behaviour and colour, which is a UNIX shell environment variable.&lt;/div&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;I have defined colours under the function prompt, and used them for PS1 variable.&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;One can use their own colours and wishes. In this example, the user and the working directory are prompted. But, one can chose from a wide variety of options available in any UNIX system.&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;List of Prompt variables,&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: #333333; font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif; font-size: 13px; line-height: 20px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #333333; font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif; font-size: 13px; line-height: 20px;"&gt;&lt;br /&gt;&lt;dt style="font-weight: bold; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify;"&gt;&lt;span class="Apple-style-span" style="color: #ff6600;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;\d&lt;/span&gt;&lt;/span&gt;&lt;/dt&gt;&lt;br /&gt;&lt;br /&gt;&lt;dd style="margin-bottom: 10px; margin-left: 20px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify;"&gt;&lt;span class="Apple-style-span" style="color: #ff6600;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;the date in “Weekday Month Date” format (e.g., “Tue May 26″)&lt;/span&gt;&lt;/span&gt;&lt;/dd&gt;&lt;br /&gt;&lt;dt style="font-weight: bold; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify;"&gt;&lt;span class="Apple-style-span" style="color: #ff6600;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;\D{format}&lt;/span&gt;&lt;/span&gt;&lt;/dt&gt;&lt;br /&gt;&lt;br /&gt;&lt;dd style="margin-bottom: 10px; margin-left: 20px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify;"&gt;&lt;span class="Apple-style-span" style="color: #ff6600;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;the format is passed to strftime(3) and the result is inserted into the prompt string; an empty format results in a locale-specific time representation. The braces are required&lt;/span&gt;&lt;/span&gt;&lt;/dd&gt;&lt;br /&gt;&lt;dt style="font-weight: bold; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify;"&gt;&lt;span class="Apple-style-span" style="color: #ff6600;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;\e&lt;/span&gt;&lt;/span&gt;&lt;/dt&gt;&lt;br /&gt;&lt;br /&gt;&lt;dd style="margin-bottom: 10px; margin-left: 20px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify;"&gt;&lt;span class="Apple-style-span" style="color: #ff6600;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;an ASCII escape character (033)&lt;/span&gt;&lt;/span&gt;&lt;/dd&gt;&lt;br /&gt;&lt;dt style="font-weight: bold; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify;"&gt;&lt;span class="Apple-style-span" style="color: #ff6600;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;\h&lt;/span&gt;&lt;/span&gt;&lt;/dt&gt;&lt;br /&gt;&lt;br /&gt;&lt;dd style="margin-bottom: 10px; margin-left: 20px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify;"&gt;&lt;span class="Apple-style-span" style="color: #ff6600;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;the hostname up to the first ‘.’&lt;/span&gt;&lt;/span&gt;&lt;/dd&gt;&lt;br /&gt;&lt;dt style="font-weight: bold; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify;"&gt;&lt;span class="Apple-style-span" style="color: #ff6600;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;\H&lt;/span&gt;&lt;/span&gt;&lt;/dt&gt;&lt;br /&gt;&lt;br /&gt;&lt;dd style="margin-bottom: 10px; margin-left: 20px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify;"&gt;&lt;span class="Apple-style-span" style="color: #ff6600;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;the hostname&lt;/span&gt;&lt;/span&gt;&lt;/dd&gt;&lt;br /&gt;&lt;dt style="font-weight: bold; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify;"&gt;&lt;span class="Apple-style-span" style="color: #ff6600;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;\j&lt;/span&gt;&lt;/span&gt;&lt;/dt&gt;&lt;br /&gt;&lt;br /&gt;&lt;dd style="margin-bottom: 10px; margin-left: 20px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify;"&gt;&lt;span class="Apple-style-span" style="color: #ff6600;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;the number of jobs currently managed by the shell&lt;/span&gt;&lt;/span&gt;&lt;/dd&gt;&lt;br /&gt;&lt;dt style="font-weight: bold; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify;"&gt;&lt;span class="Apple-style-span" style="color: #ff6600;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;\l&lt;/span&gt;&lt;/span&gt;&lt;/dt&gt;&lt;br /&gt;&lt;br /&gt;&lt;dd style="margin-bottom: 10px; margin-left: 20px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify;"&gt;&lt;span class="Apple-style-span" style="color: #ff6600;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;the basename of the shell’s terminal device name&lt;/span&gt;&lt;/span&gt;&lt;/dd&gt;&lt;br /&gt;&lt;dt style="font-weight: bold; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify;"&gt;&lt;span class="Apple-style-span" style="color: #ff6600;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;\n&lt;/span&gt;&lt;/span&gt;&lt;/dt&gt;&lt;br /&gt;&lt;br /&gt;&lt;dd style="margin-bottom: 10px; margin-left: 20px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify;"&gt;&lt;span class="Apple-style-span" style="color: #ff6600;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;newline&lt;/span&gt;&lt;/span&gt;&lt;/dd&gt;&lt;br /&gt;&lt;dt style="font-weight: bold; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify;"&gt;&lt;span class="Apple-style-span" style="color: #ff6600;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;\r&lt;/span&gt;&lt;/span&gt;&lt;/dt&gt;&lt;br /&gt;&lt;br /&gt;&lt;dd style="margin-bottom: 10px; margin-left: 20px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify;"&gt;&lt;span class="Apple-style-span" style="color: #ff6600;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;carriage return&lt;/span&gt;&lt;/span&gt;&lt;/dd&gt;&lt;br /&gt;&lt;dt style="font-weight: bold; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify;"&gt;&lt;span class="Apple-style-span" style="color: #ff6600;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;\s&lt;/span&gt;&lt;/span&gt;&lt;/dt&gt;&lt;br /&gt;&lt;br /&gt;&lt;dd style="margin-bottom: 10px; margin-left: 20px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify;"&gt;&lt;span class="Apple-style-span" style="color: #ff6600;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;the name of the shell, the basename of $0 (the portion following the final slash)&lt;/span&gt;&lt;/span&gt;&lt;/dd&gt;&lt;br /&gt;&lt;dt style="font-weight: bold; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify;"&gt;&lt;span class="Apple-style-span" style="color: #ff6600;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;\t&lt;/span&gt;&lt;/span&gt;&lt;/dt&gt;&lt;br /&gt;&lt;br /&gt;&lt;dd style="margin-bottom: 10px; margin-left: 20px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify;"&gt;&lt;span class="Apple-style-span" style="color: #ff6600;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;the current time in 24-hour HH:MM:SS format&lt;/span&gt;&lt;/span&gt;&lt;/dd&gt;&lt;br /&gt;&lt;dt style="font-weight: bold; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify;"&gt;&lt;span class="Apple-style-span" style="color: #ff6600;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;\T&lt;/span&gt;&lt;/span&gt;&lt;/dt&gt;&lt;br /&gt;&lt;br /&gt;&lt;dd style="margin-bottom: 10px; margin-left: 20px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify;"&gt;&lt;span class="Apple-style-span" style="color: #ff6600;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;the current time in 12-hour HH:MM:SS format&lt;/span&gt;&lt;/span&gt;&lt;/dd&gt;&lt;br /&gt;&lt;dt style="font-weight: bold; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify;"&gt;&lt;span class="Apple-style-span" style="color: #ff6600;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;\@&lt;/span&gt;&lt;/span&gt;&lt;/dt&gt;&lt;br /&gt;&lt;br /&gt;&lt;dd style="margin-bottom: 10px; margin-left: 20px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify;"&gt;&lt;span class="Apple-style-span" style="color: #ff6600;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;the current time in 12-hour am/pm format&lt;/span&gt;&lt;/span&gt;&lt;/dd&gt;&lt;br /&gt;&lt;dt style="font-weight: bold; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify;"&gt;&lt;span class="Apple-style-span" style="color: #ff6600;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;\A&lt;/span&gt;&lt;/span&gt;&lt;/dt&gt;&lt;br /&gt;&lt;br /&gt;&lt;dd style="margin-bottom: 10px; margin-left: 20px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify;"&gt;&lt;span class="Apple-style-span" style="color: #ff6600;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;the current time in 24-hour HH:MM format&lt;/span&gt;&lt;/span&gt;&lt;/dd&gt;&lt;br /&gt;&lt;dt style="font-weight: bold; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify;"&gt;&lt;span class="Apple-style-span" style="color: #ff6600;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;\u&lt;/span&gt;&lt;/span&gt;&lt;/dt&gt;&lt;br /&gt;&lt;br /&gt;&lt;dd style="margin-bottom: 10px; margin-left: 20px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify;"&gt;&lt;span class="Apple-style-span" style="color: #ff6600;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;the username of the current user&lt;/span&gt;&lt;/span&gt;&lt;/dd&gt;&lt;br /&gt;&lt;dt style="font-weight: bold; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify;"&gt;&lt;span class="Apple-style-span" style="color: #ff6600;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;\v&lt;/span&gt;&lt;/span&gt;&lt;/dt&gt;&lt;br /&gt;&lt;br /&gt;&lt;dd style="margin-bottom: 10px; margin-left: 20px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify;"&gt;&lt;span class="Apple-style-span" style="color: #ff6600;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;the version of bash (e.g., 2.00)&lt;/span&gt;&lt;/span&gt;&lt;/dd&gt;&lt;br /&gt;&lt;dt style="font-weight: bold; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify;"&gt;&lt;span class="Apple-style-span" style="color: #ff6600;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;\V&lt;/span&gt;&lt;/span&gt;&lt;/dt&gt;&lt;br /&gt;&lt;br /&gt;&lt;dd style="margin-bottom: 10px; margin-left: 20px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify;"&gt;&lt;span class="Apple-style-span" style="color: #ff6600;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;the release of bash, version + patch level (e.g., 2.00.0)&lt;/span&gt;&lt;/span&gt;&lt;/dd&gt;&lt;br /&gt;&lt;dt style="font-weight: bold; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify;"&gt;&lt;span class="Apple-style-span" style="color: #ff6600;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;\w&lt;/span&gt;&lt;/span&gt;&lt;/dt&gt;&lt;br /&gt;&lt;br /&gt;&lt;dd style="margin-bottom: 10px; margin-left: 20px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify;"&gt;&lt;span class="Apple-style-span" style="color: #ff6600;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;the current working directory, with $HOME abbreviated with a tilde&lt;/span&gt;&lt;/span&gt;&lt;/dd&gt;&lt;br /&gt;&lt;dt style="font-weight: bold; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify;"&gt;&lt;span class="Apple-style-span" style="color: #ff6600;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;\W&lt;/span&gt;&lt;/span&gt;&lt;/dt&gt;&lt;br /&gt;&lt;br /&gt;&lt;dd style="margin-bottom: 10px; margin-left: 20px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify;"&gt;&lt;span class="Apple-style-span" style="color: #ff6600;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;the basename of the current working directory, with $HOME abbreviated with a tilde&lt;/span&gt;&lt;/span&gt;&lt;/dd&gt;&lt;br /&gt;&lt;dt style="font-weight: bold; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify;"&gt;&lt;span class="Apple-style-span" style="color: #ff6600;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;\!&lt;/span&gt;&lt;/span&gt;&lt;/dt&gt;&lt;br /&gt;&lt;br /&gt;&lt;dd style="margin-bottom: 10px; margin-left: 20px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify;"&gt;&lt;span class="Apple-style-span" style="color: #ff6600;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;the history number of this command&lt;/span&gt;&lt;/span&gt;&lt;/dd&gt;&lt;br /&gt;&lt;dt style="font-weight: bold; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify;"&gt;&lt;span class="Apple-style-span" style="color: #ff6600;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;\#&lt;/span&gt;&lt;/span&gt;&lt;/dt&gt;&lt;br /&gt;&lt;br /&gt;&lt;dd style="margin-bottom: 10px; margin-left: 20px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify;"&gt;&lt;span class="Apple-style-span" style="color: #ff6600;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;the command number of this command&lt;/span&gt;&lt;/span&gt;&lt;/dd&gt;&lt;br /&gt;&lt;dt style="font-weight: bold; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify;"&gt;&lt;span class="Apple-style-span" style="color: #ff6600;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;\$&lt;/span&gt;&lt;/span&gt;&lt;/dt&gt;&lt;br /&gt;&lt;br /&gt;&lt;dd style="margin-bottom: 10px; margin-left: 20px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify;"&gt;&lt;span class="Apple-style-span" style="color: #ff6600;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;if the effective UID is 0, a #, otherwise a $&lt;/span&gt;&lt;/span&gt;&lt;/dd&gt;&lt;br /&gt;&lt;dt style="font-weight: bold; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify;"&gt;&lt;span class="Apple-style-span" style="color: #ff6600;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;\nnn&lt;/span&gt;&lt;/span&gt;&lt;/dt&gt;&lt;br /&gt;&lt;br /&gt;&lt;dd style="margin-bottom: 10px; margin-left: 20px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify;"&gt;&lt;span class="Apple-style-span" style="color: #ff6600;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;the character corresponding to the octal number nnn&lt;/span&gt;&lt;/span&gt;&lt;/dd&gt;&lt;br /&gt;&lt;dt style="font-weight: bold; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify;"&gt;&lt;span class="Apple-style-span" style="color: #ff6600;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;\\&lt;/span&gt;&lt;/span&gt;&lt;/dt&gt;&lt;br /&gt;&lt;br /&gt;&lt;dd style="margin-bottom: 10px; margin-left: 20px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify;"&gt;&lt;span class="Apple-style-span" style="color: #ff6600;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;a backslash&lt;/span&gt;&lt;/span&gt;&lt;/dd&gt;&lt;br /&gt;&lt;dt style="font-weight: bold; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify;"&gt;&lt;span class="Apple-style-span" style="color: #ff6600;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;\[&lt;/span&gt;&lt;/span&gt;&lt;/dt&gt;&lt;br /&gt;&lt;br /&gt;&lt;dd style="margin-bottom: 10px; margin-left: 20px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify;"&gt;&lt;span class="Apple-style-span" style="color: #ff6600;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;begin a sequence of non-printing characters, which could be used to embed a terminal control sequence into the prompt&lt;/span&gt;&lt;/span&gt;&lt;/dd&gt;&lt;br /&gt;&lt;dt style="font-weight: bold; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify;"&gt;&lt;span class="Apple-style-span" style="color: #ff6600;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;\]&lt;/span&gt;&lt;/span&gt;&lt;/dt&gt;&lt;br /&gt;&lt;br /&gt;&lt;dd style="margin-bottom: 10px; margin-left: 20px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify;"&gt;&lt;span class="Apple-style-span" style="color: #ff6600;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;end a sequence of non-printing characters&lt;/span&gt;&lt;/span&gt;&lt;/dd&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;Colour code and escape sequence list:&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;\e[SS;RRm]&lt;/div&gt;&lt;div style="text-align: justify;"&gt;SS = foreground colour&lt;/div&gt;&lt;div style="text-align: justify;"&gt;RR=background colour, but it is really text styling&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;Colour Table&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: sans-serif; font-size: 13px; line-height: 19px;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: sans-serif; font-size: 13px; line-height: 19px;"&gt;&lt;table class="wikitable" style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: #f9f9f9; background-image: initial; background-repeat: initial; border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; color: black; font-size: 13px; margin-bottom: 1em; margin-left: 0px; margin-right: 1em; margin-top: 1em; text-align: justify;"&gt;&lt;caption style="font-weight: bold;"&gt; &lt;/caption&gt;&lt;tbody&gt;&lt;tr&gt;&lt;th style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: #f2f2f2; background-image: initial; background-position: initial initial; background-repeat: initial; border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(90, 140, 120); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(90, 140, 120); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em; text-align: center;"&gt;Intensity&lt;/th&gt;&lt;th style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: #f2f2f2; background-image: initial; background-position: initial initial; background-repeat: initial; border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em; text-align: center;"&gt;0&lt;/th&gt;&lt;th style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: #f2f2f2; background-image: initial; background-position: initial initial; background-repeat: initial; border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em; text-align: center;"&gt;1&lt;/th&gt;&lt;th style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: #f2f2f2; background-image: initial; background-position: initial initial; background-repeat: initial; border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em; text-align: center;"&gt;2&lt;/th&gt;&lt;th style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: #f2f2f2; background-image: initial; background-position: initial initial; background-repeat: initial; border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em; text-align: center;"&gt;3&lt;/th&gt;&lt;th style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: #f2f2f2; background-image: initial; background-position: initial initial; background-repeat: initial; border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em; text-align: center;"&gt;4&lt;/th&gt;&lt;th style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: #f2f2f2; background-image: initial; background-position: initial initial; background-repeat: initial; border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em; text-align: center;"&gt;5&lt;/th&gt;&lt;th style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: #f2f2f2; background-image: initial; background-position: initial initial; background-repeat: initial; border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em; text-align: center;"&gt;6&lt;/th&gt;&lt;th style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: #f2f2f2; background-image: initial; background-position: initial initial; background-repeat: initial; border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em; text-align: center;"&gt;7&lt;/th&gt;&lt;th style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: #f2f2f2; background-image: initial; background-position: initial initial; background-repeat: initial; border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em; text-align: center;"&gt;9&lt;/th&gt;&lt;/tr&gt;&lt;tr&gt;&lt;th style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: #f2f2f2; background-image: initial; background-position: initial initial; background-repeat: initial; border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em; text-align: center;"&gt;Normal&lt;/th&gt;&lt;td style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: black; background-image: initial; background-position: initial initial; background-repeat: initial; border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; color: white; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;Black&lt;/td&gt;&lt;td style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: maroon; background-image: initial; background-position: initial initial; background-repeat: initial; border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; color: white; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;Red&lt;/td&gt;&lt;td style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: green; background-image: initial; background-position: initial initial; background-repeat: initial; border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; color: white; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;Green&lt;/td&gt;&lt;td style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: olive; background-image: initial; background-position: initial initial; background-repeat: initial; border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; color: white; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;Yellow&lt;/td&gt;&lt;td style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: navy; background-image: initial; background-position: initial initial; background-repeat: initial; border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; color: white; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;Blue&lt;/td&gt;&lt;td style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: purple; background-image: initial; background-position: initial initial; background-repeat: initial; border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; color: white; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;Magenta&lt;/td&gt;&lt;td style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: teal; background-image: initial; background-position: initial initial; background-repeat: initial; border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; color: white; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;Cyan&lt;/td&gt;&lt;td style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: silver; background-image: initial; background-position: initial initial; background-repeat: initial; border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; color: black; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;White&lt;/td&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;reset&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;th style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: #f2f2f2; background-image: initial; background-position: initial initial; background-repeat: initial; border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em; text-align: center;"&gt;Bright&lt;/th&gt;&lt;td style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: grey; background-image: initial; background-position: initial initial; background-repeat: initial; border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; color: white; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;Black&lt;/td&gt;&lt;td style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: red; background-image: initial; background-position: initial initial; background-repeat: initial; border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; color: black; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;Red&lt;/td&gt;&lt;td style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: lime; background-image: initial; background-position: initial initial; background-repeat: initial; border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; color: black; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;Green&lt;/td&gt;&lt;td style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: yellow; background-image: initial; background-position: initial initial; background-repeat: initial; border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; color: black; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;Yellow&lt;/td&gt;&lt;td style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: blue; background-image: initial; background-position: initial initial; background-repeat: initial; border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; color: white; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;Blue&lt;/td&gt;&lt;td style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: magenta; background-image: initial; background-position: initial initial; background-repeat: initial; border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; color: black; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;Magenta&lt;/td&gt;&lt;td style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: cyan; background-image: initial; background-position: initial initial; background-repeat: initial; border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; color: black; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;Cyan&lt;/td&gt;&lt;td style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: white; background-image: initial; background-position: initial initial; background-repeat: initial; border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; color: black; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;White&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: sans-serif, fantasy; font-size: medium; line-height: 19px;"&gt;SGR(Select Graphic Rendition) parameters&lt;/span&gt;&lt;/div&gt;&lt;span class="Apple-style-span" style="font-family: sans-serif; font-size: 13px; line-height: 19px;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: sans-serif; font-size: 13px; line-height: 19px;"&gt;&lt;table class="wikitable" size="13px" style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: #f9f9f9; background-image: initial; background-repeat: initial; border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; color: black; margin-bottom: 1em; margin-left: 0px; margin-right: 1em; margin-top: 1em; text-align: justify;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;th style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: #f2f2f2; background-image: initial; background-position: initial initial; background-repeat: initial; border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em; text-align: center;"&gt;Code&lt;/th&gt;&lt;th style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: #f2f2f2; background-image: initial; background-position: initial initial; background-repeat: initial; border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em; text-align: center;"&gt;Effect&lt;/th&gt;&lt;th style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: #f2f2f2; background-image: initial; background-position: initial initial; background-repeat: initial; border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em; text-align: center;"&gt;Note&lt;/th&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;0&lt;/td&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;Reset / Normal&lt;/td&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;all attributes off&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;1&lt;/td&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;Intensity: Bold&lt;/td&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;2&lt;/td&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;Intensity: Faint&lt;/td&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;not widely supported&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;3&lt;/td&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;Italic: on&lt;/td&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;not widely supported. Sometimes treated as inverse.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;4&lt;/td&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;Underline: Single&lt;/td&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;5&lt;/td&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;Blink: Slow&lt;/td&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;less than 150 per minute&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;6&lt;/td&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;Blink: Rapid&lt;/td&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;MS-DOS ANSI.SYS; 150 per minute or more&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;7&lt;/td&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;Image: Negative&lt;/td&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;inverse or reverse; swap foreground and background&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;8&lt;/td&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;Conceal&lt;/td&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;not widely supported&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;21&lt;/td&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;Underline: Double&lt;/td&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;not widely supported&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;22&lt;/td&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;Intensity: Normal&lt;/td&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;not bold and not faint&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;24&lt;/td&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;Underline: None&lt;/td&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;25&lt;/td&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;Blink: off&lt;/td&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;27&lt;/td&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;Image: Positive&lt;/td&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;28&lt;/td&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;Reveal&lt;/td&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;conceal off&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;30–39&lt;/td&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;Set foreground color, normal intensity&lt;/td&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;3x, where x is from the color table above&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;40–49&lt;/td&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;Set background color, normal intensity&lt;/td&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;4x, where x is from the color table above&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;90–99&lt;/td&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;Set foreground color, high intensity&lt;/td&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;aixterm&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;100–109&lt;/td&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;set background color, high intensity&lt;/td&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;aixterm&lt;br /&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;After these settings in .bashrc, .bash_profile should look something like this,&lt;/div&gt;&lt;div style="text-align: justify;"&gt;# - - # - - # - - # - - #&lt;/div&gt;&lt;div&gt;&lt;div style="text-align: justify;"&gt;#Get the aliases and functions from the bashrc file&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;if [ -f ~/.bashrc ]; then&lt;/div&gt;&lt;div style="text-align: justify;"&gt;. ~/.bashrc&lt;/div&gt;&lt;div style="text-align: justify;"&gt;fi&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;#Listing directories and files in clours based on their properties&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;export CLICOLOR=1&lt;/div&gt;&lt;div style="text-align: justify;"&gt;export LSCOLORS=exfxcxdxbxexedabagacad&lt;/div&gt;&lt;div style="text-align: justify;"&gt;# - - # - - # - - # - - #&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;The colours exported here are for differentiating filetypes based on their characteristcs.&lt;/div&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;With this, anyone can customize their own prompt and terminal behvaiour in Macintosh-10.5&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;Leave a comment (of your mailid), if you want my .bashrc.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6360691375213332318-2262941987584680779?l=spinchoreographer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://spinchoreographer.blogspot.com/feeds/2262941987584680779/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://spinchoreographer.blogspot.com/2009/08/customizing-terminal-command-prompt.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6360691375213332318/posts/default/2262941987584680779'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6360691375213332318/posts/default/2262941987584680779'/><link rel='alternate' type='text/html' href='http://spinchoreographer.blogspot.com/2009/08/customizing-terminal-command-prompt.html' title='Customizing Terminal command prompt'/><author><name>SpinChoreographer</name><uri>http://www.blogger.com/profile/16975267499770145800</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_jh9W-WUhOLI/S95pwE_vMQI/AAAAAAAAAgo/th1Z2V7TG64/S220/BabyTux.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_jh9W-WUhOLI/SnWabZ2gnHI/AAAAAAAAAZs/0pUjbSKWBhg/s72-c/term_who.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6360691375213332318.post-8558934262793413817</id><published>2009-07-08T04:11:00.000-07:00</published><updated>2010-07-26T08:00:13.887-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Mac OS X'/><title type='text'>Setting up Environmental Variable in Mac OS X Leopard 10.5.7</title><content type='html'>After a a month (to be honest, more than a month) of wandering, found a way to set the environmental variable in Mac OS X. It was not as straight forward as in Linux , (In Linux it is pretty much easier!!) rather needs some small tricks.&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Here it goes,&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;The first and the easiest way is to set in .bash_profile or .bashrc, but in both the cases, the program might not see the environment variable (in my case this what happened). So go to the next alternative.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;create, (if nothing exists already) ~/.MacOSX/environment.plist&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - &lt;/div&gt;&lt;div&gt;&amp;gt; mkdir .MacOSX&lt;/div&gt;&lt;div&gt;&amp;gt; cd .MacOSX&lt;/div&gt;&lt;div&gt;&amp;gt; touch environment.plist&lt;/div&gt;&lt;div&gt;&amp;gt; open environment.plist&lt;/div&gt;&lt;div&gt;- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -&lt;/div&gt;&lt;div&gt;If you have followed everything correctly, the following window will open&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;a href="http://3.bp.blogspot.com/_jh9W-WUhOLI/SlSHCoCWXdI/AAAAAAAAAZA/PhGtfJYK2Yk/s1600-h/environment.plist1.png" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5356054336027123154" src="http://3.bp.blogspot.com/_jh9W-WUhOLI/SlSHCoCWXdI/AAAAAAAAAZA/PhGtfJYK2Yk/s320/environment.plist1.png" style="cursor: hand; cursor: pointer; display: block; height: 187px; margin: 0px auto 10px; text-align: center; width: 320px;" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Click on the root to select and add an item and then enter your variable name as shown below.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;a href="http://3.bp.blogspot.com/_jh9W-WUhOLI/SlSHkafThuI/AAAAAAAAAZI/rB1_u7XLiYQ/s1600-h/env3.png" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5356054916506027746" src="http://3.bp.blogspot.com/_jh9W-WUhOLI/SlSHkafThuI/AAAAAAAAAZI/rB1_u7XLiYQ/s320/env3.png" style="cursor: hand; cursor: pointer; display: block; height: 187px; margin: 0px auto 10px; text-align: center; width: 320px;" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;The type should be string, since path is the string data type. &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Enter your variable value as shown.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;a href="http://2.bp.blogspot.com/_jh9W-WUhOLI/SlSHyNCLvyI/AAAAAAAAAZQ/dqYSh-bapgA/s1600-h/env4.png" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5356055153412390690" src="http://2.bp.blogspot.com/_jh9W-WUhOLI/SlSHyNCLvyI/AAAAAAAAAZQ/dqYSh-bapgA/s320/env4.png" style="cursor: hand; cursor: pointer; display: block; height: 187px; margin: 0px auto 10px; text-align: center; width: 320px;" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Save it.And that is all, your all done to make your environmental variable available for you to use.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;But, this has a shortcoming, namely, if you would like to open terminal using spotlight, this environmental variable will not be in effect, means it will not be read when terminal starts (Have to really figure out how spotlight opens an application and where it looks for environmental variable settings).&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;If you are really a geeky and would like to explore anything to its core, you might be interesting with the following.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;While just exploring OS X s  process management, have figured out launchd has the process id of 1 (and it is run as root and not in usermode, I decided it should be the first process that starts, while Mac boots up). After, some searching, I confirmed my hypothesis is true at the following site,&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;a href="http://www.digitaledgesw.com/node/31/"&gt;http://www.digitaledgesw.com&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;As it was mentioned, I created a launchd.conf file and made my entry as below,&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -&lt;/div&gt;&lt;div&gt;&amp;gt; cd /etc&lt;/div&gt;&lt;div&gt;&amp;gt; vi launchd.conf&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;setenv VARIABLE "value" (don't use double quotes while you define your string value)&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Voila......after a restart, it works like a charm!! Now even if I open terminal using spotlight, my environmental variable is read and in effect......!!&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6360691375213332318-8558934262793413817?l=spinchoreographer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://spinchoreographer.blogspot.com/feeds/8558934262793413817/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://spinchoreographer.blogspot.com/2009/07/setting-up-environmental-variable-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6360691375213332318/posts/default/8558934262793413817'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6360691375213332318/posts/default/8558934262793413817'/><link rel='alternate' type='text/html' href='http://spinchoreographer.blogspot.com/2009/07/setting-up-environmental-variable-in.html' title='Setting up Environmental Variable in Mac OS X Leopard 10.5.7'/><author><name>SpinChoreographer</name><uri>http://www.blogger.com/profile/16975267499770145800</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_jh9W-WUhOLI/S95pwE_vMQI/AAAAAAAAAgo/th1Z2V7TG64/S220/BabyTux.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_jh9W-WUhOLI/SlSHCoCWXdI/AAAAAAAAAZA/PhGtfJYK2Yk/s72-c/environment.plist1.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6360691375213332318.post-6940990843409074062</id><published>2009-05-31T08:04:00.000-07:00</published><updated>2010-01-21T02:44:01.310-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='friendship'/><category scheme='http://www.blogger.com/atom/ns#' term='Trust'/><category scheme='http://www.blogger.com/atom/ns#' term='Relationships'/><title type='text'>Belief, Trust and Friendship</title><content type='html'>Hard social feelings to write about!&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;First of all what is Belief?!&lt;/div&gt;&lt;div&gt; It is a state of mind. (Discussion about mind will be endless and I am not capable enough to discuss, even.) State of mind that expects something or someone(most of the times someone) will act as you predicted. We, in our life, predict anything based on our previous experiences about any particular thing. So, belief is nothing but predictions, based on our past experiences. This applies to common man (Common man, I mean: Human with commonly accepted aptitudes and attitudes), at least.&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;What is Trust?&lt;/div&gt;&lt;div&gt;So far, what I know is, trust and belief are synonyms. But, now I feel, there should be a subtle difference that makes a huge difference in meaning and in contexts they should be used. Belief, should be something confined to any particular instance, issue or atribute and trust is for something big and rise over a long period. May be, belief is the building block of trust. &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Now the hardest feeling for understanding! "FRIENDSHIP".&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;In handful of occasions, I happened to think about friendship. And at every time, it really refined my definition of friendship. I used to think, how one, who is no way related to you by blood means, could be so close and make you share things that you don't even share with your wife.! What makes friendship, such a relationship? Is it trust, belief or something else?&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;????? Answer form me is, I DON'T KNOW.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;But, one thing, it is all a function of time apart from various other variables! Belief transform in to trust over a period of time. Likewise friendship strengthens as time goes on. As you get the result, what you have predicted, for a long period of time, makes you to feel some sort of understanding. (Too late for me to understand this!!)&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Last week, during early hours of morning, some thought appeared in my mind, It is not a dream, since I did have control over it, I was able to change and think and control my thoughts, so it is not a dream and I remembered the whole thing. Here it goes,&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;The world is a Quantum mechanical system. Everything is a measure of probability and nothing is so called certain. You believe what you have experienced so far. Every time you receive a output of an experiment or an incident, it would be added to your readings.....When you have to make decision, analogous to predict the outcome of an quantum experiment, you go through all those data sets (incidents, situations in which those happened and eventually outcomes) and try to pick the one with highest probability...So far, I think I am k. In order to make conclusions about a quantum system, quantum physicists, repeats the same experiment and make a probability distribution function to predict the system behaviour. Thus achieving, their predictions to be correct most of the times (probability of making correct decisions, about a system, to 1, requires lots of repetitions of any particular experiment). The same applies to our life as well. We examines each and every situation and incidents going on in our life and use them as data sets, using which we extrapolate to new situations and environments.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Here, I have a question, What if, you have only bitter experiences ( analogous to incorrect experiments: which are results of our own mistakes in setting up the system )? Wouldn't it impact the way of your extrapolation or prediction?! Yes, it should do!&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Concluding, Friendship develops over a period of time and not in an instance. But, of course, there are exceptions!&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6360691375213332318-6940990843409074062?l=spinchoreographer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://spinchoreographer.blogspot.com/feeds/6940990843409074062/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://spinchoreographer.blogspot.com/2009/05/belief-trust-and-friendship.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6360691375213332318/posts/default/6940990843409074062'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6360691375213332318/posts/default/6940990843409074062'/><link rel='alternate' type='text/html' href='http://spinchoreographer.blogspot.com/2009/05/belief-trust-and-friendship.html' title='Belief, Trust and Friendship'/><author><name>SpinChoreographer</name><uri>http://www.blogger.com/profile/16975267499770145800</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_jh9W-WUhOLI/S95pwE_vMQI/AAAAAAAAAgo/th1Z2V7TG64/S220/BabyTux.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6360691375213332318.post-7478411356567030400</id><published>2009-04-14T05:24:00.000-07:00</published><updated>2010-07-26T08:01:26.231-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='wget'/><category scheme='http://www.blogger.com/atom/ns#' term='Mac OS X'/><title type='text'>Wget in Mac OS X Leopard 10.5.6</title><content type='html'>&lt;span class="Apple-style-span" style="color: #666666;"&gt;I recently bought a MacBookPro. I always had fascination for Mac and It was one of my dream as well. I am fond of computers.... No surprise, I guess, since my brother is a software professional and I am a lazy guy.&lt;/span&gt;&lt;br /&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: #666666;"&gt;&lt;br /&gt;&lt;/span&gt; &lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: #666666;"&gt;I did ground work for about 6 months before I ordered a MacBookPro. Previously I was linux user and  was using Kubuntu, Ubuntu, CentOS and Debian....(beleive me, I use all these in my IBM ThinkPad R51, sometimes I use MINIX 3 as well). It was not so convincing for me, after few days of initial interaction with my new MBP, about my decision....:(. After some days, I started exploring it in full swing. I tried instlaling Debian Lenny in it as dual boot and wiping the whole Leopard out. Things went fine, but I wanted to use Xcode, which I thought is one of the good API.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: #666666;"&gt;&lt;br /&gt;&lt;/span&gt; &lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: #666666;"&gt;The first and the foremost thing about Mac is, you would loose your freedom (especially if you move from linux). Mac will offer you something and you have to make yourself used to it and change yourself in such a way that what Mac offers is doing fine for you. Sorry to Jobs!!&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: #666666;"&gt;&lt;br /&gt;&lt;/span&gt; &lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: #666666;"&gt;Enough!!!&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: #666666;"&gt;&lt;br /&gt;&lt;/span&gt; &lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: #666666;"&gt;Leopard doesn't come with wget builtin. I installed wget in my MBP running Leopard 10.5.6 from it's source. You can get the pre-compiled binaries from here &lt;/span&gt;&lt;a href="http://www.statusq.org/archives/2008/07/30/1954/"&gt;&lt;span class="Apple-style-span" style="color: #666666;"&gt;http://www.statusq.org/archives/2008/07/30/1954&lt;/span&gt;&lt;/a&gt;&lt;span class="Apple-style-span" style="color: #666666;"&gt;.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: #666666;"&gt;&lt;br /&gt;&lt;/span&gt; &lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: #666666;"&gt;&amp;gt; Download wget source from the following link, &lt;/span&gt;&lt;a href="http://ftp.gnu.org/gnu/wget/"&gt;&lt;span class="Apple-style-span" style="color: #666666;"&gt;http://ftp.gnu.org/gnu/wget&lt;/span&gt;&lt;/a&gt;&lt;span class="Apple-style-span" style="color: #666666;"&gt;(latest at the time of my installation is 1.11.4)&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: #666666;"&gt;&lt;br /&gt;&lt;/span&gt; &lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: #666666;"&gt;I would suggest one to move the downloaded package to /usr/local/.  Moving the package would require you to have sudo privilage...&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: #666666;"&gt;&amp;gt; sudo mv &lt;/span&gt;&lt;packae&gt;&lt;span class="Apple-style-span" style="color: #666666;"&gt;&lt;package&gt;&lt;/package&gt;&lt;/span&gt;&lt;/packae&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: #666666;"&gt;&lt;br /&gt;&lt;/span&gt; &lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: #666666;"&gt;once you move it to your desired directory, untar it.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: #666666;"&gt;&lt;br /&gt;&lt;/span&gt; &lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: #666666;"&gt;&amp;gt; Untar and unzip&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: #666666;"&gt;sudo tar -xvf &lt;/span&gt;&lt;package&gt;&lt;span class="Apple-style-span" style="color: #666666;"&gt;&lt;package&gt;&lt;/package&gt;&lt;/span&gt;&lt;/package&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: #666666;"&gt;&lt;br /&gt;&lt;/span&gt; &lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: #666666;"&gt;&amp;gt; cd &lt;/span&gt;&lt;package&gt;&lt;span class="Apple-style-span" style="color: #666666;"&gt;&lt;package&gt;&lt;/package&gt;&lt;/span&gt;&lt;/package&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: #666666;"&gt;&lt;br /&gt;&lt;/span&gt; &lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: #666666;"&gt;&amp;gt;sudo ./configure &lt;arguments&gt;&lt;/arguments&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: #666666;"&gt;You need to have Xcode tools installed in your system for configuration and installation. You can get a list of arguments for ./configure by typing "-help" as the argument for ./configure.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: #666666;"&gt;&lt;br /&gt;&lt;/span&gt; &lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: #666666;"&gt;&amp;gt;sudo make&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: #666666;"&gt;&lt;br /&gt;&lt;/span&gt; &lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: #666666;"&gt;&amp;gt;sudo make install&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: #666666;"&gt;&lt;br /&gt;&lt;/span&gt; &lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: #666666;"&gt;&lt;br /&gt;&lt;/span&gt; &lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: #666666;"&gt;Ypu can achieve the whole installation in just a single line complex command,&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: #666666;"&gt;&lt;br /&gt;&lt;/span&gt; &lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: #666666;"&gt;&amp;gt; sudo ./configure &amp;amp;&amp;amp; make &amp;amp;&amp;amp; make install&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: #666666;"&gt;Enjoy wget!!!!!&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: #666666;"&gt;&lt;br /&gt;&lt;/span&gt; &lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: #666666;"&gt;In principle, configuration making and make install should go without any major problem.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: #666666;"&gt;&lt;br /&gt;&lt;/span&gt; &lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: #666666;"&gt;Write me, if you encounter any error.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: #666666;"&gt;&lt;br /&gt;&lt;/span&gt; &lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: #666666;"&gt;If you need binaries(hopefuly, you won't be as lazy as me!!), leave me your mail id!&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: #666666;"&gt;&lt;br /&gt;&lt;/span&gt; &lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: #666666;"&gt;&lt;br /&gt;&lt;/span&gt; &lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6360691375213332318-7478411356567030400?l=spinchoreographer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://spinchoreographer.blogspot.com/feeds/7478411356567030400/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://spinchoreographer.blogspot.com/2009/04/wget-in-mac-os-x-leopard-1056.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6360691375213332318/posts/default/7478411356567030400'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6360691375213332318/posts/default/7478411356567030400'/><link rel='alternate' type='text/html' href='http://spinchoreographer.blogspot.com/2009/04/wget-in-mac-os-x-leopard-1056.html' title='Wget in Mac OS X Leopard 10.5.6'/><author><name>SpinChoreographer</name><uri>http://www.blogger.com/profile/16975267499770145800</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_jh9W-WUhOLI/S95pwE_vMQI/AAAAAAAAAgo/th1Z2V7TG64/S220/BabyTux.png'/></author><thr:total>0</thr:total></entry></feed>
