I've got a client that has a bunch of php code in a cvs repository - a lot of which is stuff I've already committed. I've been using vim for a while and I'm getting bored of it. I know a lot of macros and can use all sorts of split-window commands, so I've always convinced myself that I'm fast at it. But who knows, maybe I can be faster.
So I started playing with Project Builder. First problem I ran into - it's hard to integrate cvs over ssh. SO, here's what I worked out.
First, make sure that your CVS_RSH environment variable is set to the path of ssh on your system.
Then, make sure CVSROOT is set to :ext:login@server:/cvspath . Unfortunately this needs to be set every time as ProjectBuilder isn't smart enough to look it up in the CVS directories in your hierarchy. I set it in a separate file.
Then activate ssh-agent. I do, in my .cshrc:
eval `ssh-agent -c` > /dev/null
And in my .logout:
eval `ssh-agent -k` > /dev/null
(otherwise the ssh-agent will not die and a new redundant one will
happen each time you start a Terminal window.)
Well, there are a couple of better ways as well. Unfortunately I have to cut this blog entry short as blogger is messed up AGAIN. I have to move to a new blogging server soon - not sure what I will use because I don't like Radio's non-portability, and I'm not sure I like movable type's license and lack of xml.
Posted by Curt at December 31, 2002 02:17 AM