summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjmc <jmc@openbsd.org>2011-08-30 12:25:09 +0000
committerjmc <jmc@openbsd.org>2011-08-30 12:25:09 +0000
commitd6f92ecdd4188e945c8625bbf3ac25ee7cdd17d3 (patch)
tree9bdbcdcc6386706ee172133680972d1375ce8c02
parentremove some pointless Pp/-compact combinations; either ingo or kristaps (diff)
downloadwireguard-openbsd-d6f92ecdd4188e945c8625bbf3ac25ee7cdd17d3.tar.xz
wireguard-openbsd-d6f92ecdd4188e945c8625bbf3ac25ee7cdd17d3.zip
in column lists, enforce the following ordering:
.Bl -column header1 header2 ... <Bl flags> mixing things up confuses mandoc, and adding flags in can screw up the list. this hopefully just makes things a bit safer (and more consistent). (one more bit of work left and all column lists should format how we want)
-rw-r--r--lib/libc/gen/fpgetmask.36
-rw-r--r--lib/libc/stdlib/strtol.36
-rw-r--r--share/man/man4/ahd.46
-rw-r--r--share/man/man7/man.76
-rw-r--r--share/man/man7/mandoc_char.738
-rw-r--r--share/man/man7/mdoc.76
-rw-r--r--share/termtypes/termcap.58
-rw-r--r--usr.bin/bc/bc.17
8 files changed, 40 insertions, 43 deletions
diff --git a/lib/libc/gen/fpgetmask.3 b/lib/libc/gen/fpgetmask.3
index e4ed25840ef..d82233684de 100644
--- a/lib/libc/gen/fpgetmask.3
+++ b/lib/libc/gen/fpgetmask.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: fpgetmask.3,v 1.7 2011/04/25 21:07:24 martynas Exp $
+.\" $OpenBSD: fpgetmask.3,v 1.8 2011/08/30 12:25:09 jmc Exp $
.\" $NetBSD: fpgetmask.3,v 1.3 2001/09/16 02:57:03 wiz Exp $
.\"
.\" Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -28,7 +28,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: April 25 2011 $
+.Dd $Mdocdate: August 30 2011 $
.Dt FPGETMASK 3
.Os
.Sh NAME
@@ -72,7 +72,7 @@ An
.Ft fp_except
value is a bitmask specifying an exception type and containing any of
the values listed below.
-.Bl -column -offset indent FP_X_UFLxx
+.Bl -column FP_X_UFLxx -offset indent
.It Dv FP_X_INV Ta Invalid\ Operation
.It Dv FP_X_DZ Ta Division\ by\ zero
.It Dv FP_X_OFL Ta Overflow
diff --git a/lib/libc/stdlib/strtol.3 b/lib/libc/stdlib/strtol.3
index 84d9a0c427d..1a28ead0ce0 100644
--- a/lib/libc/stdlib/strtol.3
+++ b/lib/libc/stdlib/strtol.3
@@ -29,9 +29,9 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $OpenBSD: strtol.3,v 1.19 2007/11/13 18:30:04 tobias Exp $
+.\" $OpenBSD: strtol.3,v 1.20 2011/08/30 12:25:09 jmc Exp $
.\"
-.Dd $Mdocdate: November 13 2007 $
+.Dd $Mdocdate: August 30 2011 $
.Dt STRTOL 3
.Os
.Sh NAME
@@ -164,7 +164,7 @@ If overflow or underflow occurs,
is set to
.Er ERANGE
and the function return value is as follows:
-.Bl -column -offset indent "strtoimax" "overflow" "underflow"
+.Bl -column "strtoimax" "overflow" "underflow" -offset indent
.It Sy Function Ta Sy underflow Ta Sy overflow
.It Fn strtol Ta Dv LONG_MIN Ta Dv LONG_MAX
.It Fn strtoll Ta Dv LLONG_MIN Ta Dv LLONG_MAX
diff --git a/share/man/man4/ahd.4 b/share/man/man4/ahd.4
index 5a8ea03663b..328db7ae99b 100644
--- a/share/man/man4/ahd.4
+++ b/share/man/man4/ahd.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ahd.4,v 1.15 2010/01/03 14:31:01 schwarze Exp $
+.\" $OpenBSD: ahd.4,v 1.16 2011/08/30 12:25:09 jmc Exp $
.\"
.\" Copyright (c) 1995, 1996, 1997, 1998, 2000
.\" Justin T. Gibbs. All rights reserved.
@@ -29,7 +29,7 @@
.\"
.\" $FreeBSD: /repoman/r/ncvs/src/share/man/man4/ahd.4,v 1.5 2004/07/04 14:17:41 simon Exp $
.\"
-.Dd $Mdocdate: January 3 2010 $
+.Dd $Mdocdate: August 30 2011 $
.Dt AHD 4
.Os
.Sh NAME
@@ -98,7 +98,7 @@ console when
.Dv AHD_DEBUG
is enabled.
Logically OR the following bits together:
-.Bl -column -offset indent Value Function
+.Bl -column Value Function -offset indent
.It Em "Value Function"
.It 0x0001 Show miscellaneous information
.It 0x0002 Show sense data
diff --git a/share/man/man7/man.7 b/share/man/man7/man.7
index 89aa07fcf52..b2d921f4962 100644
--- a/share/man/man7/man.7
+++ b/share/man/man7/man.7
@@ -1,4 +1,4 @@
-.\" $OpenBSD: man.7,v 1.20 2011/08/30 11:38:59 jmc Exp $
+.\" $OpenBSD: man.7,v 1.21 2011/08/30 12:25:09 jmc Exp $
.\"
.\" Copyright (c) 2009, 2010 Kristaps Dzonsons <kristaps@bsd.lv>
.\"
@@ -405,7 +405,7 @@ The syntax is as follows:
\&.YO \(lBbody...\(rB
\(lBbody...\(rB
.Ed
-.Bl -column -offset indent "MacroX" "ArgumentsX" "ScopeXXXXX" "CompatX"
+.Bl -column "MacroX" "ArgumentsX" "ScopeXXXXX" "CompatX" -offset indent
.It Em Macro Ta Em Arguments Ta Em Scope Ta Em Notes
.It Sx \&AT Ta <=1 Ta current Ta \&
.It Sx \&B Ta n Ta next-line Ta \&
@@ -471,7 +471,7 @@ No closure refers to an explicit block closing macro.
As a rule, block macros may not be nested; thus, calling a block macro
while another block macro scope is open, and the open scope is not
implicitly closed, is syntactically incorrect.
-.Bl -column -offset indent "MacroX" "ArgumentsX" "Head ScopeX" "sub-sectionX" "compatX"
+.Bl -column "MacroX" "ArgumentsX" "Head ScopeX" "sub-sectionX" "compatX" -offset indent
.It Em Macro Ta Em Arguments Ta Em Head Scope Ta Em Body Scope Ta Em Notes
.It Sx \&HP Ta <2 Ta current Ta paragraph Ta \&
.It Sx \&IP Ta <3 Ta current Ta paragraph Ta \&
diff --git a/share/man/man7/mandoc_char.7 b/share/man/man7/mandoc_char.7
index 0d873b1c210..b9c885dff91 100644
--- a/share/man/man7/mandoc_char.7
+++ b/share/man/man7/mandoc_char.7
@@ -1,4 +1,4 @@
-.\" $OpenBSD: mandoc_char.7,v 1.10 2011/08/30 11:38:59 jmc Exp $
+.\" $OpenBSD: mandoc_char.7,v 1.11 2011/08/30 12:25:09 jmc Exp $
.\"
.\" Copyright (c) 2009 Kristaps Dzonsons <kristaps@bsd.lv>
.\"
@@ -74,7 +74,7 @@ It's guaranteed that each input symbol will correspond to a
These are the preferred input symbols for producing special characters.
.Pp
Spacing:
-.Bl -column -compact -offset indent "Input" "Description"
+.Bl -column "Input" "Description" -offset indent -compact
.It Em Input Ta Em Description
.It \e~ Ta non-breaking, non-collapsing space
.It \e Ta breaking, non-collapsing n-width space
@@ -87,7 +87,7 @@ Spacing:
.El
.Pp
Lines:
-.Bl -column -compact -offset indent "Input" "Rendered" "Description"
+.Bl -column "Input" "Rendered" "Description" -offset indent -compact
.It Em Input Ta Em Rendered Ta Em Description
.It \e(ba Ta \(ba Ta bar
.It \e(br Ta \(br Ta box rule
@@ -99,7 +99,7 @@ Lines:
.El
.Pp
Text markers:
-.Bl -column -compact -offset indent "Input" "Rendered" "Description"
+.Bl -column "Input" "Rendered" "Description" -offset indent -compact
.It Em Input Ta Em Rendered Ta Em Description
.It \e(ci Ta \(ci Ta circle
.It \e(bu Ta \(bu Ta bullet
@@ -118,7 +118,7 @@ Text markers:
.El
.Pp
Legal symbols:
-.Bl -column -compact -offset indent "Input" "Rendered" "Description"
+.Bl -column "Input" "Rendered" "Description" -offset indent -compact
.It Em Input Ta Em Rendered Ta Em Description
.It \e(co Ta \(co Ta copyright
.It \e(rg Ta \(rg Ta registered
@@ -126,7 +126,7 @@ Legal symbols:
.El
.Pp
Punctuation:
-.Bl -column -compact -offset indent "Input" "Rendered" "Description"
+.Bl -column "Input" "Rendered" "Description" -offset indent -compact
.It Em Input Ta Em Rendered Ta Em Description
.It \e(em Ta \(em Ta em-dash
.It \e(en Ta \(en Ta en-dash
@@ -138,7 +138,7 @@ Punctuation:
.El
.Pp
Quotes:
-.Bl -column -compact -offset indent "Input" "Rendered" "Description"
+.Bl -column "Input" "Rendered" "Description" -offset indent -compact
.It Em Input Ta Em Rendered Ta Em Description
.It \e(Bq Ta \(Bq Ta right low double-quote
.It \e(bq Ta \(bq Ta right low single-quote
@@ -155,7 +155,7 @@ Quotes:
.El
.Pp
Brackets:
-.Bl -column -compact -offset indent "xxbracketrightbpx" Rendered Description
+.Bl -column "xxbracketrightbpx" Rendered Description -offset indent -compact
.It Em Input Ta Em Rendered Ta Em Description
.It \e(lB Ta \(lB Ta left bracket
.It \e(rB Ta \(rB Ta right bracket
@@ -194,7 +194,7 @@ Brackets:
.El
.Pp
Arrows:
-.Bl -column -compact -offset indent "Input" "Rendered" "Description"
+.Bl -column "Input" "Rendered" "Description" -offset indent -compact
.It Em Input Ta Em Rendered Ta Em Description
.It \e(<- Ta \(<- Ta left arrow
.It \e(-> Ta \(-> Ta right arrow
@@ -211,7 +211,7 @@ Arrows:
.El
.Pp
Logical:
-.Bl -column -compact -offset indent "Input" "Rendered" "Description"
+.Bl -column "Input" "Rendered" "Description" -offset indent -compact
.It Em Input Ta Em Rendered Ta Em Description
.It \e(AN Ta \(AN Ta logical and
.It \e(OR Ta \(OR Ta logical or
@@ -226,7 +226,7 @@ Logical:
.El
.Pp
Mathematical:
-.Bl -column -compact -offset indent "xxcoproductxx" "Rendered" "Description"
+.Bl -column "xxcoproductxx" "Rendered" "Description" -offset indent -compact
.It Em Input Ta Em Rendered Ta Em Description
.It \e(pl Ta \(pl Ta plus
.It \e(mi Ta \(mi Ta minus
@@ -291,7 +291,7 @@ Mathematical:
.El
.Pp
Ligatures:
-.Bl -column -compact -offset indent "Input" "Rendered" "Description"
+.Bl -column "Input" "Rendered" "Description" -offset indent -compact
.It Em Input Ta Em Rendered Ta Em Description
.It \e(ff Ta \(ff Ta ff ligature
.It \e(fi Ta \(fi Ta fi ligature
@@ -308,7 +308,7 @@ Ligatures:
.El
.Pp
Accents:
-.Bl -column -compact -offset indent "Input" "Rendered" "Description"
+.Bl -column "Input" "Rendered" "Description" -offset indent -compact
.It Em Input Ta Em Rendered Ta Em Description
.It \e(a" Ta \(a" Ta Hungarian umlaut
.It \e(a- Ta \(a- Ta macron
@@ -330,7 +330,7 @@ Accents:
.El
.Pp
Accented letters:
-.Bl -column -compact -offset indent "Input" "Rendered" "Description"
+.Bl -column "Input" "Rendered" "Description" -offset indent -compact
.It Em Input Ta Em Rendered Ta Em Description
.It \e('A Ta \('A Ta acute A
.It \e('E Ta \('E Ta acute E
@@ -390,7 +390,7 @@ Accented letters:
.El
.Pp
Special letters:
-.Bl -column -compact -offset indent "Input" "Rendered" "Description"
+.Bl -column "Input" "Rendered" "Description" -offset indent -compact
.It Em Input Ta Em Rendered Ta Em Description
.It \e(-D Ta \(-D Ta Eth
.It \e(Sd Ta \(Sd Ta eth
@@ -401,7 +401,7 @@ Special letters:
.El
.Pp
Currency:
-.Bl -column -compact -offset indent "Input" "Rendered" "Description"
+.Bl -column "Input" "Rendered" "Description" -offset indent -compact
.It Em Input Ta Em Rendered Ta Em Description
.It \e(Do Ta \(Do Ta dollar
.It \e(ct Ta \(ct Ta cent
@@ -414,7 +414,7 @@ Currency:
.El
.Pp
Units:
-.Bl -column -compact -offset indent "Input" "Rendered" "Description"
+.Bl -column "Input" "Rendered" "Description" -offset indent -compact
.It Em Input Ta Em Rendered Ta Em Description
.It \e(de Ta \(de Ta degree
.It \e(%0 Ta \(%0 Ta per-thousand
@@ -424,7 +424,7 @@ Units:
.El
.Pp
Greek letters:
-.Bl -column -compact -offset indent "Input" "Rendered" "Description"
+.Bl -column "Input" "Rendered" "Description" -offset indent -compact
.It Em Input Ta Em Rendered Ta Em Description
.It \e(*A Ta \(*A Ta Alpha
.It \e(*B Ta \(*B Ta Beta
@@ -488,7 +488,7 @@ They are
for use, as they differ across implementations.
Manuals using these predefined strings are almost certainly not
portable.
-.Bl -column -offset indent "Input" "Rendered" "Description"
+.Bl -column "Input" "Rendered" "Description" -offset indent
.It Em Input Ta Em Rendered Ta Em Description
.It \e*(Ba Ta \*(Ba Ta vertical bar
.It \e*(Ne Ta \*(Ne Ta not equal
diff --git a/share/man/man7/mdoc.7 b/share/man/man7/mdoc.7
index c6856b360b0..9218f733f76 100644
--- a/share/man/man7/mdoc.7
+++ b/share/man/man7/mdoc.7
@@ -1,4 +1,4 @@
-.\" $OpenBSD: mdoc.7,v 1.80 2011/08/30 11:38:59 jmc Exp $
+.\" $OpenBSD: mdoc.7,v 1.81 2011/08/30 12:25:09 jmc Exp $
.\"
.\" Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
.\" Copyright (c) 2010 Ingo Schwarze <schwarze@openbsd.org>
@@ -650,7 +650,7 @@ contain a head.
\(lBbody...\(rB
\&.Yc
.Ed
-.Bl -column -offset indent "MacroX" "CallableX" "ParsedX" "closed by XXX"
+.Bl -column "MacroX" "CallableX" "ParsedX" "closed by XXX" -offset indent
.It Em Macro Ta Em Callable Ta Em Parsed Ta Em Scope
.It Sx \&Bd Ta \&No Ta \&No Ta closed by Sx \&Ed
.It Sx \&Bf Ta \&No Ta \&No Ta closed by Sx \&Ef
@@ -682,7 +682,7 @@ has multiple heads.
\&.Yo \(lB\-arg \(lBparm...\(rB\(rB \(lBhead... \(lBTa head...\(rB\(rB
\(lBbody...\(rB
.Ed
-.Bl -column -offset indent "MacroX" "CallableX" "ParsedX" "closed by XXXXXXXXXXX"
+.Bl -column "MacroX" "CallableX" "ParsedX" "closed by XXXXXXXXXXX" -offset indent
.It Em Macro Ta Em Callable Ta Em Parsed Ta Em Scope
.It Sx \&It Ta \&No Ta Yes Ta closed by Sx \&It , Sx \&El
.It Sx \&Nd Ta \&No Ta \&No Ta closed by Sx \&Sh
diff --git a/share/termtypes/termcap.5 b/share/termtypes/termcap.5
index 8a82141656c..003dd9e2743 100644
--- a/share/termtypes/termcap.5
+++ b/share/termtypes/termcap.5
@@ -1,4 +1,4 @@
-.\" $OpenBSD: termcap.5,v 1.24 2010/07/22 10:21:52 jmc Exp $
+.\" $OpenBSD: termcap.5,v 1.25 2011/08/30 12:25:09 jmc Exp $
.\"
.\" Copyright (c) 1985, 1991 The Regents of the University of California.
.\" All rights reserved.
@@ -29,7 +29,7 @@
.\"
.\" from: @(#)termcap.5 6.11 (Berkeley) 3/6/93
.\"
-.Dd $Mdocdate: July 22 2010 $
+.Dd $Mdocdate: August 30 2011 $
.Dt TERMCAP 5
.Os
.Sh NAME
@@ -80,8 +80,7 @@ in 132-column mode would be
.Dq vt100-w .
.Pp
The following suffixes should be used where possible:
-.Bd -filled
-.Bl -column indent "With automatic margins (usually default)xx"
+.Bl -column "suffix" "With automatic margins (usually default)" "example"
.It Sy Suffix Meaning Example
.It \-w Wide mode (more than 80 columns). vt100-w
.It \-am With automatic margins (usually default). vt100-am
@@ -91,7 +90,6 @@ The following suffixes should be used where possible:
.It Pf \- Ar \&np Ta No "Number of pages of memory. concept100-4p"
.It \-rv Reverse video. concept100-rv
.El
-.Ed
.Sh CAPABILITIES
The characters in the
.Em Notes
diff --git a/usr.bin/bc/bc.1 b/usr.bin/bc/bc.1
index ac0633e3a9b..09129f713f4 100644
--- a/usr.bin/bc/bc.1
+++ b/usr.bin/bc/bc.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: bc.1,v 1.28 2011/03/07 09:56:51 jmc Exp $
+.\" $OpenBSD: bc.1,v 1.29 2011/08/30 12:25:09 jmc Exp $
.\"
.\" Copyright (C) Caldera International Inc. 2001-2002.
.\" All rights reserved.
@@ -34,7 +34,7 @@
.\"
.\" @(#)bc.1 6.8 (Berkeley) 8/8/91
.\"
-.Dd $Mdocdate: March 7 2011 $
+.Dd $Mdocdate: August 30 2011 $
.Dt BC 1
.Os
.Sh NAME
@@ -135,8 +135,7 @@ The following arithmetic and logical operators can be used.
The semantics of the operators is the same as in the C language.
They are listed in order of decreasing precedence.
Operators in the same group have the same precedence.
-.Bl -column -offset indent "= += \-= *= /= %= ^=" "Associativity" \
-"multiply, divide, modulus"
+.Bl -column "= += \-= *= /= %= ^=" "Associativity" "multiply, divide, modulus" -offset indent
.It Sy "Operator" Ta Sy "Associativity" Ta Sy "Description"
.It "++ \-\-" Ta "none" Ta "increment, decrement"
.It "\-" Ta "none" Ta "unary minus"