<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Mac OS X change the terminal window title</title>
	<atom:link href="http://www.tech-recipes.com/rx/705/mac-os-x-change-the-terminal-window-title/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.tech-recipes.com/rx/705/mac-os-x-change-the-terminal-window-title/</link>
	<description>Computer and technology tutorials and guides</description>
	<lastBuildDate>Sat, 21 Nov 2009 16:14:40 -0800</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: CeriDavies</title>
		<link>http://www.tech-recipes.com/rx/705/mac-os-x-change-the-terminal-window-title/comment-page-1/#comment-16462</link>
		<dc:creator>CeriDavies</dc:creator>
		<pubDate>Fri, 20 Nov 2009 13:48:56 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-16462</guid>
		<description>I put this in my .bashrc&lt;br&gt;echo -n -e &quot; 33]0;`hostname` 07&lt;br&gt;Then on each tab as I log into a different machine (It has to have that line in the .bashrc of the user/machine I&#039;m logging into) it sets the title as I log in to the machine, so all the tabs are correct.&lt;br&gt;And to recover on logout, I put this in the .bash_logout:&lt;br&gt;&lt;br&gt;prev=`who am i &#124; sed -e &quot;s/.*((.*))/1/&quot;`&lt;br&gt;if test ! x$prev = x &lt;br&gt;then&lt;br&gt;    echo -n -e &quot; 33]0;$prev 07&quot;&lt;br&gt;fi&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;alias sett=&quot;echo -n -e &quot; 33]0;`hostname` 07&quot;</description>
		<content:encoded><![CDATA[<p>I put this in my .bashrc<br />echo -n -e &#8220; 33]0;`hostname` 07<br />Then on each tab as I log into a different machine (It has to have that line in the .bashrc of the user/machine I&#39;m logging into) it sets the title as I log in to the machine, so all the tabs are correct.<br />And to recover on logout, I put this in the .bash_logout:</p>
<p>prev=`who am i | sed -e &#8220;s/.*((.*))/1/&#8221;`<br />if test ! x$prev = x <br />then<br />    echo -n -e &#8220; 33]0;$prev 07&#8243;<br />fi</p>
<p>alias sett=&#8221;echo -n -e &#8220; 33]0;`hostname` 07&#8243;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: CeriDavies</title>
		<link>http://www.tech-recipes.com/rx/705/mac-os-x-change-the-terminal-window-title/comment-page-1/#comment-16461</link>
		<dc:creator>CeriDavies</dc:creator>
		<pubDate>Fri, 20 Nov 2009 13:33:59 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-16461</guid>
		<description>Perfect, I put this in my .bashrc and the title changes on each tab as I login&lt;br&gt;&lt;br&gt;echo -n -e &quot; 33]0;`hostname` 07&quot;&lt;br&gt;&lt;br&gt;The only problem I have is that it doesn&#039;t change back, when I get logged out, so I have an alias to reset it...&lt;br&gt;&lt;br&gt;alias sett=&quot;echo -n -e &quot; 33]0;`hostname` 07&quot;</description>
		<content:encoded><![CDATA[<p>Perfect, I put this in my .bashrc and the title changes on each tab as I login</p>
<p>echo -n -e &#8220; 33]0;`hostname` 07&#8243;</p>
<p>The only problem I have is that it doesn&#39;t change back, when I get logged out, so I have an alias to reset it&#8230;</p>
<p>alias sett=&#8221;echo -n -e &#8220; 33]0;`hostname` 07&#8243;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: luca</title>
		<link>http://www.tech-recipes.com/rx/705/mac-os-x-change-the-terminal-window-title/comment-page-1/#comment-10839</link>
		<dc:creator>luca</dc:creator>
		<pubDate>Mon, 27 Apr 2009 05:48:47 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-10839</guid>
		<description>Thanks, works like a charm. However, it doesn&#039;t change the title of a tab, just that of the main windows in which many tabs are contained - so it&#039;s useless to be able to see at a glance which terminal is the one you&#039;re looking for.</description>
		<content:encoded><![CDATA[<p>Thanks, works like a charm. However, it doesn&#39;t change the title of a tab, just that of the main windows in which many tabs are contained &#8211; so it&#39;s useless to be able to see at a glance which terminal is the one you&#39;re looking for.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: des09</title>
		<link>http://www.tech-recipes.com/rx/705/mac-os-x-change-the-terminal-window-title/comment-page-1/#comment-4956</link>
		<dc:creator>des09</dc:creator>
		<pubDate>Sat, 08 Nov 2008 17:46:04 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-4956</guid>
		<description>How would you set the tab title when running multiple tabs?</description>
		<content:encoded><![CDATA[<p>How would you set the tab title when running multiple tabs?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
