Please note that I have tried to make all instruction below as close as possible to the typical setting of a machine in UDBL, but there might be a need to change drive, folder names, etc. according to your configuration.
The following scenario is addressed: you are a developer running Windows (95/98/NT). You'd like to be able to access from anywhere a CVS repository which is located on a UNIX server.
Our solution at UDBL is:
Run a CVS client on your Windows box, which uses an SSH client to connect and exchange data with a remote UNIX server where the CVS server runs.
The following describes how to set your environment, so that you can use a Windows GUI CVS front-end called WinCVS to connect to a remote CVS repository. There are two steps involved:
A. download
WinCvs 1.2
B. Install it
C. Start it
D. Press Ctrl+F1 (or menu: "Cvs Admin/Preferences") and make the
following changes to the default settings:
E. To get your first copy of the repository, select menu: "Cvs
Admin", submenu: "Check-out module". You will be asked for a location
of the new module. When you check-out a new module a new directory with
it's name will be created.
Example: if you select the directory "E:\work", then after check-out of
the module AmosNT, you will have the directory: "E:\work\AmosNT"
F. If you want to use CVS from the command line prompt, this is a
copy of an example BAT file, that sets the necessary environment
variables, and runs CVS (you have to replace "timka" with your user
name):
@echo off
set SAVE_CVSROOT=%CVSROOT%
set CVSROOT=:ext:timka@ida.it.uu.se:/dis/projects/udbl/CVSRoot
set CVS_RSH=ssh
set CVS_SERVER=/dis/projects/udbl/bin/cvs
"d:\programs\WinCvs\cvs" %1 %2 %3 %4 %5 %6 %7 %8 %9
set CVSROOT=%SAVE_CVSROOT%
You might also set these variables permanently in your Windows
environment.