<?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>www.anthonysmith.me.uk &#187; Macs</title>
	<atom:link href="http://www.anthonysmith.me.uk/tag/macs/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.anthonysmith.me.uk</link>
	<description>Ceci n&#039;est pas un blog</description>
	<lastBuildDate>Wed, 08 Feb 2012 17:07:24 +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>A proper UK keyboard layout for Mac</title>
		<link>http://www.anthonysmith.me.uk/2010/02/17/a-proper-uk-keyboard-layout-for-mac/</link>
		<comments>http://www.anthonysmith.me.uk/2010/02/17/a-proper-uk-keyboard-layout-for-mac/#comments</comments>
		<pubDate>Wed, 17 Feb 2010 18:28:35 +0000</pubDate>
		<dc:creator>Anthony</dc:creator>
				<category><![CDATA[Computing]]></category>
		<category><![CDATA[Macs]]></category>

		<guid isPermaLink="false">http://www.anthonysmith.me.uk/?p=536</guid>
		<description><![CDATA[Macs are marvellous. So many differences. Better in every way. But, having said that, some of the more trivial differences just plain irritating. For example, the keyboard layout. Why does the "British" keyboard layout switch @ and ", switch &#124; and ~, put ` in place of \ and \ in place of #? Why?&#8230;]]></description>
			<content:encoded><![CDATA[<p>Macs are marvellous. So many differences. Better in every way. But, having said that, some of the more trivial differences just plain irritating. For example, the keyboard layout. Why does the "British" keyboard layout switch @ and ", switch | and ~, put ` in place of \ and \ in place of #? Why? Why? Hold on, where is #? Well, duh! Alt-3, of course! And - remember how expensive real estate is on a keyboard - why on earth is there a <em>whole key</em> devoted to § and ±?</p>
<p>I had almost got used to this - part of the initiation rite as a Mac devotee - but now I have two machines on my desk at work, with different keyboard layouts, so it's driving me pretty crazy. Enough is enough. <a href="http://blob.inf.ed.ac.uk/gdutton/2009/08/real-mac-uk-keyboard-layout/">Real Mac UK Keyboard Layout</a> (hat tip: <a href="http://www.serberus.net/2010/02/17/a-real-uk-keyboard-layout-for-mac-os-x-10-6-snow-leopard/">Greg Knapp</a>).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.anthonysmith.me.uk/2010/02/17/a-proper-uk-keyboard-layout-for-mac/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Gmail on Apple Mail</title>
		<link>http://www.anthonysmith.me.uk/2009/10/03/gmail-on-apple-mail/</link>
		<comments>http://www.anthonysmith.me.uk/2009/10/03/gmail-on-apple-mail/#comments</comments>
		<pubDate>Sat, 03 Oct 2009 11:47:07 +0000</pubDate>
		<dc:creator>Anthony</dc:creator>
				<category><![CDATA[Computing]]></category>
		<category><![CDATA[Gmail]]></category>
		<category><![CDATA[Macs]]></category>

		<guid isPermaLink="false">http://www.anthonysmith.me.uk/?p=482</guid>
		<description><![CDATA[Well, Sussex University email is hopelessly (yes, hopelessly) broken this weekend, so now seems a good time to switch to a proper email provider for my primary account. Gmail seems to be the best of the bunch by far, offering IMAP and an excellent webmail interface, free of charge. (Yahoo won't give you IMAP access,&#8230;]]></description>
			<content:encoded><![CDATA[<p>Well, Sussex University email is hopelessly (yes, hopelessly) broken this weekend, so now seems a good time to switch to a <em>proper</em> email provider for my primary account.</p>
<p><a href="http://mail.google.com/">Gmail</a> seems to be the best of the bunch by far, offering <a href="http://en.wikipedia.org/wiki/IMAP">IMAP</a> and an excellent webmail interface, free of charge. (Yahoo won't give you IMAP access, and Hotmail ... enough said!) I'm using Apple Mail on the Mac, and setup was easy, thanks to <a href="http://www.geekology.co.za/blog/2009/02/configure-gmail-imap-accounts-properly-in-apple-mail-and-on-the-iphone/">some helpful instructions on Geekology</a> (I didn't use the "IMAP Path Prefix" bit though). A few very minor issues (such as the way many messages appear twice or several times when you seach in "All Mailboxes"), but I'm very happy so far. Except that I still have 191 messages waiting to be dealt with, plus however many are sitting in a queue (I hope!) at Sussex...</p>
]]></content:encoded>
			<wfw:commentRss>http://www.anthonysmith.me.uk/2009/10/03/gmail-on-apple-mail/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MacBook Wheel</title>
		<link>http://www.anthonysmith.me.uk/2009/01/07/macbook-wheel/</link>
		<comments>http://www.anthonysmith.me.uk/2009/01/07/macbook-wheel/#comments</comments>
		<pubDate>Wed, 07 Jan 2009 09:10:37 +0000</pubDate>
		<dc:creator>Anthony</dc:creator>
				<category><![CDATA[Computing]]></category>
		<category><![CDATA[Macs]]></category>

		<guid isPermaLink="false">http://www.anthonysmith.me.uk/?p=284</guid>
		<description><![CDATA[Apple Introduces Revolutionary New Laptop With No Keyboard]]></description>
			<content:encoded><![CDATA[<p><object width="400" height="355"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://www.theonion.com/content/themes/common/assets/onn_embed/embedded_player.swf?image=http%3A%2F%2Fwww.theonion.com%2Fcontent%2Ffiles%2Fimages%2FNO_KEYBOARD_article.jpg&#038;videoid=92328&#038;title=Apple%20Introduces%20Revolutionary%20New%20Laptop%20With%20No%20Keyboard" /><param name="wmode" value="transparent" /><embed src="http://www.theonion.com/content/themes/common/assets/onn_embed/embedded_player.swf"type="application/x-shockwave-flash" allowScriptAccess="always" allowFullScreen="true" wmode="transparent" width="480" height="430"flashvars="image=http%3A%2F%2Fwww.theonion.com%2Fcontent%2Ffiles%2Fimages%2FNO_KEYBOARD_article.jpg&#038;videoid=92328&#038;title=Apple%20Introduces%20Revolutionary%20New%20Laptop%20With%20No%20Keyboard"></embed></object><br /><a href="http://www.theonion.com/content/video/apple_introduces_revolutionary?utm_source=videoembed">Apple Introduces Revolutionary New Laptop With No Keyboard</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.anthonysmith.me.uk/2009/01/07/macbook-wheel/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Moving files to trash from the Mac command line</title>
		<link>http://www.anthonysmith.me.uk/2008/01/08/moving-files-to-trash-from-the-mac-command-line/</link>
		<comments>http://www.anthonysmith.me.uk/2008/01/08/moving-files-to-trash-from-the-mac-command-line/#comments</comments>
		<pubDate>Tue, 08 Jan 2008 15:58:24 +0000</pubDate>
		<dc:creator>Anthony</dc:creator>
				<category><![CDATA[Computing]]></category>
		<category><![CDATA[Bash]]></category>
		<category><![CDATA[Macs]]></category>
		<category><![CDATA[Python]]></category>

		<guid isPermaLink="false">http://www.anthonysmith.me.uk/2008/01/08/moving-files-to-trash-from-the-mac-command-line/</guid>
		<description><![CDATA[Ever wished you could move files to the trash from the command line on the Mac? Here's how. First, buy a Mac. Then Option 1 (uses bash): add the following to your ~/.bash_profile function rem &#123; for b in &#34;$@&#34; do osascript -e &#34;tell app \&#34;Finder\&#34; to delete POSIX file \&#34;${PWD}/$b\&#34;&#34; done &#125; Then type&#8230;]]></description>
			<content:encoded><![CDATA[<p>Ever wished you could move files to the trash from the command line on the Mac? Here's how.</p>
<p>First, buy a Mac. Then</p>
<p><span id="more-88"></span></p>
<p>Option 1 (uses bash): add the following to your ~/.bash_profile</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">function</span> rem <span style="color: #7a0874; font-weight: bold;">&#123;</span>
<span style="color: #000000; font-weight: bold;">for</span> b <span style="color: #000000; font-weight: bold;">in</span> <span style="color: #ff0000;">&quot;$@&quot;</span>
<span style="color: #000000; font-weight: bold;">do</span>
osascript <span style="color: #660033;">-e</span> <span style="color: #ff0000;">&quot;tell app <span style="color: #000099; font-weight: bold;">\&quot;</span>Finder<span style="color: #000099; font-weight: bold;">\&quot;</span> to delete POSIX file <span style="color: #000099; font-weight: bold;">\&quot;</span><span style="color: #007800;">${PWD}</span>/<span style="color: #007800;">$b</span><span style="color: #000099; font-weight: bold;">\&quot;</span>&quot;</span>
<span style="color: #000000; font-weight: bold;">done</span>
<span style="color: #7a0874; font-weight: bold;">&#125;</span></pre></div></div>

<p>Then type 'source ~/.bash_profile' in Terminal.</p>
<p>Or Option 2 (uses Python and gives slightly more meaningful error messages): make an executable file called 'rem' somewhere in your $PATH:</p>

<div class="wp_syntax"><div class="code"><pre class="python" style="font-family:monospace;"><span style="color: #808080; font-style: italic;">#! /usr/bin/python</span>
<span style="color: #ff7700;font-weight:bold;">import</span> <span style="color: #dc143c;">os</span>
<span style="color: #ff7700;font-weight:bold;">import</span> <span style="color: #dc143c;">sys</span>
<span style="color: #ff7700;font-weight:bold;">if</span> <span style="color: #008000;">len</span><span style="color: black;">&#40;</span><span style="color: #dc143c;">sys</span>.<span style="color: black;">argv</span><span style="color: black;">&#41;</span> <span style="color: #66cc66;">&amp;</span>gt<span style="color: #66cc66;">;</span> <span style="color: #ff4500;">1</span>:
    <span style="color: #ff7700;font-weight:bold;">for</span> arg <span style="color: #ff7700;font-weight:bold;">in</span> <span style="color: #dc143c;">sys</span>.<span style="color: black;">argv</span><span style="color: black;">&#91;</span><span style="color: #ff4500;">1</span>:<span style="color: black;">&#93;</span>:
        <span style="color: #ff7700;font-weight:bold;">if</span> <span style="color: #dc143c;">os</span>.<span style="color: black;">path</span>.<span style="color: black;">exists</span><span style="color: black;">&#40;</span>arg<span style="color: black;">&#41;</span>:
            <span style="color: #dc143c;">os</span>.<span style="color: black;">system</span><span style="color: black;">&#40;</span><span style="color: #483d8b;">'osascript -e <span style="color: #000099; font-weight: bold;">\'</span>tell app &quot;Finder&quot; '</span>
                      + <span style="color: #483d8b;">'to move the POSIX file &quot;'</span>
                      + <span style="color: #dc143c;">os</span>.<span style="color: black;">path</span>.<span style="color: black;">abspath</span><span style="color: black;">&#40;</span>arg<span style="color: black;">&#41;</span> + <span style="color: #483d8b;">'&quot; to trash<span style="color: #000099; font-weight: bold;">\'</span>'</span><span style="color: black;">&#41;</span>
        <span style="color: #ff7700;font-weight:bold;">else</span>:
            <span style="color: #ff7700;font-weight:bold;">print</span> <span style="color: #483d8b;">&quot;Error:&quot;</span>, <span style="color: #dc143c;">os</span>.<span style="color: black;">path</span>.<span style="color: black;">abspath</span><span style="color: black;">&#40;</span>arg<span style="color: black;">&#41;</span>, <span style="color: #483d8b;">&quot;does not exist&quot;</span>
<span style="color: #ff7700;font-weight:bold;">else</span>:
    <span style="color: #ff7700;font-weight:bold;">print</span> <span style="color: #483d8b;">&quot;usage: rem file(s)&quot;</span>
    <span style="color: #ff7700;font-weight:bold;">print</span> <span style="color: #483d8b;">&quot;       move file(s) to Trash&quot;</span></pre></div></div>

<p>Now, either way, to move 'blah.txt' to Trash, simply type 'rem blah.txt'. Wildcards and lists of files are permitted. You even get the sound effects!</p>
<p>(This makes use of Applescript and works for me on OS X Tiger and Leopard. Thanks to kw for pointing out the problem with Option 1 and leading me to think of an alternative - 3 July 2008. And thanks for icke for showing me how to make the bash version work all the time - 6 Nov 2008.)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.anthonysmith.me.uk/2008/01/08/moving-files-to-trash-from-the-mac-command-line/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Firefox or Safari?</title>
		<link>http://www.anthonysmith.me.uk/2006/07/10/firefox-or-safari/</link>
		<comments>http://www.anthonysmith.me.uk/2006/07/10/firefox-or-safari/#comments</comments>
		<pubDate>Mon, 10 Jul 2006 08:43:54 +0000</pubDate>
		<dc:creator>Anthony</dc:creator>
				<category><![CDATA[Computing]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Macs]]></category>
		<category><![CDATA[Safari]]></category>

		<guid isPermaLink="false">http://www.anthonysmith.me.uk/2006/07/10/firefox-or-safari/</guid>
		<description><![CDATA[I've been using Firefox for a good while now as my web-browser. It's been the obvious browser to use on Linux and I've found it much better than Internet Explorer 6 on Windows (but, to be fair, I haven't yet given IE7 a chance). But now I'm using a Mac and I might have to&#8230;]]></description>
			<content:encoded><![CDATA[<p>I've been using <a href="http://www.mozilla.com/firefox/">Firefox</a> for a good while now as my web-browser. It's been the obvious browser to use on Linux and I've found it much better than Internet Explorer 6 on Windows (but, to be fair, I haven't yet given IE7 a chance). But now I'm using a Mac and I might have to make a decision: Firefox or Safari?</p>
<p>Both have:</p>
<ul>
<li>Easily-accessible search box in top-right</li>
<li>Tabbed browsing</li>
<li>Most other useful things</li>
</ul>
<p>In favour of Firefox:</p>
<ul>
<li>Same on all platforms: Windows, Linux, Mac. Big plus for me, as I use all three on a regular basis.</li>
<li>Interactive search (Ctrl-F etc).</li>
<li>Quick Searches, e.g., "wp cucumber" gets me the Wikipedia article on cucumbers.</li>
<li>The WYSIWYG editor for this blog doesn't work on Safari.</li>
<li>Lots of extensions available: if I think, "I wish Firefox did xyz," then xyz is probably available on the <a href="https://addons.mozilla.org/firefox/">Firefox Add-ons page</a>.</li>
</ul>
<p>In favour of Safari:</p>
<ul>
<li>It looks nice.</li>
<li>Surely it's disloyal to use non-Mac software? Let me explain. Macs seem to be very integrated. Rather than switching the computer on to find that it does nothing, when you switch on the Mac it has everything there already - Apple Mail, iTunes, iCal, iPhoto, ... and Safari. And it's all good stuff, so there isn't really any need to search around for better software. So any "proper" Mac user will be a Safari user. (Not sure whether I like this or hate this. On the one hand, who needs a choice when you've got the best option already? But on the other hand, being able to shop around and then actively make a choice feels like a fundamental human right. Really - it would rob me of my dignity as a human being if I couldn't download Firefox. I have the right to choose!)</li>
<li>Better RSS features (but I use <a href="http://www.bloglines.com/">Bloglines</a> anyway).</li>
</ul>
<p>Think Firefox wins. For now, at least. Especially now that I have the <a href="http://www.takebacktheweb.org/">GrApple (Brushed)</a> theme to make it look like Safari.</p>
<p>(Update: Firefox is being really slow this morning. I'm posting this using Safari.)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.anthonysmith.me.uk/2006/07/10/firefox-or-safari/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
	</channel>
</rss>

