Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Jul 2001 20:37:48 +0300 (EEST)
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   docs/28778: whitespace fix for the <screen> tags of formatting-media article
Message-ID:  <200107061737.f66HbmF04833@hades.hell.gr>

next in thread | raw e-mail | index | archive | help

>Number:         28778
>Category:       docs
>Synopsis:       whitespace fix for the <screen> tags of formatting-media article
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jul 06 11:40:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Giorgos Keramidas
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD hades.hell.gr 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Sun Jun 24 18:34:43 EEST 2001 root@hades.hell.gr:/usr/obj/usr/src/sys/CHARON i386

>Description:

        Fix a few <screen> tags that the last "DocBook Police" commit
        of Dima Dorfman seems to have missed.

        To quote Dima, this patch makes the <screen> tags "cuddle up
        to the contents within."

>How-To-Repeat:
>Fix:

--- patch begins here ---
Index: en_US.ISO8859-1/articles/formatting-media/article.sgml
===================================================================
RCS file: /home/ncvs/doc/en_US.ISO8859-1/articles/formatting-media/article.sgml,v
retrieving revision 1.16
diff -u -r1.16 article.sgml
--- en_US.ISO8859-1/articles/formatting-media/article.sgml	2001/06/04 03:04:38	1.16
+++ en_US.ISO8859-1/articles/formatting-media/article.sgml	2001/07/06 17:28:43
@@ -174,8 +174,7 @@
 	the disk's size is listed.  If the kernel reports 
 
 	<informalexample>
-	  <screen>Can't get the size
-	  </screen>
+	  <screen>Can't get the size</screen>
 	</informalexample>
 
 	then the disk was not in the drive.  In this case, you will
@@ -211,8 +210,7 @@
 	  <para>Start sysinstall as root by typing 
 
 	    <informalexample>
-	      <screen>&prompt.root; <userinput>/stand/sysinstall</userinput>
-	      </screen>
+	      <screen>&prompt.root; <userinput>/stand/sysinstall</userinput></screen>
 	    </informalexample> 
 
 	    from the command prompt.</para>
@@ -242,8 +240,7 @@
 	    <informalexample>
 	      <screen>Do you want to do this with a true partition entry so as to remain
 cooperative with any future possible operating systems on the
-drive(s)?
-	      </screen>
+drive(s)?</screen>
 	    </informalexample>
 
 	    answer <command>No</command>.</para>
@@ -287,8 +284,7 @@
 	    do this!).  You'll get the error: 
 
 	    <informalexample>
-	      <screen>Error mounting /mnt/dev/ad2s1e on /mnt/blah : No such file or directory
-	      </screen>
+	      <screen>Error mounting /mnt/dev/ad2s1e on /mnt/blah : No such file or directory</screen>
 	    </informalexample>
 
 	    Ignore.</para>
@@ -311,8 +307,7 @@
 	<screen>&prompt.root; <userinput>dd if=/dev/zero of=/dev/ad2 count=2</userinput>
 &prompt.root; <userinput>disklabel /dev/ad2 | disklabel -B -R -r ad2 /dev/stdin</userinput>
 <lineannotation>We only want one partition, so using slice 'c' should be fine:</lineannotation>
-&prompt.root; <userinput>newfs /dev/ad2c</userinput>
-	</screen>
+&prompt.root; <userinput>newfs /dev/ad2c</userinput></screen>
       </informalexample>
 
       <para>If you need to edit the disklabel to create multiple
@@ -324,8 +319,7 @@
 <lineannotation>Edit disklabel to add partitions:</lineannotation>
 &prompt.root; <userinput>vi /tmp/label</userinput>
 &prompt.root; <userinput>disklabel -B -R -r ad2 /tmp/label</userinput>
-<lineannotation>newfs partitions appropriately</lineannotation>
-	</screen>
+<lineannotation>newfs partitions appropriately</lineannotation></screen>
       </informalexample>
 
       <para>Your disk is now ready for use.</para>
@@ -354,8 +348,7 @@
 	  <para>Start sysinstall as root by typing 
 
 	    <informalexample>
-	      <screen>&prompt.root; <userinput>/stand/sysinstall</>
-	      </screen>
+	      <screen>&prompt.root; <userinput>/stand/sysinstall</userinput></screen>
 	    </informalexample> 
 
 	    from the command prompt.</para>
@@ -385,8 +378,7 @@
 	    <informalexample>
 	      <screen>Do you want to do this with a true partition entry so as to remain
 cooperative with any future possible operating systems on the
-drive(s)?
-	      </screen>
+drive(s)?</screen>
 	    </informalexample>
 
 	    answer <command>yes</command>.</para>
@@ -428,8 +420,7 @@
 	    this!).  You'll get the error:
 
 	    <informalexample>
-	      <screen>Error mounting /mnt/dev/ad2s1e on /mnt/blah : No such file or directory
-	      </screen> 
+	      <screen>Error mounting /mnt/dev/ad2s1e on /mnt/blah : No such file or directory</screen> 
 	    </informalexample>
 
 	    Ignore.</para>
@@ -491,8 +482,7 @@
 
 	    <informalexample>
 	      <screen>&prompt.root; <userinput>swapon /dev/da0b</userinput>
-swapon:  added /dev/da0b as swap space
-	      </screen>
+swapon:  added /dev/da0b as swap space</screen>
 	    </informalexample>
 	  </para>
 	</step>
@@ -514,8 +504,7 @@
 &prompt.root; <userinput>pax -r -w -p e /usr/home /mnt</userinput>
 &prompt.root; <userinput>umount /mnt</userinput>
 &prompt.root; <userinput>rm -rf /usr/home/*</userinput>
-&prompt.root; <userinput>mount /dev/ad2 /usr/home</userinput>
-	  </screen>
+&prompt.root; <userinput>mount /dev/ad2 /usr/home</userinput></screen>
 	</informalexample>
       </para>
     </sect2>
@@ -545,8 +534,7 @@
 
       <informalexample>
 	<screen>#        size   offset    fstype   [fsize bsize bps/cpg]
-  c: 60074784        0    unused        0     0     0   # (Cyl.    0 - 59597)
-	</screen>
+  c: 60074784        0    unused        0     0     0   # (Cyl.    0 - 59597)</screen>
       </informalexample>
 
       <para>You shouldn't use partition <emphasis>c</emphasis> for the CCD,
@@ -557,8 +545,7 @@
       <informalexample>
 	<screen>#        size   offset    fstype   [fsize bsize bps/cpg]
   c: 60074784        0    unused        0     0     0   # (Cyl.    0 - 59597)
-<userinput>   e: 60074784        0    4.2BSD        0     0     0   # (Cyl.    0 - 59597)</userinput>
-	</screen>
+<userinput>   e: 60074784        0    4.2BSD        0     0     0   # (Cyl.    0 - 59597)</userinput></screen>
       </informalexample>
 
 	<para>To create a new CCD, execute the following commands.  This
@@ -582,8 +569,7 @@
 
 &prompt.root; <userinput>ccdconfig ccd0 273 0 /dev/da0e /dev/da1e /dev/da2e</userinput>
 
-&prompt.root; <userinput>newfs /dev/ccd0c</userinput>
-	</screen>
+&prompt.root; <userinput>newfs /dev/ccd0c</userinput></screen>
       </informalexample>
 
       <para>The value 273 is the stripe size.  This is the number of disk
--- patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200107061737.f66HbmF04833>