=================================================================== RCS file: /cvsrepo/anoncvs/cvs/www/anoncvs.html,v retrieving revision 1.244 retrieving revision 1.245 diff -u -r1.244 -r1.245 --- www/anoncvs.html 2006/01/31 16:42:06 1.244 +++ www/anoncvs.html 2006/03/17 07:54:10 1.245 @@ -460,13 +460,13 @@

A sample use of an anoncvs server would be:

-% setenv CVSROOT anoncvs@anoncvs.ca.openbsd.org:/cvs
-% cd /tmp
-% cvs get src/sys/arch/sparc
+$ cd /tmp
+$ cvs -d anoncvs@anoncvs.ca.openbsd.org:/cvs get src/sys/arch/sparc
     [copies the files from the repository to your machine]
-% cvs log src/sys/arch/sparc/sparc/locore.s
+$ cd src/sys/arch/sparc
+$ cvs log locore.s
     [shows the commit log for the chosen file]
-% cvs diff -bc -r1.1 -r1.5 src/sys/arch/sparc/sparc/locore.s
+$ cvs diff -bc -r1.1 -r1.5 locore.s
     [shows the changes between revisions 1.1 and rev 1.5]
 
@@ -475,8 +475,7 @@ instead of using ssh or rsh) you must login once:
-% setenv CVSROOT :pserver:anoncvs@anoncvs.ca.openbsd.org:/cvs
-% cvs login
+$ cvs -d :pserver:anoncvs@anoncvs.ca.openbsd.org:/cvs login
 (Logging in to anoncvs@anoncvs1.ca.openbsd.org)
 CVS password: anoncvs
     [This writes a line to ~/.cvspass (filename over-ridden by CVS_PASSFILE).]
@@ -484,7 +483,7 @@
     [password is:                                                            ]
     [:pserver:anoncvs@anoncvs5.usa.openbsd.org:/cvs Au'yc                    ]
     [After logging in ONCE every other use of the above CVSROOT will work.   ]
-% cvs get ksrc-i386 ksrc-common
+$ cvs -d :pserver:anoncvs@anoncvs.ca.openbsd.org:/cvs get ksrc-i386 ksrc-common
     [Allows you to retrieve ONLY that necessary to rebuild an i386 kernel.   ]
 
@@ -495,16 +494,14 @@

(If you are following current):

-	# setenv CVSROOT anoncvs@anoncvs.ca.openbsd.org:/cvs
 	# cd /usr
-	# cvs -q get -P src
+	# cvs -qd anoncvs@anoncvs.ca.openbsd.org:/cvs get -P src
 

(If you are following the patch branch for 3.8):

-	# setenv CVSROOT anoncvs@anoncvs.ca.openbsd.org:/cvs
 	# cd /usr
-	# cvs -q get -rOPENBSD_3_8 -P src
+	# cvs -qd anoncvs@anoncvs.ca.openbsd.org:/cvs get -rOPENBSD_3_8 -P src
 
  • Anytime afterwards, to `update' this tree: @@ -528,10 +525,10 @@
  • NOTE: If you are updating a source tree that you initially fetched from a different server, or from a CD, you must -add the -d $CVSROOT options to cvs. +add the -d anoncvs@anoncvs.ca.openbsd.org:/cvs options to cvs.
     	# cd /usr/src
    -	# cvs -d $CVSROOT -q up -Pd
    +	# cvs -d anoncvs@anoncvs.ca.openbsd.org:/cvs -q up -Pd
     
    @@ -540,15 +537,13 @@