Archive for May, 2008

Color xterm with Mac OS X

11 May 2008

I’ve been putting up with a certain Mac annoyance for almost a year now, and I finally got around to finding a real solution. Mac’s Term application sets the TERM environment variable to “xterm-color.” Unfortunately, if you ssh somewhere else (say to a Solaris 8 machine) and try running vi, that TERM value is not […]

Mac OS X: Changing the Icon for a File Type

16 May 2008

How does OS X decide what icon to show for documents? The rules are quite complicated. Here they are for 10.4, as best as I can tell. Please note that if you’re going to change any files, you should back up the old versions first! Don’t blame me if you wreck your system. . . […]