Ted Leung on the air
Ted Leung on the air: Open Source, Java, Python, and ...
Ted Leung on the air: Open Source, Java, Python, and ...
Sun, 07 Dec 2003
Gnuserv for Mac OS X Emacs
The Emacs that I'm using on Mac OS X is a CVS HEAD of GNU Emacs 21.3.50??. This version can be built natively for Mac OS X and doesn't rely on X in order to run. I also wanted to use the gnuserv package that extends the Emacs server functionality. In particular it creates a new frame when you use gnuclient to edit a file, and gnuclient is my choice for setting the EDITOR and VISUAL environment variables.
When I built Emacs last week, I couldn't get gnuserv to work. Turns out gnuserv wasn't accepting connections because of its built in security. I played with the GNU_SECURE security method figuring that MIT-MAGIC-COOKIE authentication wouldn't work because I had built without X. I could set the GNU_SECURE environment variable from zsh and have gnuserv pickup the connections, but when I did it inside Emacs, I couldn't get it to work. So I decided to try MIT-MAGIC-COOKIE. Turns out all I had to do was:
[23:26] |
[computers/operating_systems/macosx] |
# |
TB |
F |
G |
2 Comments |
That was enough to get gnuserv and gnuclient happily talking to each other.xauth add localhost:999 MIT-MAGIC-COOKIE-1 0000000 (insert your hex key here) exit
More Powerbook thoughts, Day 13
When I got home, there was a cross shipped 512MB SODIMM and a Hitachi Travelstar 7K60 for the powerbook. The replacement DRAM seems to be holding up nicely -- There was no freeze on bootup as with the last DIMM, and I've done a few Chandler builds while benchmarking the disk. So I have hope that the memory situation is now taken care of.
I put the 7K60 into a 2.5" Firewire enclosure, and that's when the fun began. I plugged it in via Firewire and the disk mounted up and I was able to erase it. Then I tried to copy a Chandler build onto it and it hung. Scariness. I has to fool with it a bit more to convince myself that I had plugged everything in right -- I had. I tried to plug it back in and it wouldn't even mount. Now very scary. In a flash of insight, I tried the USB 2.0 interface, and the drive started clacking but it wouldn't mount. Then it dawned on me that perhaps the 7K60 was drawing more power than the external USB or Firewire was providing. So I plugged in the power cord, and suddenly all was right with the world. Except it kind of makes you wonder what will happen if you swap the 4200RPM 80G disk for the higher drawing 7K60. Then I copied a Chandler build over. The drive was snappy and quiet. So I performed a simple but representative benchmark: build Chandler from scratch. I was amazed to find that both builds took approximately the same amount of time. The build appears to be unaffected by the I/O rate of the disk, either that or Firewire 400 isn't enough to show the benefits of it. So now, I'm left to pause. Should I open the Powerbook and swap the disk, or should I just leave well enough alone and use it as an external disk?
Here is some of the software that I've settled on:
[00:38] |
[computers/operating_systems/macosx] |
# |
TB |
F |
G |
3 Comments |
- Thunderbird + Enigmail for e-mail -- I was using this on Windows, it does GnuPG, and it basically works. I tried to use Mail.app for my OSAF mail but gave up. Maybe I'll try again next version.
- Firebird + Tab Browser Extensions + Adblock -- Safari's not bad, but I was used to Firebird, and it seems to be improving fast. The biggest problem is with opening a folder of bookmarks as tabs -- I get two sets of tabs.
- iPulse for status information on the machine
- XBattery (at least for a while) to get a picture of what's happening with the battery
- iChat - I was prepared not to like iChat, but instead, I've really taken to it -- I guess I'll be helping AOL lock more people into their network. I'm using Proteus to tie into MSN, Yahoo, and Jabber, but iChat has the polish. Not to mention iSight compatiblity
- GNU Emacs - built from CVS according to Andi's fine recommendation
- XChat Aqua - this seemed to be the closest to what I wanted. It logs the way I want and can do multiple windows so I can do Expose tricks. It doesn't hook up to speech, and it doesn't dock bounce. Dock bouncing on recognizing my nick would sew it up for me. I may try to use the Python plugin to do a speech on my nick handler. Tips still appreciated.
- NetNewsWire - combined mode is good, but feels just a little sluggish. I also wish it would remember sort settngs for groups. I'm not quite as efficient with NNW as I was with FeedDemon. Still need to send that mail to Brent Simmons.
- iTerm - turns out option can be meta, which is better than nothing, but why not command? At least it renders my dircolors correctly. I also find the translucency useful
- Microsoft Intellimouse Explorer and Intellipoint 5.0 for OS X - a real mouse and binding that make me happy -- partcularly middle to open new tab in Firebird
- Sidetrack - I like the idea, but it needs a little polish -- it doesn't pick up the scrolling areas very well, leading to lots of false scrolls.
- uControl is installed but not working - I attribute this to a combination of Panther, IntelliPoint, and Sidetrack
- DragThing, Launchbar, FruitMenu
- CodeTek Virtual Desktop - will probably wait for Expose compatible upgrade
- Quickeys X - This was essential in my other Mac life
- Default Folder X, Pathfinder -- I'm still not clear on how the OS X open/save dialogs are supposed to work
- USB OverDrive X - do I need this if I have Intellipoint?