21. March, 2006
27. June, 2007
in by Michael Neumann

FreeDarwin is a new OS that is based on Darwin, but tries to replace the build-system with what it used in BSD. And it will make use of NetBSD’s pkgsrc.

11. March, 2006
27. June, 2007
in by Michael Neumann

Finde mal Zeichen wie @|~[]{} auf der Tastatur von nem Mac Rechner. No way! Wie’s funktioniert ist hier beschrieben. Genial! Endlich kann ich mein iBook richtig verwenden (mit meiner tollen Key Tronic Tastatur z.B.).

24. December, 2005
27. June, 2007
in by Michael Neumann

Nie mehr Telefonbücher wälzen. Jetzt das Widget für MacOS X runterladen. Ist echt super!

27. November, 2005
27. June, 2007
in by Michael Neumann

The default sleep-state of my Powerbook of the newest (and latest?) generation is suspend-to-RAM. This still requires some power, and the blinking white light is quite nerving especially if you sleep in the same room as your laptop. But it’s easy to setup suspend-to-disk mode:

sudo pmset -a hibernatemode 1

To suspend-to-disk, select “Ruhezustand” (sleep state in English?) from the apple menu. Press the power-button once you want to use your laptop again and wait a few seconds (~20 secs). To change back to suspend-to-RAM behaviour, issue:

sudo pmset -a hibernatemode 3
27. November, 2005
27. June, 2007
in by Michael Neumann

My DarwinPorts installation had problem with fetching source packages. After a while it simply stopped to fetch a package! I decided to look at the responsible code which was a Tcl file. Having written a simplistic Tcl interpreter in Ruby called RTcl, I put my hands on the code and replace the use of curl fetch with the wget command line utility. It’s a dirty hack I know, but it works great!

The patch (with leading whitespaces remove from each line):

--- /opt/local/share/darwinports/Tcl/port1.0/portfetch.tcl.old  2005-11-27 13:19:08.000000000 +0100
+++ /opt/local/share/darwinports/Tcl/port1.0/portfetch.tcl      2005-11-27 13:19:22.000000000 +0100
@@ -375,7 +375,7 @@
 foreach site [set $url_var] {
        ui_msg "$UI_PREFIX [format [msgcat::mc "Attempting to fetch %s from %s"] $distfile $site]" 
        set file_url [portfetch::assemble_url $site $distfile]
-       if {![catch {eval curl fetch $fetch_options {$file_url} ${distpath}/${distfile}.TMP} result] &&
+       if {![catch {system "/usr/pkg/bin/wget -O ${distpath}/${distfile}.TMP $file_url"} result] &&
                ![catch {system "mv ${distpath}/${distfile}.TMP ${distpath}/${distfile}"}]} {
                set fetched 1           
                break                   
26. November, 2005
27. June, 2007
in by Michael Neumann

On the command line, as simple as:

hdiutil burn -erase image.iso

Remove -erase if you don’t use a -RW media.