Adrian's tips & tricks diary for Mac OS X

Want to save your MiniDisc collection?

posted January 2010

This little script could help you to automate the process a bit.

Fink Packaging Tutorial

posted March 2009

A handy little Makefile for creating Fink packages can be found here.

X11 Fixed Font for the Mac

posted March 2008

I always liked the "fixed" font that comes with X11R6. On the other hand I also liked the carbon Emacs that comes with fink.

Using a great, yet antique, program called Font Forge, I converted the 9x15, fixed, Latin-1 font into a bitmap .DFont.

GNU Emacs with the X11 font

Triple booting Leopard, WinXP and Ubuntu 7.10!

posted Feb. 2008

This stunt took me a whole weekend, but I now know the procedure:

  1. Install Leopard
  2. Use Disk Utility or Boot Camp to resize the HFS+ partition to leave empty space after it
  3. Start the Ubuntu Live CD and use gparted to create an Ext3 and a FAT32 partition. (both primary)
    The Windows partition must be the last one! Otherwise you'll get that hal.dll not found error.
  4. Reboot from a FreeDOS live CD, go to the shell and do a format C: /Q
  5. Reboot and install XP.
  6. Reboot and install Ubuntu
  7. You're done! I'm not sure whether it is necessary, but I also installed refit.
Good Luck!

Strange cursive fonts when using Emacs over SSH

posted Nov. 2006

Sometimes, when using GNU Emacs over an SSH connection the standard 'fixed' font is always displayed in italics.

GNU Emacs with cursive fixed font

You can put this line into your .emacs file:

(custom-set-faces
  ;; custom-set-faces was added by Custom -- don't edit or cut/paste it!
  ;; Your init file should contain only one such instance.
 '(default ((t (:stipple nil :background "white" :foreground "black"
                :inverse-video nil :box nil
                :strike-through nil :overline nil :underline nil
		:slant normal :weight normal
		:height 115 :width normal :family "fixed")))))
 

slant normal does the job:

GNU Emacs as it was intended

Yellow Mouse Cursor in X11

posted Summer 2006

See here.

Better Keybindings for Terminal

posted Summer 2006

This are my settings for Terminal.app. The major features are that PgUp/Dn are sent to the remote host and Del/Backspace do what they suggest.



Some rights reserved, Adrian Prantl, adrian at f4z org