<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Defective Semantics &#187; leopard</title>
	<atom:link href="http://scarff.id.au/blog/tag/leopard/feed/" rel="self" type="application/rss+xml" />
	<link>http://scarff.id.au</link>
	<description>Dean Scarff's perpetual struggle with technology, and other anecdotes</description>
	<lastBuildDate>Thu, 03 Nov 2011 22:39:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>blur for iTerm</title>
		<link>http://scarff.id.au/blog/2008/blur-for-iterm/</link>
		<comments>http://scarff.id.au/blog/2008/blur-for-iterm/#comments</comments>
		<pubDate>Wed, 02 Jul 2008 20:56:28 +0000</pubDate>
		<dc:creator>Dean</dc:creator>
				<category><![CDATA[Programs]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Core Image]]></category>
		<category><![CDATA[glass]]></category>
		<category><![CDATA[iTerm]]></category>
		<category><![CDATA[leopard]]></category>
		<category><![CDATA[transparency]]></category>

		<guid isPermaLink="false">http://scarff.id.au/?p=65</guid>
		<description><![CDATA[<p>I&#8217;ve been a fan of terminal transparency since there have been terminal-emulators that supported it (although in the old days, it was just showing the X11 root window with some tinting).  I&#8217;m not alone, and similar terminal-emulator users have been ahead of their time with respect to the transparency-fetish that is now popular.</p>
<p>Back on Windows 2k and xp there were various hacks that could turn a window transparent (I used one that came with my nVidia drivers).  They weren&#8217;t perfect, as the transparency included the window borders and chrome, but they granted <strong>real</strong> transparency: where the background is a composition of alpha-blended windows.  This added a little bit of depth to the desktop, rather than just having pretty terminal backgrounds.</p>
<p>When I moved to OS X, iTerm did it properly (i.e. without making the UI parts transparent).  However, at the end of a long night hacking, with several accumulated&#8230; <a href="http://scarff.id.au/blog/2008/blur-for-iterm/" class="read_more">more</a></p>]]></description>
			<content:encoded><![CDATA[<div id="attachment_86" class="wp-caption aligncenter" style="width: 490px"><a href="http://scarff.id.au/blog/wp-content/uploads/2008/07/itermblur2.png"><img src="http://scarff.id.au/blog/wp-content/uploads/2008/07/itermblur2.png" alt="iTerm+blur screenshot" title="itermblur2" width="480" height="480" class="size-full wp-image-86" /></a><p class="wp-caption-text">iTerm+blur screenshot</p></div>
<p>I&#8217;ve been a fan of terminal transparency since there have been terminal-emulators that supported it (although in the <a href="http://p00ya.deviantart.com/art/daft-on-Debian-2321793">old days</a>, it was just showing the X11 root window with some tinting).  I&#8217;m not alone, and similar terminal-emulator users have been ahead of their time with respect to the transparency-fetish that is now popular.</p>
<p>Back on Windows 2k and xp there were various hacks that could turn a window transparent (I used one that came with my nVidia drivers).  They weren&#8217;t perfect, as the transparency included the window borders and chrome, but they granted <strong>real</strong> transparency: where the background is a composition of alpha-blended windows.  This added a little bit of depth to the desktop, rather than just having pretty terminal backgrounds.</p>
<p>When I moved to OS X, <a href="http://iterm.sf.net">iTerm</a> did it properly (i.e. without making the UI parts transparent).  However, at the end of a long night hacking, with several accumulated editor and terminal windows full of text merged on top of each other, there is a serious readability problem with low opacities.</p>
<p>I use transparency because:</p>
<ol>
<li>It&#8217;s easier on the eyes than high-contrast text-on-black.</li>
<li>It&#8217;s multiplexing content from multiple windows without consuming screen resolution.  This is a fidelity trade-off: as the visibility of lower layers of text increases, the accuity of the frontmost (focused) layer decreases.</li>
<li>It impresses others.</li>
</ol>
<p>When I saw Vista&#8217;s glass effect, the first thing I thought was &#8220;finally the answer to stacking translucent terminals!&#8221;.  Combining blurring with transparency preserves the accuity of the focused window while transmitting enough information to be useful.  So you won&#8217;t be able to transcribe text from below, but you can see if there&#8217;s, say, a burst of activity in IRC.</p>
<p>I suspect Microsoft got some IP rights on it, because Leopard has the most subtle application of transparency+blurring ever (in sheets and the menu bar), compared to Aero&#8217;s egregious UI-glassing.  However, the imporant thing is that the new <a href="http://developer.apple.com/documentation/GraphicsImaging/Reference/CoreImageFilterReference/index.html">Core Image filters</a> can be applied to windows, with a compositing mode that is perfect for terminals (and text editors for that matter).</p>
<p>One stumbling block is that the API to apply window filters is undocumented.  Fortunately, thanks to the <a href="http://alacatialabs.com/toys/cgsinternal/">CGSInternal</a> headers some of this API has been exposed.</p>
<p>It&#8217;s already been <a href="http://ciaranwal.sh/2007/11/16/blurminal">exploited</a> for Apple&#8217;s Terminal.app, but that requires Input Manager patching hacks.  I gave reasons why I prefer iTerm in my last post, but here&#8217;s another one: it&#8217;s open source and so I can add blurring in myself.</p>
<p><small class="postscript">Update: check out the source at <a href="http://github.com/p00ya/iterm/">github</a>, or the <a href="http://scarff.id.au/file/iTerm+blur.dmg">built binary</a>.</small></p>
<p><small class="postscript">Update: The patch has been merged into <a href="http://iterm.sourceforge.net/download.shtml">upstream CVS</a>. Yay!</small></p>
]]></content:encoded>
			<wfw:commentRss>http://scarff.id.au/blog/2008/blur-for-iterm/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Leopard ahoy!</title>
		<link>http://scarff.id.au/blog/2008/leopard-ahoy/</link>
		<comments>http://scarff.id.au/blog/2008/leopard-ahoy/#comments</comments>
		<pubDate>Tue, 01 Jul 2008 15:06:04 +0000</pubDate>
		<dc:creator>Dean</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[fink]]></category>
		<category><![CDATA[leopard]]></category>
		<category><![CDATA[mac os x]]></category>
		<category><![CDATA[x11]]></category>

		<guid isPermaLink="false">http://scarff.id.au/?p=56</guid>
		<description><![CDATA[<p>Now that fink has finally started to show some maturing support for Mac OS X 10.5, I&#8217;ve upgraded on scud.</p>
<p>I re-used my home directory from Tiger, without any help of migration tools other than chown.  Mail.app upgraded its data and so far everything&#8217;s gone smoothly.</p>
<p>Managing users has changed a bit: you have to Ctrl+click the account in System Preferences and select &#8220;Advanced Options&#8221; to change the usual POSIX fields.  If you&#8217;re serious, check out dscl(1):</p>
<pre class="literal-block sh">
 dscl . -read /Users/$(whoami)
</pre>
<p>Looks like Apple&#8217;s Terminal.app has improved a great deal, almost surpassing iTerm.  However, it still fails short in the tab apartment: AFAICS Terminal.app&#8217;s tab titles always display the process name and don&#8217;t respond to the usual xterm escape codes, and the visual style of the tabbar isn&#8217;t nearly as nice as iTerm&#8217;s Aqua style.</p>
<p>Trying to switch to fink unstable doesn&#8217;t work as advertised: you&#8230; <a href="http://scarff.id.au/blog/2008/leopard-ahoy/" class="read_more">more</a></p>]]></description>
			<content:encoded><![CDATA[<p>Now that fink has finally started to show some maturing support for Mac OS X 10.5, I&#8217;ve upgraded on scud.</p>
<p>I re-used my home directory from Tiger, without any help of migration tools other than chown.  Mail.app upgraded its data and so far everything&#8217;s gone smoothly.</p>
<p>Managing users has changed a bit: you have to Ctrl+click the account in System Preferences and select &#8220;Advanced Options&#8221; to change the usual POSIX fields.  If you&#8217;re serious, check out dscl(1):</p>
<pre class="literal-block sh">
 dscl . -read /Users/$(whoami)
</pre>
<p>Looks like Apple&#8217;s Terminal.app has improved a great deal, almost surpassing iTerm.  However, it still fails short in the tab apartment: AFAICS Terminal.app&#8217;s tab titles always display the process name and don&#8217;t respond to the usual xterm escape codes, and the visual style of the tabbar isn&#8217;t nearly as nice as iTerm&#8217;s Aqua style.</p>
<p>Trying to switch to fink unstable <a href="http://article.gmane.org/gmane.os.macosx.fink.beginners/21598">doesn&#8217;t work as advertised</a>: you must use the CVS method of selfupdate (rsync being the default).</p>
<p>After Software Updating to 10.5.4, X11.app broke.</p>
<blockquote><p>1/07/08 4:04:01 PM org.x.X11[12697] /usr/X11/libexec/x11-exec: Unable to find application for org.x.X11 </p></blockquote>
<p>Since Apple&#8217;s official updates are lagging by more than 6 months, it&#8217;s better just to get it from <a href="http://xquartz.macosforge.org/trac/wiki/Releases">the xquartz project</a>.</p>
<p>Photoshop doesn&#8217;t like case-sensitive filesystems, but there is a (tedious) <a href="http://imaginationunbound.blogspot.com/2007/12/adobe-photoshop-cs3-on-mac-os-x-case.html">workaround</a>.  I totally agree that this is just laziness on the part of the Adobe devs: it would take 1 man less than a day to do the appropriate case consistency changes given the source code: there&#8217;s nothing to break.</p>
]]></content:encoded>
			<wfw:commentRss>http://scarff.id.au/blog/2008/leopard-ahoy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

