How to use cvs on Proteus machines

  1. First of all, since most of our machines don't allow unsecure connections, you will need to tell your local CVS client to use ssh to connect to the repository. The easiest way to do this is to set an environment variable as follows: setenv CVS_RSH ssh
  2. Second, instead of specifying the location of the repository on the command line each time, it's easier to set another environment variable to remember this value. E.g., if you want to modify the website or any other module on the 'nlp' machine, do `setenv CVSROOT`
  3. Now, you can check out different modules simply as follows: cvs co module_name. E.g., to check out the website, you would do `cvs co website`. Note that you cannot check out subdirectories without specifying a module name. Thus you can `cvs co website/publication` but you cannot `cvs co publication` .
  4. Once you've got a local copy of whatever you want to update, go ahead and update your local copy.
  5. To commit your changes to the repository, cd to the top directory of the module and type `cvs commit` . After verifying your password, CVS will list the files you changed and ask you to describe the changes you made. Please make sure you enter an informative description, so that the next person to edit the same file has some idea of where and why you made changes.
  6. In the most common scenario, you're done!
A slightly longer summary of CVS commands is here. To get the full benefit of CVS, spend a few minutes on one of the many online tutorials.
Dan Melamed (melamed at
Last modified: Mon Oct 28 17:55:34 EST 2002