Re: [PATCH] [www] cvsync.html - use class="cmdbox"

2019-04-18 Thread Solene Rapenne
On Thu, Apr 18, 2019 at 07:31:45AM +0200, Theo Buehler wrote:
> On Wed, Apr 17, 2019 at 11:41:18PM +0100, Raf Czlonka wrote:
> > On Wed, Apr 17, 2019 at 10:53:54PM BST, Theo Buehler wrote:
> > > On Wed, Apr 17, 2019 at 11:34:56PM +0200, Solene Rapenne wrote:
> > > > On Wed, Apr 17, 2019 at 09:55:26PM +0100, Raf Czlonka wrote:
> > > > > Hi all,
> > > > > 
> > > > > Similar to other pages[0][1], use class="cmdbox", add prompt character
> > > > > where appropriate, and remove superfluous indentation while there.
> > > > > 
> > > > > [0] https://www.openbsd.org/anoncvs.html
> > > > > [1] https://www.openbsd.org/ddb.html
> > > > > 
> > > > > Regards,
> > > > > 
> > > > > Raf
> > > > 
> > > > this looks much better with this
> > > > 
> > > > ok solene@
> > > > 
> > > 
> > > Please send a diff for www/build/mirrors/cvsync.html.* instead
> > 
> > After cvsync.html -> build/mirrors/cvsync.html.head change, the patch
> > applies just fine but, as requested, re-done for the
> > build/mirrors/cvsync.html.head below anyway.
> 
> Looks good.
> 
> ok tb
> 
> Solene, can you take care of committing this?
> 
> > 

done!



Re: [PATCH] [www] cvsync.html - use class="cmdbox"

2019-04-17 Thread Theo Buehler
On Wed, Apr 17, 2019 at 11:41:18PM +0100, Raf Czlonka wrote:
> On Wed, Apr 17, 2019 at 10:53:54PM BST, Theo Buehler wrote:
> > On Wed, Apr 17, 2019 at 11:34:56PM +0200, Solene Rapenne wrote:
> > > On Wed, Apr 17, 2019 at 09:55:26PM +0100, Raf Czlonka wrote:
> > > > Hi all,
> > > > 
> > > > Similar to other pages[0][1], use class="cmdbox", add prompt character
> > > > where appropriate, and remove superfluous indentation while there.
> > > > 
> > > > [0] https://www.openbsd.org/anoncvs.html
> > > > [1] https://www.openbsd.org/ddb.html
> > > > 
> > > > Regards,
> > > > 
> > > > Raf
> > > 
> > > this looks much better with this
> > > 
> > > ok solene@
> > > 
> > 
> > Please send a diff for www/build/mirrors/cvsync.html.* instead
> 
> After cvsync.html -> build/mirrors/cvsync.html.head change, the patch
> applies just fine but, as requested, re-done for the
> build/mirrors/cvsync.html.head below anyway.

Looks good.

ok tb

Solene, can you take care of committing this?

