From 67259fb4b8df90d2cf50afc3055dbd5f41c7b8cc Mon Sep 17 00:00:00 2001 From: schwarze Date: Sun, 1 Aug 2010 20:47:52 +0000 Subject: [PATCH] The explanations of the HISTORY and AUTHORS sections were nicer in the old mdoc(7) manual than in the new one, so put them back. While here, fix the .Os synopsis and add two more .Xrs. Do the same in man(7), as far as it is applicable. ok jmc@ --- share/man/man7/man.7 | 14 +++++++------- share/man/man7/mdoc.7 | 14 +++++++------- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/share/man/man7/man.7 b/share/man/man7/man.7 index 2004e92ea02..1b0f6a8fbda 100644 --- a/share/man/man7/man.7 +++ b/share/man/man7/man.7 @@ -1,4 +1,4 @@ -.\" $OpenBSD: man.7,v 1.5 2010/07/31 21:51:33 schwarze Exp $ +.\" $OpenBSD: man.7,v 1.6 2010/08/01 20:47:52 schwarze Exp $ .\" .\" Copyright (c) 2009, 2010 Kristaps Dzonsons .\" @@ -14,7 +14,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: July 31 2010 $ +.Dd $Mdocdate: August 1 2010 $ .Dt MAN 7 .Os .Sh NAME @@ -338,11 +338,9 @@ If not adhering to any standards, the .Em HISTORY section should be used. .It Em HISTORY -The history of any manual without a -.Em STANDARDS -section should be described in this section. +A brief history of the subject, including where support first appeared. .It Em AUTHORS -Credits to authors, if applicable, should appear in this section. +Credits to the person or persons who wrote the code and/or documentation. Authors should generally be noted by both name and email address. .It Em CAVEATS Common misuses and misunderstandings should be explained @@ -939,8 +937,10 @@ newline before macro output; in mandoc, it is an alias for the standard control character. .El .Sh SEE ALSO +.Xr man 1 , .Xr mandoc 1 , -.Xr mandoc_char 7 +.Xr mandoc_char 7 , +.Xr mdoc 7 .Sh HISTORY The .Nm diff --git a/share/man/man7/mdoc.7 b/share/man/man7/mdoc.7 index fdc848918c1..15bd5fbb2ec 100644 --- a/share/man/man7/mdoc.7 +++ b/share/man/man7/mdoc.7 @@ -1,4 +1,4 @@ -.\" $OpenBSD: mdoc.7,v 1.44 2010/08/01 20:37:51 schwarze Exp $ +.\" $OpenBSD: mdoc.7,v 1.45 2010/08/01 20:47:52 schwarze Exp $ .\" .\" Copyright (c) 2009, 2010 Kristaps Dzonsons .\" Copyright (c) 2010 Ingo Schwarze @@ -560,11 +560,9 @@ section should be used instead. See .Sx \&St . .It Em HISTORY -The history of any manual without a -.Em STANDARDS -section should be described in this section. +A brief history of the subject, including where support first appeared. .It Em AUTHORS -Credits to authors, if applicable, should appear in this section. +Credits to the person or persons who wrote the code and/or documentation. Authors should generally be noted by both name and email address. .Pp See @@ -2257,7 +2255,7 @@ any file. Its syntax is as follows: .Pp -.D1 Pf \. Sx \&Os Op Cm system +.D1 Pf \. Sx \&Os Op Cm system Op Cm version .Pp The optional .Cm system @@ -2859,8 +2857,10 @@ prior to unknown arguments of older groff did nothing. .El .Sh SEE ALSO +.Xr man 1 , .Xr mandoc 1 , -.Xr mandoc_char 7 +.Xr mandoc_char 7 , +.Xr mdoc.samples 7 .Sh AUTHORS The .Nm -- 2.20.1