<?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>james.murty.org &#187; shell</title> <atom:link href="http://james.murty.org/archives/tag/shell/feed/" rel="self" type="application/rss+xml" /><link>http://james.murty.org</link> <description>ramblings from the sleep deprived mind of James</description> <lastBuildDate>Wed, 23 Nov 2011 01:14:15 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>issues with isightcapture — resolved</title><link>http://james.murty.org/archives/2008/11/28/issues-with-isightcapture-%e2%80%94-resolved/</link> <comments>http://james.murty.org/archives/2008/11/28/issues-with-isightcapture-%e2%80%94-resolved/#comments</comments> <pubDate>Fri, 28 Nov 2008 00:55:57 +0000</pubDate> <dc:creator>james</dc:creator> <category><![CDATA[nerdy]]></category> <category><![CDATA[cam]]></category> <category><![CDATA[isight]]></category> <category><![CDATA[isightcapture]]></category> <category><![CDATA[mac tips]]></category> <category><![CDATA[macosx]]></category> <category><![CDATA[security]]></category> <category><![CDATA[shell]]></category> <category><![CDATA[timelapse]]></category> <category><![CDATA[webcam]]></category> <guid
isPermaLink="false">http://james.murty.org/?p=240</guid> <description><![CDATA[So I&#8217;ve been trying to get Axel Bauer&#8216;s isightcapture utility to work again for ages. It used to work great, I&#8217;ve used it for years, then a while ago (maybe 6 months ago) it stopped working as did a bunch of other interesting utilities and applications that depend on it including really useful stuff like [...]]]></description> <content:encoded><![CDATA[<p>So I&#8217;ve been trying to get <a
href="http://www.intergalactic.de/pages/Home.html">Axel Bauer</a>&#8216;s <a
href="http://www.intergalactic.de/pages/iSight.html">isightcapture</a> utility to work again for ages. It used to work great, I&#8217;ve used it for years, then a while ago (maybe 6 months ago) it stopped working as did a bunch of other interesting utilities and applications that depend on it  including really useful stuff like the security tool from the University of Washington, <a
href="http://adeona.cs.washington.edu/">Adeona</a>, and <a
href="http://www.klieme.com/">Stefan Klieme</a>&#8216;s timed picture capture utlility <a
href="http://www.klieme.com/EyeSight.html">EyeSight</a></p><p>Anyways, <a
href="http://james.murty.org/archives/2007/11/23/turkeyday07-tshirt-design/">Turkey Day</a> is coming up again, and there&#8217;s demand to do another <a
href="http://james.murty.org/archives/2006/11/26/turkey-day/">time lapse</a> recording of the event. Therefore I had some incentive to fix the problem once and for all.</p><p>isightcapture was failing to acquire an image and was simply returning the following:<br
/> <code>Fylgia:Desktop james$ isightcapture out.jpg<br
/> Bus error<br
/> </code></p><p>When I ran EyeSight fortunately I got the option to generate an error report and here&#8217;s where I saw something interesting:<br
/> <a
href="http://james.murty.org/wp-content/uploads/2008/11/problem-report-for-isightcapture.jpg"><img
class="aligncenter size-medium wp-image-242" title="problem-report-for-isightcapture" src="http://james.murty.org/wp-content/uploads/2008/11/problem-report-for-isightcapture-490x350.jpg" alt="" width="490" height="350" /></a></p><p>i.e. there&#8217;s some QuickTime component installed that I vaguely remember installing but can&#8217;t remember why:<br
/> <code>Fylgia:Desktop james$ locate CamCam<br
/> /Library/QuickTime/CamCamX5.component<br
/> /Library/QuickTime/CamCamX5.component/Contents<br
/> /Library/QuickTime/CamCamX5.component/Contents/Info.plist<br
/> /Library/QuickTime/CamCamX5.component/Contents/MacOS<br
/> /Library/QuickTime/CamCamX5.component/Contents/MacOS/CamCamX5<br
/> /Library/QuickTime/CamCamX5.component/Contents/Resources<br
/> /Library/QuickTime/CamCamX5.component/Contents/Resources/CamCamX5.icns<br
/> /Library/QuickTime/CamCamX5.component/Contents/Resources/CamCamX5.rsrc<br
/> /Library/QuickTime/CamCamX5.component/Contents/Resources/English.lproj<br
/> /Library/QuickTime/CamCamX5.component/Contents/Resources/English.lproj/InfoPlist.strings<br
/> /Library/Receipts/boms/com.b-l-a-c-k-o-p.CamCamX5.pkg.bom<br
/> </code></p><blockquote><figure><a
href="http://b-l-a-c-k-o-p.com/CamCamX.html">CamCamX</a> is a 6&#215;2 video mixer. Use it to create LIVE TV webcasts using only your Mac, iSight, pictures and movie files. Since CamCamX virtualizes the webcam (iSight camera) in your Mac you can use all your favorite cam applications AT THE SAME TIME. CamCamX also makes non-Apple webcams iSight compatible (via emulation).</p></blockquote><p>That definitely sounds like something that could be causing the problem, and sure enough, upon deleting the component isightcapture now ran but generated a new error:</p><p><code>Fylgia:Desktop james$ isightcapture -t png output.png<br
/> [000:000] Error(magiccammac.cc:265): MagicCam 0: MagicCamOpen: Not an allowed process!<br
/> [000:000] Error(magiccammac.cc:265): MagicCam 1: MagicCamOpen: Not an allowed process!<br
/> </code></p><p>I figured it might be some other QuickTime component causing this error as well and noticed these in /Library/Quicktime/<br
/> <a
href="http://james.murty.org/wp-content/uploads/2008/11/quicktime.jpg"><img
class="aligncenter size-medium wp-image-246" title="quicktime" src="http://james.murty.org/wp-content/uploads/2008/11/quicktime-489x307.jpg" alt="" width="489" height="307" /></a></figure><p>MagicCam 0 and 1, Google Camera Adapter 0 and 1. I&#8217;m assuming these are part of the <a
href="http://mail.google.com/videochat">Google Voice and Video Chat</a> functionality I installed a couple of weeks back. Pulling them out of /Library/QuickTime made the error go away but since they don&#8217;t stop isightcapture from working I&#8217;m going to leave them installed.</p> ]]></content:encoded> <wfw:commentRss>http://james.murty.org/archives/2008/11/28/issues-with-isightcapture-%e2%80%94-resolved/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>colouring in the Terminal</title><link>http://james.murty.org/archives/2005/01/08/colour-terminal/</link> <comments>http://james.murty.org/archives/2005/01/08/colour-terminal/#comments</comments> <pubDate>Sat, 08 Jan 2005 07:40:30 +0000</pubDate> <dc:creator>james</dc:creator> <category><![CDATA[nerdy]]></category> <category><![CDATA[color]]></category> <category><![CDATA[mac]]></category> <category><![CDATA[mac tips]]></category> <category><![CDATA[macosx]]></category> <category><![CDATA[shell]]></category> <category><![CDATA[terminal]]></category> <guid
isPermaLink="false">http://musashi.murty.org/archives/2005/01/08/colour-terminal/</guid> <description><![CDATA[a few ideas for using colour within Apple's Terminal application]]></description> <content:encoded><![CDATA[<p>Scott P recently sent me an email which mentioned his discovery that you can change the colour of the text and backgrounds (as well as transparency) of each Apple Terminal window.</p><p>For those of you who haven&#8217;t found these settings, select <em>Window Settings&#8230;</em> under the <em>Terminal</em> menu and then choose the <em>Color</em> menu option. Apple&#8217;s default is black text on a white background, rather like the default for most windows on the Mac since way back when. Personally, I&#8217;ve been using orange on black and green on black for nostalgic reasons since I first got my hands on OS X.</p><p>You can also modify the font and the look of the cursor/prompt from within the <em>Display</em> menu option. Again, for nostalgic reasons, I like a blinking block. But, hey, the first computer I ever used on a regular basis was an Apple ][ with a green screen monitor and the first computer I ever owned had an amber monitor. Happy days <img
src='http://james.murty.org/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /></p><p>Anywho, my conversation with Scott reminded me of a couple of things I&#8217;ve found in addition to playing around with the above that may benefit/interest some of you. The first is the use of the &#8220;<code>-G</code>&#8221; argument when using the &#8220;<code>ls</code>&#8221; command line directory listing command. This argument will colourise the output making it visually obvious which items are files, folders, executable, hidden, etc. If you like this, make either a new command like &#8220;<code>lc</code>&#8221; using an alias, or simply replace the existing <code>ls</code> command with an alias to <code>ls -G</code> and add to your <code>.bash_profile</code> or <code>.profile</code> file. Something like <code>alias ls="ls -G"</code> will do the trick.</p><p>Another useful thing to have is Mike Solomon&#8217;s <a
href="http://culater.net/software/TerminalColors/TerminalColors.php" target="_blank">TerminalColors</a>. It adds a new pane to the Window Settings&#8230; menu option mentioned above that allows you to tweak the colours used by the terminal for displaying text. Some colours (like blue) are almost impossible to read clearly over black.</p><p>My final thought on colour which may be interesting to some of you is a thing I saw on <a
href="http://www.macosxhints.com" target="_blank">Mac OS X hints</a> a while back. An anonymous poster <a
href="http://www.macosxhints.com/article.php?story=20040823015557368" target="_blank">submitted a script</a> for <code>tcsh</code> that randomly changes the background and text colour of each new Terminal window as they are created. An interesting conversation follows with many of other ideas about how this can be done more efficiently. I haven&#8217;t used any of that stuff myself &#8211; but it occurs to me that it might be useful to have a script that automatically changes the tint of a Terminal window when something is being executed as root or privileges have been elevated using <code>sudo</code>.</p> ]]></content:encoded> <wfw:commentRss>http://james.murty.org/archives/2005/01/08/colour-terminal/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> </channel> </rss>
