Changing Terminal.app ANSI colours

I use Irssi on my mac with Terminal.app in Leopard. All very nice, except that in Terminal.app, the dark gray colour used in my Irssi theme shows black. Black on black doesn’t work very well.

So, I needed something to tweak Terminal.app’s ANSI colours.

Luckely, I found TerminalColor, a SIMBL bundle for Terminal.app. Unfortunately, it didn’t work with Leopard, but I found this developizers blog post on how to make it work!

Yay!

GPRS/3G connections using Mac OS X

Here’s a simple howto to get your Mac internet-connected using GPRS/3G on your bluetooth-equipped phone. I’ve only tested this with my Motorola V3 and Vodafone (Spain), so no guarantees about the other providers, but the main part should be the same.

First, let’s prepare:

  1. download the necessary Modem scripts from http://home2.btconnect.com/Taniwha/. Decompress the StuffIt! file (eg. with The Unarchiver) and copy the files into /Library/Modem Scripts.
  2. check your operator’s settings on this page (for Vodafone, it lists user/password: vodafone/vodafone, and APN airtelnet.es).

Now, set your phone to be detectable, and pair it with the Mac:

  1. Go to System Preferences, Bluetooth, and use ‘Set Up New Device…’. Follow the wizard, and make sure to select ‘Use a direct, higher speed connection to reach your Internet Service Provider (GPRS, 1xRTT)’.
  2. Set the Username and Password as found above (for Vodafone.es: vodafone/vodafone)
  3. Set the GPRS CID string to the APN found above (for Vodafone.es: airtelnet.es)
  4. Select the correct Modem Script for your phone. I used Motorola GPRS CID1
  5. Check ‘Show Bluetooth status’ and ‘Show modem status’.

That’s it. Now you should be able to connect, starting ‘Internet Connect’ and clicking on Connect.

iPhone rant

Really. What’s up with iPhone owners these days? They buy an overpriced piece of equipment, knowing:

  • it’s SIM-locked
  • it’s a closed platform, no 3rd party apps
  • it’s SIM-locked
  • you can’t change the battery yourself
  • did I say it’s SIM-locked?
  • Apple tells them they might void their warranty when modifying the iPhone
  • it’s still SIM-locked. To AT&T.

So, looks like they’ve been warned. But they don’t care, go ahead, and after a while the necessary unlock programs were created (kudos to the devteams who did this, it’s a nice feat of engineering), and iPhones where unlocked, new 3rd party applications were created, the works. Nice.

Next up, Apple comes with a firmware update. Tells people that this might brick their hacked iPhones. Do people heed the warning given by Apple? Nope, they flash anyway, and then loudly complain that their iPhone has become a very expensive paperweight (this can luckely and easily be remedied, it seems).

And then they want to go ahead and sue Apple over it. Really. Get a grip! You bought the piece of hardware which was locked, in more than one way, and you yourself decided to crack it wide open. Though luck than if it breaks – you get to keep all the pieces!

If you wanted to tinker with it, buy a phone with a platform that is open.

EDIT: I’ve stumbled over this blog entry which makes the point nicely.

Linux, distcc and Mac OS X

If you’re like me, and have Fink installed on your Mac and compiling away all those wonderful unix applications, and you have a desktop nearby running linux (with more processor power being unused), you’ll want to setup distcc so you can harnass all that power.

I found a rather nice article that contains a walkthrough on how to get things done.

It works nicely. A few remarks:

  • Download the correct gcc version from Apple. You can check your Mac’s version by running gcc -v:
    $ gcc -v
    Using built-in specs.
    Target: i686-apple-darwin8
    ...
    Thread model: posix
    gcc version 4.0.1 (Apple Computer, Inc. build 5367)

    That build is important.
  • Don’t bother trying to build the odcctools on x86_64. It’s broken, kaput. Install yourself a 32bit chroot and build as from there. Don’t forget to switch back to the 64bit environment when building gcc!

Now, the other thing you need to do is convince fink to use distcc.

After compiling a while, you should have a working distcc setup. Unfortunately, for some reason my distcc’s keep segfaulting on my debian box, so that’s one issue I have to fix. If anyone can help, feel free ;)

Hack a Mac

Anyone want to Hack a Mac and get paid for it? Well, now you can:

TippingPoint, which runs the Zero Day Initiative bug bounty program, is offering to pay $10,000 to the hacker who commandeers one of two MacBooks. The target computers are connected to a wireless access point and fully patched, including the update for 25 vulnerabilities that Apple released on Thursday.

EDIT:
Macworld reports on a winning “hack” claimed by Shane Macaulay and Dino Dai Zovi for the Hack a Mac contest at CanSecWest this week.

Leopard delayed until october…

From http://www.apple.com/hotnews/, there’s an Apple Statement:

iPhone has already passed several of its required certification tests and is on schedule to ship in late June as planned. We can’t wait until customers get their hands (and fingers) on it and experience what a revolutionary and magical product it is. However, iPhone contains the most sophisticated software ever shipped on a mobile device, and finishing it on time has not come without a price – we had to borrow some key software engineering and QA resources from our Mac OS X team, and as a result we will not be able to release Leopard at our Worldwide Developers Conference in early June as planned. While Leopard’s features will be complete by then, we cannot deliver the quality release that we and our customers expect from us. We now plan to show our developers a near final version of Leopard at the conference, give them a beta copy to take home so they can do their final testing, and ship Leopard in October. We think it will be well worth the wait. Life often presents tradeoffs, and in this case we’re sure we’ve made the right ones. [Apr 12, 2007]

Majorly big *POUT*! :( :( :(