Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sbin/fdisk Fix indented blocks rendering with mandoc. Switch...



details:   https://anonhg.NetBSD.org/src/rev/6d83ca64d62d
branches:  trunk
changeset: 781898:6d83ca64d62d
user:      njoly <njoly%NetBSD.org@localhost>
date:      Fri Oct 05 18:07:46 2012 +0000

description:
Fix indented blocks rendering with mandoc. Switch from .in unsupported
macro to .Bd/.Ed ones. While here kill some unneeded .Pp/.br macros.

diffstat:

 sbin/fdisk/fdisk.8 |  17 +++++++----------
 1 files changed, 7 insertions(+), 10 deletions(-)

diffs (62 lines):

diff -r bc0f4c3f0dac -r 6d83ca64d62d sbin/fdisk/fdisk.8
--- a/sbin/fdisk/fdisk.8        Fri Oct 05 18:03:54 2012 +0000
+++ b/sbin/fdisk/fdisk.8        Fri Oct 05 18:07:46 2012 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: fdisk.8,v 1.77 2012/04/08 22:00:37 wiz Exp $
+.\"    $NetBSD: fdisk.8,v 1.78 2012/10/05 18:07:46 njoly Exp $
 .\"
 .Dd April 6, 2012
 .Dt FDISK 8
@@ -138,7 +138,6 @@
 write anything to the disk.
 .Pp
 Available options:
-.Pp
 .Bl -tag -width Ds
 .It Fl 0
 Specify partition slot 0 to be printed or updated.
@@ -431,13 +430,12 @@
 partition.
 .Pp
 The various fields in each partition entry are:
-.br
-.in +4
+.Bd -filled -offset 4n -compact
 .Em ptn_number : id_name
 (sysid
 .Em id_number )
-.br
-.in +4
+.Ed
+.Bd -filled -offset 8n -compact
 bootmenu:
 .Em bootmenu
 .br
@@ -448,8 +446,7 @@
 MB, Cyls
 .Em first Ns No - Ns Em next )
 .Op , Active
-.in -4
-.in -4
+.Ed
 .Bl -tag -width "bootmenu"
 .It Em ptn_number
 is the number of the partition.
@@ -490,7 +487,7 @@
 .Fl v
 flag is specified, the beginning and end of each partition are also
 displayed as follows:
-.in +4
+.Bd -filled -offset 4n -compact
 beg: cylinder
 .Em cylinder ,
 head
@@ -504,7 +501,7 @@
 .Em head ,
 sector
 .Em sector
-.in -4
+.Ed
 .Bl -tag -width "bootmenu"
 .It Em "cylinder" , Em "head" , Em "sector"
 are the beginning or ending address of a partition.



Home | Main Index | Thread Index | Old Index