// Preamble $pageName = "CVS/SSH on Win32"; $focused = "none"; // Dock icon name to gets a border require("parts/preamble.php"); // Load most of document ?>
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 QuakeForge 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 QuakeForge 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.quakeforge.net:/project/cvs co module
Make sure you replace "yourname" with your QuakeForge User ID, and "module" with the name of the module you want to work on. When you connect to QuakeForge, 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:
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