> 
> > hiro$ head -1 cvsync.html
> > 
> 
> Arghhh... force of habit:
> 
>   $ vi +/pre cvsync.html
> 
> :^P
> 
> Cheers,
> 
> Raf
> 
> Index: build/mirrors/cvsync.html.head
> ===
> RCS file: /cvs/www/build/mirrors/cvsync.html.head,v
> retrieving revision 1.36
> diff -u -p -r1.36 cvsync.html.head
> --- build/mirrors/cvsync.html.head2 Apr 2018 02:48:19 -   1.36
> +++ build/mirrors/cvsync.html.head17 Apr 2019 22:37:34 -
> @@ -57,8 +57,8 @@ CVS is part of OpenBSD's base system.
>  CVSync is an entirely different program and can be installed from
>  packages:
>  
> -
> -pkg_add cvsync
> +
> +# pkg_add cvsync
>  
>  
>  Do not build your own copy from unmodified upstream source -
> @@ -69,17 +69,17 @@ used in the OpenBSD repository.
>  In order to mirror the OpenBSD repository with CVSync,
>  the following configuration file might be used:
>  
> -
> - config {
> - hostname anoncvs.eu.openbsd.org
> - # If your network link is a T1 or faster, comment out the following 
> line.
> - compress
> - collection {
> - name openbsd release rcs
> - prefix /cvs
> - umask 002
> - }
> - }
> +
> +config {
> +hostname anoncvs.eu.openbsd.org
> +# If your network link is a T1 or faster, comment out the following line.
> +compress
> +collection {
> + name openbsd release rcs
> + prefix /cvs
> + umask 002
> +}
> +}
>  
>  
>  
> @@ -93,8 +93,8 @@ The local copy of the files are stored i
>  Assuming this file is saved as cvs-syncfile, the
>  following command would be used to invoke cvsync
>  
> -
> -cvsync -c cvs-syncfile
> +
> +$ cvsync -c cvs-syncfile
>  
>  
>  Getting Started Using Rsync
> @@ -104,13 +104,13 @@ file synchronization program.
>  Again this should be installed from packages.
>  Two flavours are available:
>  
> -
> - # pkg_add rsync
> - Ambiguous: choose package for rsync
> - a   0: 
> - 1: rsync-3.1.2p0
> - 2: rsync-3.1.2p0-iconv
> - Your choice:
> +
> +# pkg_add rsync
> +Ambiguous: choose package for rsync
> +a0: 
> + 1: rsync-3.1.2p0
> + 2: rsync-3.1.2p0-iconv
> +Your choice:
>  
>  
>  Unless you have other requirements, simply install the standard version
> @@ -118,15 +118,15 @@ Unless you have other requirements, simp
>  You can select the flavour on the command-line to avoid
>  pkg_add(1) prompting for the
>  version like so:
> -
> - pkg_add rsync--
> +
> +# pkg_add rsync--
>  
>  
>  In order to mirror the OpenBSD repository with rsync,
>  the following command line might be used:
>  
> -
> - rsync -avz --delete rsync://obsdacvs.cs.toronto.edu/obsdcvs/ 
> /cvs/
> +
> +$ rsync -avz --delete rsync://obsdacvs.cs.toronto.edu/obsdcvs/ /cvs/
>  
>  
>  Using CVS to Work With Your Repository
> @@ -135,10 +135,10 @@ Now that you have a local copy of the CV
>  to check out, update, or do any of the other CVS operations you would
>  normally do against a remote repository, locally.
>  For example:
> -
> -cvs -d/cvs checkout -P src
> -cvs -d/cvs up -Pd
> -cvs -d/cvs diff -u file.c
> +
> +$ cvs -d/cvs checkout -P src
> +$ cvs -d/cvs up -Pd
> +$ cvs -d/cvs diff -u file.c
>  
>  More details on CVS operation can be found in
>  FAQ5, Fetching appropriate source



Re: [PATCH] [www] cvsync.html - use class="cmdbox"

2019-04-17 Thread Raf Czlonka
On Wed, Apr 17, 2019 at 10:53:54PM BST, Theo Buehler wrote:
> On Wed, Apr 17, 2019 at 11:34:56PM +0200, Solene Rapenne wrote:
> > On Wed, Apr 17, 2019 at 09:55:26PM +0100, Raf Czlonka wrote:
> > > Hi all,
> > > 
> > > Similar to other pages[0][1], use class="cmdbox", add prompt character
> > > where appropriate, and remove superfluous indentation while there.
> > > 
> > > [0] https://www.openbsd.org/anoncvs.html
> > > [1] https://www.openbsd.org/ddb.html
> > > 
> > > Regards,
> > > 
> > > Raf
> > 
> > this looks much better with this
> > 
> > ok solene@
> > 
> 
> Please send a diff for www/build/mirrors/cvsync.html.* instead

After cvsync.html -> build/mirrors/cvsync.html.head change, the patch
applies just fine but, as requested, re-done for the
build/mirrors/cvsync.html.head below anyway.

> hiro$ head -1 cvsync.html
> 

Arghhh... force of habit:

$ vi +/pre cvsync.html

:^P

Cheers,

Raf

