<?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: iTerm and Growl</title>
	<atom:link href="http://damonparker.org/blog/2006/11/13/iterm-and-growl/feed/" rel="self" type="application/rss+xml" />
	<link>http://damonparker.org/blog/2006/11/13/iterm-and-growl/</link>
	<description>code / ecommerce / life</description>
	<lastBuildDate>Sat, 21 Jan 2012 20:11:20 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Josh The Geek</title>
		<link>http://damonparker.org/blog/2006/11/13/iterm-and-growl/#comment-26827</link>
		<dc:creator>Josh The Geek</dc:creator>
		<pubDate>Sun, 17 Jul 2011 20:46:58 +0000</pubDate>
		<guid isPermaLink="false">http://damonparker.org/blog/2006/11/13/iterm-and-growl/#comment-26827</guid>
		<description>Thank you!</description>
		<content:encoded><![CDATA[<p>Thank you!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: iTerm2: advanced features : World Gone Web</title>
		<link>http://damonparker.org/blog/2006/11/13/iterm-and-growl/#comment-26738</link>
		<dc:creator>iTerm2: advanced features : World Gone Web</dc:creator>
		<pubDate>Sat, 29 Jan 2011 17:08:28 +0000</pubDate>
		<guid isPermaLink="false">http://damonparker.org/blog/2006/11/13/iterm-and-growl/#comment-26738</guid>
		<description>[...] this is a hard command to remember, Damon Parker suggested adding the following line to your .bashrc or your .bash_profile 1growl&#040;&#041; &#123; echo -e [...]</description>
		<content:encoded><![CDATA[<p>[...] this is a hard command to remember, Damon Parker suggested adding the following line to your .bashrc or your .bash_profile 1growl&#040;&#041; &#123; echo -e [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Notify me when the script is done &#171; oae&#039;s Blog</title>
		<link>http://damonparker.org/blog/2006/11/13/iterm-and-growl/#comment-26562</link>
		<dc:creator>Notify me when the script is done &#171; oae&#039;s Blog</dc:creator>
		<pubDate>Sun, 26 Sep 2010 12:43:22 +0000</pubDate>
		<guid isPermaLink="false">http://damonparker.org/blog/2006/11/13/iterm-and-growl/#comment-26562</guid>
		<description>[...] can fire growl notifications right from the bash to growl (see this blog post). To easify this add the following line to your [...]</description>
		<content:encoded><![CDATA[<p>[...] can fire growl notifications right from the bash to growl (see this blog post). To easify this add the following line to your [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: links for 2009-06-17 &#124; blog/shl@INTERDOSE</title>
		<link>http://damonparker.org/blog/2006/11/13/iterm-and-growl/#comment-26470</link>
		<dc:creator>links for 2009-06-17 &#124; blog/shl@INTERDOSE</dc:creator>
		<pubDate>Tue, 22 Dec 2009 13:07:31 +0000</pubDate>
		<guid isPermaLink="false">http://damonparker.org/blog/2006/11/13/iterm-and-growl/#comment-26470</guid>
		<description>[...] iTerm and Growl &#8211; damonparker.org (tags: apple shell) [...]</description>
		<content:encoded><![CDATA[<p>[...] iTerm and Growl &#8211; damonparker.org (tags: apple shell) [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nobody</title>
		<link>http://damonparker.org/blog/2006/11/13/iterm-and-growl/#comment-26452</link>
		<dc:creator>nobody</dc:creator>
		<pubDate>Tue, 10 Nov 2009 21:28:25 +0000</pubDate>
		<guid isPermaLink="false">http://damonparker.org/blog/2006/11/13/iterm-and-growl/#comment-26452</guid>
		<description>[ccL_bash]growl()
{
        if [ &quot;$TERM_PROGRAM&quot; == &quot;iTerm.app&quot; -a &quot;$TERM&quot; != &quot;screen&quot; ]
        then
                echo -e $&#039;\e]9;&#039;${1}&#039;07&#039;
        else
                growlnotify -m ${1} &quot;Alert&quot;
        fi
}[/ccL_bash]</description>
		<content:encoded><![CDATA[<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">growl<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span><br />
<span style="color: #66cc66;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#91;</span> <span style="color: #ff0000;">&quot;$TERM_PROGRAM&quot;</span> == <span style="color: #ff0000;">&quot;iTerm.app&quot;</span> -a <span style="color: #ff0000;">&quot;$TERM&quot;</span> <span style="color: #66cc66;">!</span>= <span style="color: #ff0000;">&quot;screen&quot;</span> <span style="color: #66cc66;">&#93;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">then</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000066;">echo</span> -e $<span style="color: #ff0000;">'<span style="color: #000099; font-weight: bold;">\e</span>]9;'</span>$<span style="color: #66cc66;">&#123;</span><span style="color: #cc66cc;">1</span><span style="color: #66cc66;">&#125;</span><span style="color: #ff0000;">'07'</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">else</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; growlnotify -m $<span style="color: #66cc66;">&#123;</span><span style="color: #cc66cc;">1</span><span style="color: #66cc66;">&#125;</span> <span style="color: #ff0000;">&quot;Alert&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">fi</span><br />
<span style="color: #66cc66;">&#125;</span></div></div>
]]></content:encoded>
	</item>
	<item>
		<title>By: Evan Krall</title>
		<link>http://damonparker.org/blog/2006/11/13/iterm-and-growl/#comment-26243</link>
		<dc:creator>Evan Krall</dc:creator>
		<pubDate>Sun, 08 Feb 2009 11:54:27 +0000</pubDate>
		<guid isPermaLink="false">http://damonparker.org/blog/2006/11/13/iterm-and-growl/#comment-26243</guid>
		<description>Wow, so I messed that up a little bit.
That should read:

[ccL_bash]growl() { echo $&#039;\e]9;&#039;&quot;${@}&quot;$&#039;07&#039;; }[/ccL_bash]

Also, be careful about the quotes. I&#039;m not sure exactly why, but some of the quotes in my previous post got transformed to forward and backwards quotes, which will mess with things in the shell.</description>
		<content:encoded><![CDATA[<p>Wow, so I messed that up a little bit.<br />
That should read:</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">growl<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span> <span style="color: #000066;">echo</span> $<span style="color: #ff0000;">'<span style="color: #000099; font-weight: bold;">\e</span>]9;'</span><span style="color: #ff0000;">&quot;${@}&quot;</span>$<span style="color: #ff0000;">'07'</span>; <span style="color: #66cc66;">&#125;</span></div></div>
<p>Also, be careful about the quotes. I&#8217;m not sure exactly why, but some of the quotes in my previous post got transformed to forward and backwards quotes, which will mess with things in the shell.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Evan Krall</title>
		<link>http://damonparker.org/blog/2006/11/13/iterm-and-growl/#comment-26242</link>
		<dc:creator>Evan Krall</dc:creator>
		<pubDate>Sun, 08 Feb 2009 10:55:26 +0000</pubDate>
		<guid isPermaLink="false">http://damonparker.org/blog/2006/11/13/iterm-and-growl/#comment-26242</guid>
		<description>You should always quote when you use arguments, unless you have a very good reason not to. Bad things happen otherwise; mostly, newlines and tabs become spaces, globs get expanded, etc. Also, what&#039;s with using echo -e and $&#039; &#039; at the same time?
Here&#039;s a better way, IMO:

growl() { echo $&#039;\e]9;&#039;&quot;${@}&quot;$&#039;07&#039; ; return ; }</description>
		<content:encoded><![CDATA[<p>You should always quote when you use arguments, unless you have a very good reason not to. Bad things happen otherwise; mostly, newlines and tabs become spaces, globs get expanded, etc. Also, what&#8217;s with using echo -e and $&#8217; &#8216; at the same time?<br />
Here&#8217;s a better way, IMO:</p>
<p>growl() { echo $&#8217;\e]9;&#8217;&#8221;${@}&#8221;$&#8217;07&#8242; ; return ; }</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dag HÃ¸idahl</title>
		<link>http://damonparker.org/blog/2006/11/13/iterm-and-growl/#comment-26239</link>
		<dc:creator>Dag HÃ¸idahl</dc:creator>
		<pubDate>Thu, 29 Jan 2009 09:05:51 +0000</pubDate>
		<guid isPermaLink="false">http://damonparker.org/blog/2006/11/13/iterm-and-growl/#comment-26239</guid>
		<description>If you substitue ${1} with ${*} in the shell function, you don&#039;t need to put the notification text within quotes.</description>
		<content:encoded><![CDATA[<p>If you substitue ${1} with ${*} in the shell function, you don&#8217;t need to put the notification text within quotes.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: avdempsey</title>
		<link>http://damonparker.org/blog/2006/11/13/iterm-and-growl/#comment-25618</link>
		<dc:creator>avdempsey</dc:creator>
		<pubDate>Wed, 01 Aug 2007 20:17:14 +0000</pubDate>
		<guid isPermaLink="false">http://damonparker.org/blog/2006/11/13/iterm-and-growl/#comment-25618</guid>
		<description>Works great, good tip. Now, I&#039;m gonna have to figure out how to make growl notifications work for remote jobs.</description>
		<content:encoded><![CDATA[<p>Works great, good tip. Now, I&#8217;m gonna have to figure out how to make growl notifications work for remote jobs.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: oudeis</title>
		<link>http://damonparker.org/blog/2006/11/13/iterm-and-growl/#comment-17151</link>
		<dc:creator>oudeis</dc:creator>
		<pubDate>Mon, 15 Jan 2007 01:58:20 +0000</pubDate>
		<guid isPermaLink="false">http://damonparker.org/blog/2006/11/13/iterm-and-growl/#comment-17151</guid>
		<description>If you want more control or use a different terminal app, you may want to look at growlnotify:
http://growl.info/documentation/growlnotify.php</description>
		<content:encoded><![CDATA[<p>If you want more control or use a different terminal app, you may want to look at growlnotify:<br />
<a href="http://growl.info/documentation/growlnotify.php" rel="nofollow">http://growl.info/documentation/growlnotify.php</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using xcache
Database Caching using xcache
Content Delivery Network via cdn.damonparker.org/q9i5a4w8/cds/dp

Served from: damonparker.org @ 2012-02-10 04:36:05 -->
