Today I came across two interesting things about Subversion. First of all, I think I installed the binary version from the Subversion web site on my Mac, since it is in /usr/local/bin, so I dunno if these are true about the one that comes with Leopard. Anyway, I just typed “svn commit” and emacs opened up. I didn’t even know I had emacs. So, apparently emacs is the default editor on this build of svn. Once I stumbled my way through the editing of the commit message, and remembered the key sequence to quit (CTRL-X, CTRL-C), a dialog popped up on my mac prompting me to allow the command line version of svn access to my keychain. I accepted and didn’t have to type in my password. Pretty fancy.
I used to use this trick to rotate colors between terminal windows. When I upgraded to Leopard, the windows stopped being transparent, which sucked. I have finally come up with a solution that uses a different technique. You will need to create several terminal profiles for different color schemes. The cool thing about this way of doing it is that you can use different transparency settings for different colors. You should call the new profiles “rotate X” where X is a number. Then you install this script as /Users/alwold/setcolor.sh or some such thing:
if [ -e ~/.lastterm ]; then
if [ “$LAST_PROFILE” == “” ]; then
if [ “$LAST_PROFILE” == “6” ]; then
echo tell application \”Terminal\” to set current settings of first window to settings set \”rotate $LAST_PROFILE\” |osascript
echo $LAST_PROFILE > ~/.lastterm
Finally, you need to call that script from your .profile (or you can just put the whole script in your .profile). Also, the script assumes you have rotate 1 – rotate 5. If your number of profiles is different, change the 6 accordingly.
One of the features I was looking forward to in Leopard is support for Stereo Bluetooth headphones. I am happy to report that it works, and the UI is much better than ones I’ve used in Windows (obviously, right?). Unfortunately, I seem to pick up a lot of interference. When I first tried them at home, I didn’t notice it, so there might just be a lot of interference in my office on campus. I can see like 5 wireless networks, so it makes sense. I wonder if I’d have the same problem with a PC. Maybe I should build a tinfoil box to sit in.