Index: build/mirrors/cvsync.html.head
===
RCS file: /cvs/www/build/mirrors/cvsync.html.head,v
retrieving revision 1.36
diff -u -p -r1.36 cvsync.html.head
--- build/mirrors/cvsync.html.head  2 Apr 2018 02:48:19 -   1.36
+++ build/mirrors/cvsync.html.head  17 Apr 2019 22:37:34 -
@@ -57,8 +57,8 @@ CVS is part of OpenBSD's base system.
 CVSync is an entirely different program and can be installed from
 packages:
 
-
-pkg_add cvsync
+
+# pkg_add cvsync
 
 
 Do not build your own copy from unmodified upstream source -
@@ -69,17 +69,17 @@ used in the OpenBSD repository.
 In order to mirror the OpenBSD repository with CVSync,
 the following configuration file might be used:
 
-
-   config {
-   hostname anoncvs.eu.openbsd.org
-   # If your network link is a T1 or faster, comment out the following 
line.
-   compress
-   collection {
-   name openbsd release rcs
-   prefix /cvs
-   umask 002
-   }
-   }
+
+config {
+hostname anoncvs.eu.openbsd.org
+# If your network link is a T1 or faster, comment out the following line.
+compress
+collection {
+   name openbsd release rcs
+   prefix /cvs
+   umask 002
+}
+}
 
 
 
@@ -93,8 +93,8 @@ The local copy of the files are stored i
 Assuming this file is saved as cvs-syncfile, the
 following command would be used to invoke cvsync
 
-
-cvsync -c cvs-syncfile
+
+$ cvsync -c cvs-syncfile
 
 
 Getting Started Using Rsync
@@ -104,13 +104,13 @@ file synchronization program.
 Again this should be installed from packages.
 Two flavours are available:
 
-
-   # pkg_add rsync
-   Ambiguous: choose package for rsync
-   a   0: 
-   1: rsync-3.1.2p0
-   2: rsync-3.1.2p0-iconv
-   Your choice:
+
+# pkg_add rsync
+Ambiguous: choose package for rsync
+a  0: 
+   1: rsync-3.1.2p0
+   2: rsync-3.1.2p0-iconv
+Your choice:
 
 
 Unless you have other requirements, simply install the standard version
@@ -118,15 +118,15 @@ Unless you have other requirements, simp
 You can select the flavour on the command-line to avoid
 pkg_add(1) prompting for the
 version like so:
-
-   pkg_add rsync--
+
+# pkg_add rsync--
 
 
 In order to mirror the OpenBSD repository with rsync,
 the following command line might be used:
 
-
-   rsync -avz --delete rsync://obsdacvs.cs.toronto.edu/obsdcvs/ 
/cvs/
+
+$ rsync -avz --delete rsync://obsdacvs.cs.toronto.edu/obsdcvs/ /cvs/
 
 
 Using CVS to Work With Your Repository
@@ -135,10 +135,10 @@ Now that you have a local copy of the CV
 to check out, update, or do any of the other CVS operations you would
 normally do against a remote repository, locally.
 For example:
-
-cvs -d/cvs checkout -P src
-cvs -d/cvs up -Pd
-cvs -d/cvs diff -u file.c
+
+$ cvs -d/cvs checkout -P src
+$ cvs -d/cvs up -Pd
+$ cvs -d/cvs diff -u file.c
 
 More details on CVS operation can be found in
 FAQ5, Fetching appropriate source



Re: [PATCH] [www] cvsync.html - use class="cmdbox"

2019-04-17 Thread Theo Buehler
On Wed, Apr 17, 2019 at 11:34:56PM +0200, Solene Rapenne wrote:
> On Wed, Apr 17, 2019 at 09:55:26PM +0100, Raf Czlonka wrote:
> > Hi all,
> > 
> > Similar to other pages[0][1], use class="cmdbox", add prompt character
> > where appropriate, and remove superfluous indentation while there.
> > 
> > [0] https://www.openbsd.org/anoncvs.html
> > [1] https://www.openbsd.org/ddb.html
> > 
> > Regards,
> > 
> > Raf
> 
> this looks much better with this
> 
> ok solene@
> 

Please send a diff for www/build/mirrors/cvsync.html.* instead

hiro$ head -1 cvsync.html




Re: [PATCH] [www] cvsync.html - use class="cmdbox"

