CVS and SSH on Win32 platforms

There is a CVS executable available at: ftp://bmrc.berkeley.edu/pub/winnt/util/cvs.exe

And a SSH executable available at: ftp://ftp.cs.hut.fi/pub/ssh/contrib/ssh-1.2.14-win32bin.zip

Note: There may be other SSH and CVS programs out there, but this tutorial is on how to use the two above together to use CVS and SSH with SourceForge projects.

1) Once you have the two files mentioned above, go make these three directories where "X" is the drive you want to use for your development.

X:\CVS
X:\SSH
X:\Source

2) Put the file "cvs.exe", which you have already downloaded from the directory above into "X:\CVS".

3) Unzip the file "ssh-1.2.14-win32bin.zip" into "X:\SSH". You can do this using Info-ZIP, WinZip, PKZIP or whatever compression tool you have handy that can extract ZIP files.

4) Add the following lines to your "C:\Autoexec.BAT" file:

PATH=%PATH%;X:\CVS;X:\SSH
SET CVS_RSH=X:\SSH\ssh.exe
SET HOME=X:\Source

5) Restart your computer.

6) Now that you've done all that, you can finally get CVS write privileges on your SourceForge developer account. To "check out" (download) the source, open up your trusty MS-DOS Prompt and do the following:

C:\WINDOWS> x:
X:\> cd \Source
X:\Source> cvs -dyourname@cvs.quake.sourceforge.net:/cvsroot/quake co module

Make sure you replace "yourname" with your SourceForge User ID, and "module" with the name of the module you want to work on. When you connect to SourceForge, it will ask you for your password; type it in, and the download should begin.

Note: Your characters will not be echoed back. This is normal behavior, and there's nothing wrong.

At time of writing, the following modules are in the QuakeForge CVS repository:

aftershock
A Quake 3: Arena renderer that is being experimented with for possible inclusion in QuakeForge
htdocs
Our Web site
quakeforge
The actual engine, what everyone wants to play with. :)

Since the scope of this document was to tell you just how to use CVS and SSH to work together, I'm not going to teach you CVS. To lean more about CVS, and how to use it go to the GNU Web site.

If you find anything that should be added to this document, send me an email at: absolute@squadron.org