This is a quick page designed to get you started using CVS when somebody else has set up the CVS archive for a grant.
It assumes you're using a command-line-based CVS system.
So, please bookmark this page. When there is something that you don't know how to do, follow the "Other CVS Links" above, which should answer this question!
echo $SHELL.)
| .cshrc |     | .bash_profile |
|---|---|---|
| #CVS Environment variables setenv CVSEDITOR emacs setenv CVS_RSH ssh
|
    | #CVS Environment variables export CVSEDITOR=emacs export CVS_RSH=ssh |
This tells the system what editor to call up (you could replace emacs with vi) and to use ssh to connect to other machines. (Most machines will only accept ssh connections.)
Now run
source ~/.bash_profile
(or .cshrc if applicable).
cd ~
cvs -d /mrsrl/home/cvs/depot checkout samplegrant
If you are using ANY other machine, run:
cd ~
cvs -d :ext:yourname@dr4.stanford.edu:/mrsrl/home/cvs/depot checkout samplegrant
Now you have a directory called samplegrant, which should have a subdirectory called CVS. (all directories under CVS control will have this subdirectory). There are files and maybe subdirectories in this directory too. You can replace samplegrant with the grant you actually want, but for now mess around with samplegrant and get used to CVS.
cvs update
cvs commit -m "Nice message describing changes" A.tex
A.tex is one of the files in samplegrant.
cvs add newfile.tex
If the file is not to be treated as text
(ie .gif, .jpg, .ps, .eps, .pdf) then use:
cvs add -kb newfile.pdf
(DON'T check in .ps or .eps files as text - CVS may screw them up!)
Anyway, I haven't spent hours on this for nothing, so let's try to get everyone running with it.