summaryrefslogtreecommitdiff
path: root/share/man/man7
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2010-09-26 19:40:28 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2010-09-26 19:40:28 +0000
commite2858663fb7e71e71dff6ffa6a2290450bee448e (patch)
tree18d8f4e435b597be76621ea874d7d2af82420501 /share/man/man7
parent7fb1002caf22bb5323d8411d48e6d80e785bc0e7 (diff)
sync to bsd.lv:
note that \k, \o, \w, \z roff escapes are ignored by mandoc(1) add a short HISTORY to mdoc(7) move the sentence telling which sections use LIBRARY in man(7)
Diffstat (limited to 'share/man/man7')
-rw-r--r--share/man/man7/man.717
-rw-r--r--share/man/man7/mdoc.724
2 files changed, 33 insertions, 8 deletions
diff --git a/share/man/man7/man.7 b/share/man/man7/man.7
index 15d278ed9bc..3608e530a76 100644
--- a/share/man/man7/man.7
+++ b/share/man/man7/man.7
@@ -1,4 +1,4 @@
-.\" $OpenBSD: man.7,v 1.9 2010/09/04 08:00:15 jmc Exp $
+.\" $OpenBSD: man.7,v 1.10 2010/09/26 19:40:27 schwarze Exp $
.\"
.\" Copyright (c) 2009, 2010 Kristaps Dzonsons <kristaps@bsd.lv>
.\"
@@ -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: September 4 2010 $
+.Dd $Mdocdate: September 26 2010 $
.Dt MAN 7
.Os
.Sh NAME
@@ -219,8 +219,8 @@ Documents are generally structured as follows:
\&.TH FOO 1 2009-10-10
\&.SH NAME
\efBfoo\efR \e(en a description goes here
-\&.\e\*q The next is for sections 2 & 3 only.
\&.\e\*q .SH LIBRARY
+\&.\e\*q For sections 2 & 3 only.
\&.\e\*q Not used in OpenBSD.
\&.SH SYNOPSIS
\efBfoo\efR [\efB\e-options\efR] arguments...
@@ -939,11 +939,18 @@ The
.Pq text colour ,
.Sq \eM
.Pq text filling colour ,
+.Sq \ez
+.Pq zero-length character ,
+.Sq \ew
+.Pq string length ,
+.Sq \ek
+.Pq horizontal position marker ,
+.Sq \eo
+.Pq text overstrike ,
and
.Sq \es
.Pq text size
-.Sx Text Decoration
-escapes are all discarded in mandoc.
+escape sequences are all discarded in mandoc.
.It
The
.Sq \ef
diff --git a/share/man/man7/mdoc.7 b/share/man/man7/mdoc.7
index e7bb462046e..2486d4fa8dc 100644
--- a/share/man/man7/mdoc.7
+++ b/share/man/man7/mdoc.7
@@ -1,4 +1,4 @@
-.\" $OpenBSD: mdoc.7,v 1.52 2010/09/26 15:10:20 jmc Exp $
+.\" $OpenBSD: mdoc.7,v 1.53 2010/09/26 19:40:27 schwarze Exp $
.\"
.\" Copyright (c) 2009, 2010 Kristaps Dzonsons <kristaps@bsd.lv>
.\" Copyright (c) 2010 Ingo Schwarze <schwarze@openbsd.org>
@@ -2848,11 +2848,18 @@ The
.Pq text colour ,
.Sq \eM
.Pq text filling colour ,
+.Sq \ez
+.Pq zero-length character ,
+.Sq \ew
+.Pq string length ,
+.Sq \ek
+.Pq horizontal position marker ,
+.Sq \eo
+.Pq text overstrike ,
and
.Sq \es
.Pq text size
-.Sx Text Decoration
-escapes are all discarded in mandoc.
+escape sequences are all discarded in mandoc.
.It
The
.Sq \ef
@@ -2867,6 +2874,17 @@ This is not supported by mandoc.
.Xr mandoc 1 ,
.Xr mandoc_char 7 ,
.Xr mdoc.samples 7
+.Sh HISTORY
+The
+.Nm
+language first appeared as a troff macro package in
+.Bx 4.4 .
+It was later significantly updated by Werner Lemberg and Ruslan Ermilov
+in groff-1.17.
+The standalone implementation that is part of the
+.Xr mandoc 1
+utility written by Kristaps Dzonsons appeared in
+.Ox 4.6 .
.Sh AUTHORS
The
.Nm