2019-04-17 Thread Solene Rapenne
On Wed, Apr 17, 2019 at 09:55:26PM +0100, Raf Czlonka wrote:
> Hi all,
> 
> Similar to other pages[0][1], use class="cmdbox", add prompt character
> where appropriate, and remove superfluous indentation while there.
> 
> [0] https://www.openbsd.org/anoncvs.html
> [1] https://www.openbsd.org/ddb.html
> 
> Regards,
> 
> Raf

this looks much better with this

ok solene@



[PATCH] [www] cvsync.html - use class="cmdbox"

2019-04-17 Thread Raf Czlonka
Hi all,

Similar to other pages[0][1], use class="cmdbox", add prompt character
where appropriate, and remove superfluous indentation while there.

[0] https://www.openbsd.org/anoncvs.html
[1] https://www.openbsd.org/ddb.html

Regards,

Raf

Index: cvsync.html
===
RCS file: /cvs/www/cvsync.html,v
retrieving revision 1.141
diff -u -p -r1.141 cvsync.html
--- cvsync.html 6 Apr 2018 23:41:34 -   1.141
+++ cvsync.html 13 Apr 2019 07:21:21 -
@@ -57,8 +57,8 @@ CVS is part of OpenBSD's base system.
 CVSync is an entirely different program and can be installed from
 packages:
 
-
-pkg_add cvsync
+
+# pkg_add cvsync
 
 
 Do not build your own copy from unmodified upstream source -
@@ -69,17 +69,17 @@ used in the OpenBSD repository.
 In order to mirror the OpenBSD repository with CVSync,
 the following configuration file might be used:
 
-
-   config {
-   hostname anoncvs.eu.openbsd.org
-   # If your network link is a T1 or faster, comment out the following 
line.
-   compress
-   collection {
-   name openbsd release rcs
-   prefix /cvs
-   umask 002
-   }
-   }
+
+config {
+hostname anoncvs.eu.openbsd.org
+# If your network link is a T1 or faster, comment out the following line.
+compress
+collection {
+   name openbsd release rcs
+   prefix /cvs
+   umask 002
+}
+}
 
 
 
@@ -93,8 +93,8 @@ The local copy of the files are stored i
 Assuming this file is saved as cvs-syncfile, the
 following command would be used to invoke cvsync
 
-
-cvsync -c cvs-syncfile
+
+$ cvsync -c cvs-syncfile
 
 
 Getting Started Using Rsync
@@ -104,13 +104,13 @@ file synchronization program.
 Again this should be installed from packages.
 Two flavours are available:
 
-
-   # pkg_add rsync
-   Ambiguous: choose package for rsync
-   a   0: 
-   1: rsync-3.1.2p0
-   2: rsync-3.1.2p0-iconv
-   Your choice:
+
+# pkg_add rsync
+Ambiguous: choose package for rsync
+a  0: 
+   1: rsync-3.1.2p0
+   2: rsync-3.1.2p0-iconv
+Your choice:
 
 
 Unless you have other requirements, simply install the standard version
@@ -118,15 +118,15 @@ Unless you have other requirements, simp
 You can select the flavour on the command-line to avoid
 pkg_add(1) prompting for the
 version like so:
-
-   pkg_add rsync--
+
+# pkg_add rsync--
 
 
 In order to mirror the OpenBSD repository with rsync,
 the following command line might be used:
 
-
-   rsync -avz --delete rsync://obsdacvs.cs.toronto.edu/obsdcvs/ 
/cvs/
+
+$ rsync -avz --delete rsync://obsdacvs.cs.toronto.edu/obsdcvs/ /cvs/
 
 
 Using CVS to Work With Your Repository
@@ -135,10 +135,10 @@ Now that you have a local copy of the CV
 to check out, update, or do any of the other CVS operations you would
 normally do against a remote repository, locally.
 For example:
-
-cvs -d/cvs checkout -P src
-cvs -d/cvs up -Pd
-cvs -d/cvs diff -u file.c
+
+$ cvs -d/cvs checkout -P src
+$ cvs -d/cvs up -Pd
+$ cvs -d/cvs diff -u file.c
 
 More details on CVS operation can be found in
 FAQ5, Fetching appropriate source