Building a Unix-geek Mac

Security Configuration

apple.com downloads

Configuration bits

Stuff to build

Other Downloads

Other Tricks

Query the battery:

$ /usr/sbin/ioreg -p IODeviceTree -n "battery" -w 0 | grep IOBatteryInfo
    | | |     "IOBatteryInfo" = ({"Voltage"=12538,"Flags"=5,"Amperage"=1200,"Capacity"=4149,"Current"=4149})

macosxhints says:

'flags' is usually 0x004 when you're unplugged, 0x005 when you're plugged in, and 0x08_ or 0x09_ when you're low on juice.

Development

If this page interested you, This Apple Tech Note will probably also give you useful context.

Panther (10.3)

For Panther, do an archive+install, and "do it all over again". Key things to know about the upgrade itself:

Other little panther issues (mostly positive):