head	1.11;
access;
symbols
	RELENG_8_4:1.11.0.30
	RELENG_9_1_0_RELEASE:1.11
	RELENG_9_1:1.11.0.28
	RELENG_9_1_BP:1.11
	RELENG_8_3_0_RELEASE:1.11
	RELENG_8_3:1.11.0.26
	RELENG_8_3_BP:1.11
	RELENG_9_0_0_RELEASE:1.11
	RELENG_9_0:1.11.0.24
	RELENG_9_0_BP:1.11
	RELENG_9:1.11.0.22
	RELENG_9_BP:1.11
	RELENG_7_4_0_RELEASE:1.11
	RELENG_8_2_0_RELEASE:1.11
	RELENG_7_4:1.11.0.20
	RELENG_7_4_BP:1.11
	RELENG_8_2:1.11.0.18
	RELENG_8_2_BP:1.11
	RELENG_8_1_0_RELEASE:1.11
	RELENG_8_1:1.11.0.16
	RELENG_8_1_BP:1.11
	RELENG_7_3_0_RELEASE:1.11
	RELENG_7_3:1.11.0.14
	RELENG_7_3_BP:1.11
	RELENG_8_0_0_RELEASE:1.11
	RELENG_8_0:1.11.0.12
	RELENG_8_0_BP:1.11
	RELENG_8:1.11.0.10
	RELENG_8_BP:1.11
	RELENG_7_2_0_RELEASE:1.11
	RELENG_7_2:1.11.0.8
	RELENG_7_2_BP:1.11
	RELENG_7_1_0_RELEASE:1.11
	RELENG_6_4_0_RELEASE:1.10.2.1
	RELENG_7_1:1.11.0.6
	RELENG_7_1_BP:1.11
	RELENG_6_4:1.10.2.1.0.8
	RELENG_6_4_BP:1.10.2.1
	RELENG_7_0_0_RELEASE:1.11
	RELENG_6_3_0_RELEASE:1.10.2.1
	RELENG_7_0:1.11.0.4
	RELENG_7_0_BP:1.11
	RELENG_6_3:1.10.2.1.0.6
	RELENG_6_3_BP:1.10.2.1
	RELENG_7:1.11.0.2
	RELENG_7_BP:1.11
	RELENG_6_2_0_RELEASE:1.10.2.1
	RELENG_6_2:1.10.2.1.0.4
	RELENG_6_2_BP:1.10.2.1
	RELENG_5_5_0_RELEASE:1.9.6.1
	RELENG_5_5:1.9.6.1.0.4
	RELENG_5_5_BP:1.9.6.1
	RELENG_6_1_0_RELEASE:1.10.2.1
	RELENG_6_1:1.10.2.1.0.2
	RELENG_6_1_BP:1.10.2.1
	RELENG_6_0_0_RELEASE:1.10
	v1_19_2:1.1.1.7
	RELENG_6_0:1.10.0.4
	RELENG_6_0_BP:1.10
	RELENG_6:1.10.0.2
	RELENG_6_BP:1.10
	RELENG_5_4_0_RELEASE:1.9.6.1
	RELENG_5_4:1.9.6.1.0.2
	RELENG_5_4_BP:1.9.6.1
	RELENG_4_11_0_RELEASE:1.1.1.1.8.7
	RELENG_4_11:1.1.1.1.8.7.0.2
	RELENG_4_11_BP:1.1.1.1.8.7
	RELENG_5_3_0_RELEASE:1.9
	RELENG_5_3:1.9.0.8
	RELENG_5_3_BP:1.9
	RELENG_5:1.9.0.6
	RELENG_5_BP:1.9
	RELENG_4_10_0_RELEASE:1.1.1.1.8.6
	RELENG_4_10:1.1.1.1.8.6.0.4
	RELENG_4_10_BP:1.1.1.1.8.6
	RELENG_5_2_1_RELEASE:1.9
	RELENG_5_2_0_RELEASE:1.9
	RELENG_5_2:1.9.0.4
	RELENG_5_2_BP:1.9
	RELENG_4_9_0_RELEASE:1.1.1.1.8.6
	RELENG_4_9:1.1.1.1.8.6.0.2
	RELENG_4_9_BP:1.1.1.1.8.6
	RELENG_5_1_0_RELEASE:1.9
	RELENG_5_1:1.9.0.2
	RELENG_5_1_BP:1.9
	v1_19:1.1.1.4
	RELENG_4_8_0_RELEASE:1.1.1.1.8.5
	RELENG_4_8:1.1.1.1.8.5.0.2
	RELENG_4_8_BP:1.1.1.1.8.5
	RELENG_5_0_0_RELEASE:1.6
	RELENG_5_0:1.6.0.2
	RELENG_5_0_BP:1.6
	v1_18_1:1.1.1.3
	RELENG_4_7_0_RELEASE:1.1.1.1.8.4
	RELENG_4_7:1.1.1.1.8.4.0.8
	RELENG_4_7_BP:1.1.1.1.8.4
	RELENG_4_6_2_RELEASE:1.1.1.1.8.4
	RELENG_4_6_1_RELEASE:1.1.1.1.8.4
	RELENG_4_6_0_RELEASE:1.1.1.1.8.4
	RELENG_4_6:1.1.1.1.8.4.0.6
	RELENG_4_6_BP:1.1.1.1.8.4
	RELENG_4_5_0_RELEASE:1.1.1.1.8.4
	RELENG_4_5:1.1.1.1.8.4.0.4
	RELENG_4_5_BP:1.1.1.1.8.4
	RELENG_4_4_0_RELEASE:1.1.1.1.8.4
	RELENG_4_4:1.1.1.1.8.4.0.2
	RELENG_4_4_BP:1.1.1.1.8.4
	v1_17_2:1.1.1.2
	RELENG_4_3_0_RELEASE:1.1.1.1.8.3
	RELENG_4_3:1.1.1.1.8.3.0.2
	RELENG_4_3_BP:1.1.1.1.8.3
	v1_17:1.1.1.2
	v1_16_1:1.1.1.1
	RELENG_4_2_0_RELEASE:1.1.1.1
	RELENG_4_1_1_RELEASE:1.1.1.1
	PRE_SMPNG:1.1.1.1
	RELENG_4_1_0_RELEASE:1.1.1.1
	RELENG_3_5_0_RELEASE:1.1.1.1
	RELENG_4_0_0_RELEASE:1.1.1.1
	RELENG_4:1.1.1.1.0.8
	RELENG_4_BP:1.1.1.1
	v1_15:1.1.1.1
	RELENG_3_4_0_RELEASE:1.1.1.1
	RELENG_3_3_0_RELEASE:1.1.1.1
	RELENG_3_2_PAO:1.1.1.1.0.6
	RELENG_3_2_PAO_BP:1.1.1.1
	RELENG_3_2_0_RELEASE:1.1.1.1
	v1_11:1.1.1.1
	RELENG_3_1_0_RELEASE:1.1.1.1
	RELENG_3:1.1.1.1.0.4
	RELENG_3_BP:1.1.1.1
	RELENG_2_2_8_RELEASE:1.1.1.1
	RELENG_3_0_0_RELEASE:1.1.1.1
	RELENG_2_2_7_RELEASE:1.1.1.1
	RELENG_2_2_6_RELEASE:1.1.1.1
	RELENG_2_2_5_RELEASE:1.1.1.1
	RELENG_2_2_2_RELEASE:1.1.1.1
	RELENG_2_2_1_RELEASE:1.1.1.1
	RELENG_2_2_0_RELEASE:1.1.1.1
	RELENG_2_2:1.1.1.1.0.2
	RELENG_2_2_BP:1.1.1.1
	v1_10:1.1.1.1
	FSF:1.1.1;
locks; strict;
comment	@# @;


1.11
date	2005.10.20.10.52.34;	author ru;	state Exp;
branches
	1.11.30.1;
next	1.10;

1.10
date	2005.01.25.09.32.56;	author ru;	state Exp;
branches
	1.10.2.1;
next	1.9;

1.9
date	2003.05.03.22.02.44;	author ru;	state Exp;
branches
	1.9.6.1;
next	1.8;

1.8
date	2003.05.01.13.17.56;	author ru;	state Exp;
branches;
next	1.7;

1.7
date	2003.02.14.13.44.04;	author ru;	state Exp;
branches;
next	1.6;

1.6
date	2002.10.11.08.54.15;	author ru;	state Exp;
branches;
next	1.5;

1.5
date	2001.04.17.12.28.00;	author ru;	state Exp;
branches;
next	1.4;

1.4
date	2001.04.09.13.02.20;	author ru;	state Exp;
branches;
next	1.3;

1.3
date	2001.02.01.16.17.06;	author ru;	state Exp;
branches;
next	1.2;

1.2
date	2000.11.16.17.04.13;	author ru;	state Exp;
branches;
next	1.1;

1.1
date	96.09.07.16.18.26;	author pst;	state Exp;
branches
	1.1.1.1;
next	;

1.11.30.1
date	2005.10.20.10.52.34;	author svnexp;	state dead;
branches;
next	1.11.30.2;

1.11.30.2
date	2013.03.28.13.01.19;	author svnexp;	state Exp;
branches;
next	;

1.10.2.1
date	2005.11.15.22.06.56;	author ru;	state Exp;
branches;
next	;

1.9.6.1
date	2005.01.25.09.35.02;	author ru;	state Exp;
branches;
next	;

1.1.1.1
date	96.09.07.16.18.26;	author pst;	state Exp;
branches
	1.1.1.1.8.1;
next	1.1.1.2;

1.1.1.2
date	2001.04.17.12.11.57;	author ru;	state Exp;
branches;
next	1.1.1.3;

1.1.1.3
date	2002.10.11.08.52.14;	author ru;	state Exp;
branches;
next	1.1.1.4;

1.1.1.4
date	2003.05.01.13.09.49;	author ru;	state Exp;
branches;
next	1.1.1.5;

1.1.1.5
date	2003.05.03.21.54.30;	author ru;	state Exp;
branches;
next	1.1.1.6;

1.1.1.6
date	2005.01.25.09.29.48;	author ru;	state Exp;
branches;
next	1.1.1.7;

1.1.1.7
date	2005.10.20.10.45.18;	author ru;	state Exp;
branches;
next	;

1.1.1.1.8.1
date	2000.12.07.09.48.55;	author ru;	state Exp;
branches;
next	1.1.1.1.8.2;

1.1.1.1.8.2
date	2001.02.22.07.25.49;	author ru;	state Exp;
branches;
next	1.1.1.1.8.3;

1.1.1.1.8.3
date	2001.04.09.17.08.20;	author ru;	state Exp;
branches;
next	1.1.1.1.8.4;

1.1.1.1.8.4
date	2001.04.26.17.35.37;	author ru;	state Exp;
branches;
next	1.1.1.1.8.5;

1.1.1.1.8.5
date	2003.02.14.15.22.11;	author ru;	state Exp;
branches;
next	1.1.1.1.8.6;

1.1.1.1.8.6
date	2003.06.26.13.13.51;	author ru;	state Exp;
branches;
next	1.1.1.1.8.7;

1.1.1.1.8.7
date	2004.07.30.08.16.37;	author ru;	state Exp;
branches;
next	1.1.1.1.8.8;

1.1.1.1.8.8
date	2005.01.25.09.36.25;	author ru;	state Exp;
branches;
next	;


desc
@@


1.11
log
@Use stock (FSF) version of this file.
@
text
@.\" Copyright (c) 1991, 1993
.\"	The Regents of the University of California.  All rights reserved.
.\"
.\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions
.\" are met:
.\" 1. Redistributions of source code must retain the above copyright
.\"    notice, this list of conditions and the following disclaimer.
.\" 2. Redistributions in binary form must reproduce the above copyright
.\"    notice, this list of conditions and the following disclaimer in the
.\"    documentation and/or other materials provided with the distribution.
.\" 3. [Deleted.  See
.\"     ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change]
.\" 4. Neither the name of the University nor the names of its contributors
.\"    may be used to endorse or promote products derived from this software
.\"    without specific prior written permission.
.\"
.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
.\"     @@(#)doc-ditroff	8.1 (Berkeley) 06/08/93
.\"
.\"     %beginstrip%
.
.
.eo
.
.\" use -rD=1 for double-sided printing
.
.if !r D .nr D 0
.
.\" use -rcR=1 to force the creation of a single, very long page
.
.if !r cR .nr cR 0
.
.\" use -rS={11,12} to change the font size from 10pt to 11pt or 12pt.
.
.if !r S .nr S 10
.
.
.ec
.
.
.ie        (\n[S] == 11) \{\
.  ps 10.95z
.  vs 13.6p
.\}
.el \{ .ie (\n[S] == 12) \{\
.  ps 12z
.  vs 14.5p
.\}
.el \{\
.  ps 10z
.  vs 12p
.\}\}
.
.
.\" the `doc-xx-font' strings must not be empty!
.
.ds doc-caption-font \f[R]\s[\n[.ps]u]
.ds doc-caption-font2 \f[R]\s[\n[.ps]u]
.ds doc-Ad-font \f[I]\s[\n[.ps]u]
.ds doc-Ar-font \f[CO]\s[\n[.ps]u]
.ds doc-Cm-font \f[CB]\s[\n[.ps]u]
.ds doc-Em-font \f[I]\s[\n[.ps]u]
.ds doc-Er-font \f[C]\s[\n[.ps]u]
.ds doc-Ev-font \f[C]\s[\n[.ps]u]
.ds doc-Fa-font \f[CO]\s[\n[.ps]u]
.ds doc-Fd-font \f[CB]\s[\n[.ps]u]
.ds doc-Fl-font \f[CB]\s[\n[.ps]u]
.ds doc-Fn-font \f[CB]\s[\n[.ps]u]
.ds doc-Ft-font \f[CO]\s[\n[.ps]u]
.ds doc-Ic-font \f[CB]\s[\n[.ps]u]
.ds doc-Li-font \f[C]
.ds doc-Me-font \f[B]\s[\n[.ps]u]
.ds doc-Nm-font \f[CB]\s[\n[.ps]u]
.ds doc-No-font \f[R]\s[\n[.ps]u]
.ds doc-Pa-font \f[C]\s[\n[.ps]u]
.ds doc-Sh-font \f[B]\s[\n[.ps]u]
.ds doc-Sy-font \f[B]\s[\n[.ps]u]
.ds doc-Sx-font \f[B]\s[\n[.ps]u]
.ds doc-Tn-font-shape \f[R]
\# XXX: adapt to discrete LaTeX font sizes
.ds doc-Tn-font-size \s[(\n[.ps]u - 1z)]
.ds doc-Va-font \f[I]\s[\n[.ps]u]
.ds doc-Xr-font \f[C]\s[\n[.ps]u]
.
.ds doc-left-parenthesis \f[R]\|(\|\f[]\s[\n[.ps]u]
.ds doc-right-parenthesis \f[R]\|)\|\f[]\s[\n[.ps]u]
.ds lp \f[R](\f[]\s[\n[.ps]u]
.ds rp \f[R])\f[]\s[\n[.ps]u]
.ds doc-left-bracket \f[R]\^[\^\f[]\s[\n[.ps]u]
.ds doc-right-bracket \f[R]\^]\f[]\s[\n[.ps]u]
.
.tr *\[**]
.
.\" miscellaneous
.nr doc-subheader-indent (\w\f[C],u * 5u)
.nr doc-paragraph-space .5v
.
.nr doc-digit-width \w'\0'u
.nr doc-fixed-width \w\f[C]0
.
.eo
.
.
.\" NS doc-header-space global register
.\" NS   the space between header and body
.
.nr doc-header-space .5i
.
.
.\" NS doc-footer-space global register
.\" NS   the space between body and footer
.
.nr doc-footer-space .5i
.
.
.\" NS doc-display-vertical global register
.\" NS   vertical space between list elements etc.
.
.nr doc-display-vertical 0
.
.
.\" NS doc-setup-page-layout macro
.\" NS   set up page layout
.\" NS
.\" NS modifies:
.\" NS   doc-display-vertical
.
.de doc-setup-page-layout
.  ie r LL \
.    ll \n[LL]u
.  el \
.    ll 6.5i
.
.  ie r LT \
.    lt \n[LT]u
.  el \
.    lt 6.5i
.
.  po 1i
.
.  nr doc-display-vertical .5v
..
.
.
.ds doc-left-singlequote \[oq]
.ds doc-right-singlequote \[cq]
.
.\" the following strings are `official'
.ds <= \[<=]
.ds >= \[>=]
.ds Lq \[lq]
.ds Rq \[rq]
.ds ua \[ua]
.ds aa \[aa]
.ds ga \[ga]
.ds q \[dq]
.ds Pi \[*p]
.ds Ne \[!=]
.ds Le \[<=]
.ds Ge \[>=]
.ds Lt <
.ds Gt >
.ds Pm \[+-]
.ds If \[if]
.ds Na \f[I]NaN\f[]
.ds Ba \f[R]|\f[]
.ds Am &
.
.
.\" NS doc-header-string global string
.\" NS   the final string used for the manual page header
.
.ds doc-header-string
.
.
.\" NS doc-setup-header macro
.\" NS   install and initialize header and footer support
.\" NS
.\" NS modifies:
.\" NS   doc-header-string
.
.de doc-setup-header
.  ds doc-header-string "\*[doc-document-title]
.  if !"\*[doc-section]"Null" \
.    as doc-header-string \|(\*[doc-section])
.
.  wh 0 doc-header
.  wh -1.25i doc-footer
.
.  br
.
.  e@@ doc-end-macro
..
.
.
.\" NS doc-get-width macro
.\" NS   computes the width of a string as a multiple of `doc-fixed-width':
.\" NS   `.doc-get-width string'
.\" NS
.\" NS modifies:
.\" NS   doc-width
.
.de doc-get-width
.  nr doc-width \w\f[C]\$1
.  ie (\n[doc-width] >= \n[doc-fixed-width]) \{\
.    ie (\n[doc-width] % \n[doc-fixed-width]) \
.      nr doc-width ((\n[doc-width] / \n[doc-fixed-width]) + 1)
.    el \
.      nr doc-width (\n[doc-width] / \n[doc-fixed-width])
.  \}
.  el \{\
.    ie \n[doc-width] \
.      nr doc-width 1
.    el \
.      nr doc-width 0
.  \}
..
.
.
.\" NS doc-get-arg-width macro
.\" NS   computes the width of an argument as a multiple of
.\" NS   `doc-fixed-width': `.doc-get-arg-width arg-index'
.\" NS
.\" NS modifies:
.\" NS   doc-width
.
.de doc-get-arg-width
.  nr doc-width \w\f[C]\*[doc-arg\$1]
.  ie (\n[doc-width] >= \n[doc-fixed-width]) \{\
.    ie (\n[doc-width] % \n[doc-fixed-width]) \
.      nr doc-width ((\n[doc-width] / \n[doc-fixed-width]) + 1)
.    el \
.      nr doc-width (\n[doc-width] / \n[doc-fixed-width])
.  \}
.  el \{\
.    ie \n[doc-width] \
.      nr doc-width 1
.    el \
.      nr doc-width 0
.  \}
..
.
.
.\" NS Ql user macro
.\" NS   quoted literal define
.\" NS
.\" NS modifies:
.\" NS   doc-argXXX
.\" NS   doc-arg-limit
.\" NS   doc-arg-ptr
.\" NS   doc-macro-name
.\" NS   doc-spaceXXX
.\" NS   doc-typeXXX
.\" NS   doc-quote-left
.\" NS   doc-quote-right
.\" NS
.\" NS local variables:
.\" NS   doc-reg-Ql
.\" NS   doc-reg-Ql1
.\" NS   doc-reg-Ql2
.\" NS
.\" NS width register `Ql' set in doc-common
.
.de Ql
.  if !\n[doc-arg-limit] \{\
.    ie \n[.$] \{\
.      ds doc-macro-name Ql
.      doc-parse-args \$@@
.    \}
.    el \
.      tm Usage: .Ql argument ... (#\n[.c])
.  \}
.
.  nr doc-reg-Ql (\n[doc-arg-ptr] + 1)
.  doc-get-arg-width \n[doc-reg-Ql]
.
.  \" don't use quotes if we have more than two succeeding string arguments
.  nr doc-reg-Ql +1
.  if (\n[doc-arg-limit] >= \n[doc-reg-Ql]) \
.    if (\n[doc-type\n[doc-reg-Ql]] == 2) \
.      nr doc-width 3
.
.  \" make a difference in quotation style for strings longer
.  \" than two characters
.  ie (\n[doc-width] > 2) \
.    Li
.  el \{\
.    ie \n[doc-arg-ptr] \{\
.      \" we replace `Ql' with `Li'
.      ds doc-arg\n[doc-arg-ptr] Li
.      nr doc-arg-ptr -1
.    \}
.    el \{\
.      \" if .Ql has been called directly, we must shift all elements in
.      \" the argument vector to the right so that we can insert `Li'
.      nr doc-reg-Ql \n[doc-arg-limit]
.      nr doc-reg-Ql1 (\n[doc-arg-limit] + 1)
.      while \n[doc-reg-Ql] \{\
.        rn doc-arg\n[doc-reg-Ql] doc-arg\n[doc-reg-Ql1]
.        rnn doc-type\n[doc-reg-Ql] doc-type\n[doc-reg-Ql1]
.        rn doc-space\n[doc-reg-Ql] doc-space\n[doc-reg-Ql1]
.        nr doc-reg-Ql -1
.        nr doc-reg-Ql1 -1
.      \}
.      ds doc-arg1 Li
.      nr doc-type1 1
.      ds doc-space1
.      nr doc-arg-limit +1
.    \}
.
.    ds doc-quote-left "\*[doc-left-singlequote]
.    ds doc-quote-right "\*[doc-right-singlequote]
.    doc-enclose-string
.  \}
..
.
.
.ec
.
.\" EOF
@


1.11.30.1
log
@file doc-ditroff was added on branch RELENG_8_4 on 2013-03-28 13:01:19 +0000
@
text
@d1 332
@


1.11.30.2
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/248810
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@a0 332
.\" Copyright (c) 1991, 1993
.\"	The Regents of the University of California.  All rights reserved.
.\"
.\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions
.\" are met:
.\" 1. Redistributions of source code must retain the above copyright
.\"    notice, this list of conditions and the following disclaimer.
.\" 2. Redistributions in binary form must reproduce the above copyright
.\"    notice, this list of conditions and the following disclaimer in the
.\"    documentation and/or other materials provided with the distribution.
.\" 3. [Deleted.  See
.\"     ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change]
.\" 4. Neither the name of the University nor the names of its contributors
.\"    may be used to endorse or promote products derived from this software
.\"    without specific prior written permission.
.\"
.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
.\"     @@(#)doc-ditroff	8.1 (Berkeley) 06/08/93
.\"
.\"     %beginstrip%
.
.
.eo
.
.\" use -rD=1 for double-sided printing
.
.if !r D .nr D 0
.
.\" use -rcR=1 to force the creation of a single, very long page
.
.if !r cR .nr cR 0
.
.\" use -rS={11,12} to change the font size from 10pt to 11pt or 12pt.
.
.if !r S .nr S 10
.
.
.ec
.
.
.ie        (\n[S] == 11) \{\
.  ps 10.95z
.  vs 13.6p
.\}
.el \{ .ie (\n[S] == 12) \{\
.  ps 12z
.  vs 14.5p
.\}
.el \{\
.  ps 10z
.  vs 12p
.\}\}
.
.
.\" the `doc-xx-font' strings must not be empty!
.
.ds doc-caption-font \f[R]\s[\n[.ps]u]
.ds doc-caption-font2 \f[R]\s[\n[.ps]u]
.ds doc-Ad-font \f[I]\s[\n[.ps]u]
.ds doc-Ar-font \f[CO]\s[\n[.ps]u]
.ds doc-Cm-font \f[CB]\s[\n[.ps]u]
.ds doc-Em-font \f[I]\s[\n[.ps]u]
.ds doc-Er-font \f[C]\s[\n[.ps]u]
.ds doc-Ev-font \f[C]\s[\n[.ps]u]
.ds doc-Fa-font \f[CO]\s[\n[.ps]u]
.ds doc-Fd-font \f[CB]\s[\n[.ps]u]
.ds doc-Fl-font \f[CB]\s[\n[.ps]u]
.ds doc-Fn-font \f[CB]\s[\n[.ps]u]
.ds doc-Ft-font \f[CO]\s[\n[.ps]u]
.ds doc-Ic-font \f[CB]\s[\n[.ps]u]
.ds doc-Li-font \f[C]
.ds doc-Me-font \f[B]\s[\n[.ps]u]
.ds doc-Nm-font \f[CB]\s[\n[.ps]u]
.ds doc-No-font \f[R]\s[\n[.ps]u]
.ds doc-Pa-font \f[C]\s[\n[.ps]u]
.ds doc-Sh-font \f[B]\s[\n[.ps]u]
.ds doc-Sy-font \f[B]\s[\n[.ps]u]
.ds doc-Sx-font \f[B]\s[\n[.ps]u]
.ds doc-Tn-font-shape \f[R]
\# XXX: adapt to discrete LaTeX font sizes
.ds doc-Tn-font-size \s[(\n[.ps]u - 1z)]
.ds doc-Va-font \f[I]\s[\n[.ps]u]
.ds doc-Xr-font \f[C]\s[\n[.ps]u]
.
.ds doc-left-parenthesis \f[R]\|(\|\f[]\s[\n[.ps]u]
.ds doc-right-parenthesis \f[R]\|)\|\f[]\s[\n[.ps]u]
.ds lp \f[R](\f[]\s[\n[.ps]u]
.ds rp \f[R])\f[]\s[\n[.ps]u]
.ds doc-left-bracket \f[R]\^[\^\f[]\s[\n[.ps]u]
.ds doc-right-bracket \f[R]\^]\f[]\s[\n[.ps]u]
.
.tr *\[**]
.
.\" miscellaneous
.nr doc-subheader-indent (\w\f[C],u * 5u)
.nr doc-paragraph-space .5v
.
.nr doc-digit-width \w'\0'u
.nr doc-fixed-width \w\f[C]0
.
.eo
.
.
.\" NS doc-header-space global register
.\" NS   the space between header and body
.
.nr doc-header-space .5i
.
.
.\" NS doc-footer-space global register
.\" NS   the space between body and footer
.
.nr doc-footer-space .5i
.
.
.\" NS doc-display-vertical global register
.\" NS   vertical space between list elements etc.
.
.nr doc-display-vertical 0
.
.
.\" NS doc-setup-page-layout macro
.\" NS   set up page layout
.\" NS
.\" NS modifies:
.\" NS   doc-display-vertical
.
.de doc-setup-page-layout
.  ie r LL \
.    ll \n[LL]u
.  el \
.    ll 6.5i
.
.  ie r LT \
.    lt \n[LT]u
.  el \
.    lt 6.5i
.
.  po 1i
.
.  nr doc-display-vertical .5v
..
.
.
.ds doc-left-singlequote \[oq]
.ds doc-right-singlequote \[cq]
.
.\" the following strings are `official'
.ds <= \[<=]
.ds >= \[>=]
.ds Lq \[lq]
.ds Rq \[rq]
.ds ua \[ua]
.ds aa \[aa]
.ds ga \[ga]
.ds q \[dq]
.ds Pi \[*p]
.ds Ne \[!=]
.ds Le \[<=]
.ds Ge \[>=]
.ds Lt <
.ds Gt >
.ds Pm \[+-]
.ds If \[if]
.ds Na \f[I]NaN\f[]
.ds Ba \f[R]|\f[]
.ds Am &
.
.
.\" NS doc-header-string global string
.\" NS   the final string used for the manual page header
.
.ds doc-header-string
.
.
.\" NS doc-setup-header macro
.\" NS   install and initialize header and footer support
.\" NS
.\" NS modifies:
.\" NS   doc-header-string
.
.de doc-setup-header
.  ds doc-header-string "\*[doc-document-title]
.  if !"\*[doc-section]"Null" \
.    as doc-header-string \|(\*[doc-section])
.
.  wh 0 doc-header
.  wh -1.25i doc-footer
.
.  br
.
.  e@@ doc-end-macro
..
.
.
.\" NS doc-get-width macro
.\" NS   computes the width of a string as a multiple of `doc-fixed-width':
.\" NS   `.doc-get-width string'
.\" NS
.\" NS modifies:
.\" NS   doc-width
.
.de doc-get-width
.  nr doc-width \w\f[C]\$1
.  ie (\n[doc-width] >= \n[doc-fixed-width]) \{\
.    ie (\n[doc-width] % \n[doc-fixed-width]) \
.      nr doc-width ((\n[doc-width] / \n[doc-fixed-width]) + 1)
.    el \
.      nr doc-width (\n[doc-width] / \n[doc-fixed-width])
.  \}
.  el \{\
.    ie \n[doc-width] \
.      nr doc-width 1
.    el \
.      nr doc-width 0
.  \}
..
.
.
.\" NS doc-get-arg-width macro
.\" NS   computes the width of an argument as a multiple of
.\" NS   `doc-fixed-width': `.doc-get-arg-width arg-index'
.\" NS
.\" NS modifies:
.\" NS   doc-width
.
.de doc-get-arg-width
.  nr doc-width \w\f[C]\*[doc-arg\$1]
.  ie (\n[doc-width] >= \n[doc-fixed-width]) \{\
.    ie (\n[doc-width] % \n[doc-fixed-width]) \
.      nr doc-width ((\n[doc-width] / \n[doc-fixed-width]) + 1)
.    el \
.      nr doc-width (\n[doc-width] / \n[doc-fixed-width])
.  \}
.  el \{\
.    ie \n[doc-width] \
.      nr doc-width 1
.    el \
.      nr doc-width 0
.  \}
..
.
.
.\" NS Ql user macro
.\" NS   quoted literal define
.\" NS
.\" NS modifies:
.\" NS   doc-argXXX
.\" NS   doc-arg-limit
.\" NS   doc-arg-ptr
.\" NS   doc-macro-name
.\" NS   doc-spaceXXX
.\" NS   doc-typeXXX
.\" NS   doc-quote-left
.\" NS   doc-quote-right
.\" NS
.\" NS local variables:
.\" NS   doc-reg-Ql
.\" NS   doc-reg-Ql1
.\" NS   doc-reg-Ql2
.\" NS
.\" NS width register `Ql' set in doc-common
.
.de Ql
.  if !\n[doc-arg-limit] \{\
.    ie \n[.$] \{\
.      ds doc-macro-name Ql
.      doc-parse-args \$@@
.    \}
.    el \
.      tm Usage: .Ql argument ... (#\n[.c])
.  \}
.
.  nr doc-reg-Ql (\n[doc-arg-ptr] + 1)
.  doc-get-arg-width \n[doc-reg-Ql]
.
.  \" don't use quotes if we have more than two succeeding string arguments
.  nr doc-reg-Ql +1
.  if (\n[doc-arg-limit] >= \n[doc-reg-Ql]) \
.    if (\n[doc-type\n[doc-reg-Ql]] == 2) \
.      nr doc-width 3
.
.  \" make a difference in quotation style for strings longer
.  \" than two characters
.  ie (\n[doc-width] > 2) \
.    Li
.  el \{\
.    ie \n[doc-arg-ptr] \{\
.      \" we replace `Ql' with `Li'
.      ds doc-arg\n[doc-arg-ptr] Li
.      nr doc-arg-ptr -1
.    \}
.    el \{\
.      \" if .Ql has been called directly, we must shift all elements in
.      \" the argument vector to the right so that we can insert `Li'
.      nr doc-reg-Ql \n[doc-arg-limit]
.      nr doc-reg-Ql1 (\n[doc-arg-limit] + 1)
.      while \n[doc-reg-Ql] \{\
.        rn doc-arg\n[doc-reg-Ql] doc-arg\n[doc-reg-Ql1]
.        rnn doc-type\n[doc-reg-Ql] doc-type\n[doc-reg-Ql1]
.        rn doc-space\n[doc-reg-Ql] doc-space\n[doc-reg-Ql1]
.        nr doc-reg-Ql -1
.        nr doc-reg-Ql1 -1
.      \}
.      ds doc-arg1 Li
.      nr doc-type1 1
.      ds doc-space1
.      nr doc-arg-limit +1
.    \}
.
.    ds doc-quote-left "\*[doc-left-singlequote]
.    ds doc-quote-right "\*[doc-right-singlequote]
.    doc-enclose-string
.  \}
..
.
.
.ec
.
.\" EOF
@


1.10
log
@MFV: Latest mdoc(7) fixes.
@
text
@d12 2
a13 4
.\" 3. All advertising materials mentioning features or use of this software
.\"    must display the following acknowledgement:
.\"      This product includes software developed by the University of
.\"      California, Berkeley and its contributors.
@


1.10.2.1
log
@MFC: Groff 1.19.2.
@
text
@d12 4
a15 2
.\" 3. [Deleted.  See
.\"     ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change]
@


1.9
log
@MFV:

- Do not emit multiple empty lines in the CRT mode.
- Fixed the Nd macro to use the right dash.
@
text
@a182 2
.nr gX 0
.
a203 3
.  if \n[gX] \
.    ds doc-command-name
.
a205 1
.  nr gX 0
@


1.9.6.1
log
@MFC: Latest mdoc(7) fixes.
@
text
@d183 2
d206 3
d211 1
@


1.8
log
@Use stock (FSF) version of this file.
@
text
@d121 1
a121 1
.nr doc-header-space 0
d127 1
a127 1
.nr doc-footer-space 0
a140 2
.\" NS   doc-footer-space
.\" NS   doc-header-space
a142 3
.  nr doc-header-space .5i
.  nr doc-footer-space .5i
.
@


1.7
log
@Use the stock (FSF) version of this file.
@
text
@a38 4
.\" use -rC=1 to number pages continuously
.
.if !r C .nr C 0
.
a210 1
.  nr nL \n[nl]
a214 6
.
.  \" Don't set the page number if this is the first page,
.  \" in case the user has used -n.
.  if \n[nL] \
.    if !\n[C] \
.      nr % 1
@


1.6
log
@Use stock (FSF) version of this file.
@
text
@a32 1
.\"	$FreeBSD$
@


1.5
log
@Use stock (FSF) version of this file.
@
text
@d33 1
a33 1
.\"	$FreeBSD: src/contrib/groff/tmac/doc-ditroff,v 1.4 2001/04/09 13:02:20 ru Exp $
d104 6
a109 6
.ds doc-left-parenthesis \f[R]\|(\|\f[P]\s[\n[.ps]u]
.ds doc-right-parenthesis \f[R]\|)\|\f[P]\s[\n[.ps]u]
.ds lp \f[R](\f[P]\s[\n[.ps]u]
.ds rp \f[R])\f[P]\s[\n[.ps]u]
.ds doc-left-bracket \f[R]\^[\^\f[P]\s[\n[.ps]u]
.ds doc-right-bracket \f[R]\^]\f[P]\s[\n[.ps]u]
d153 10
a162 2
.  ll 6.5i
.  lt 6.5i
d189 3
a191 2
.ds Na \f[I]NaN\f[P]
.ds Ba \f[R]|\f[P]
@


1.4
log
@Merge in latest CSRG revisions:

- .Fn and .Fc now print a final semicolon (`;') after a
  function declaration in the SYNOPSIS
- .%I implemented
- .At outputs ``AT&T UNIX'' if called without arguments
- minor cleanup

Obtained from:	CSRG archives
@
text
@d14 2
a15 2
.\"	This product includes software developed by the University of
.\"	California, Berkeley and its contributors.
d33 1
a33 1
.\"	$FreeBSD: src/contrib/groff/tmac/doc-ditroff,v 1.3 2001/02/01 16:17:06 ru Exp $
a34 1
.\" tmac.mdoc-ditroff
d36 31
a66 67
.\"
.\" -rC1 numbers pages continuously; initialize to avoid warnings
.if \n(.g .if !rC .nr C 0
.ds aD \fI\s10
.ds aR \f(CO\s10
.ds cM \f(CB\s10
.ds dF \fR\s10
.ds eM \fI\s10
.ds eR \fC\s10
.ds eV \fC\s10
.ds fA \f(CO\s10
.ds fD \f(CB\s10
.ds fL \f(CB\s10
.ds fN \f(CB\s10
.ds fP \fP\s0
.ds fS \s0
.ds fT \f(CO\s10
.ds Hs \fR\s10
.ds iC \f(CB\s10
.ds lI \fC
.ds lP \fR\|(\|\fP\s10
.ds lp \fR(\fP\s10
.ds rP \fR\|)\|\fP\s10
.ds rp \fR)\fP\s10
.ds lB \fR\^[\^\fP\s10
.ds rB \fR\^]\fP\s10
.ds mL \fB\s10
.ds nM \f(CB\s10
.ds nO \fR\s10
.ds nT \s0
.ds pA \fC\s10
.ds Pu \fR{\ .\ ,\ :\ ;\ ?\ !\ (\ )\ [\ ]\ \fR}
.ds rA \fR\s10
.ds rT \f(CO\s10
.ds sH \fB\s10
.ds sP \s0
.ds sY \fB\s10
.ds sX \fR\s10
.ds tF \fR
.ds tN \s9
.ds vA \fI\s10
.ds Vs \fR\s10
.ds vT \f(CB\s10
.ds xR \fC\s10
.tr *\(**
.nr sI \w\fC,u*5
.nr Ti \n(sIu
.nr Pp .5v
.ds lS \0
.nr lS \w'\0'u
.nr dI 6n
.de pL
.nr Hm .5i
.nr Fm .5i
.nr ll 6.5i
.ll 6.5i
.nr lt 6.5i
.lt 6.5i
.nr po 1i
.po 1.i
.nr dV .5v
..
.ds <= \(<=
.ds >= \(>=
.ie \n(.g \{\
.	ds Lq \(lq
.	ds Rq \(rq
d69 108
a176 14
.	ds Lq \&``
.	ds Rq \&''
.\}
.ds ua \(ua
.ds aa \(aa
.ds ga \(ga
.ds sR \&'
.ds sL \&`
.ds q \&"
.\" Math stuff
.ds Pi \(*p
.ds Ne \(!=
.ds Le \(<=
.ds Ge \(>=
d179 5
a183 5
.ds Pm \(+-
.ds If \(if
.ds Na \fINaN\fP
.ds Ba \fR\&|\fP
.\"
d185 36
a220 28
.de hK
.ds hT \\*(dT
.if !"\\*(cH"Null" \{\
.       ie !"\\*(gP"Null" .as hT \|(\|\\*(cH\\*(gP\|)
.       el .as hT \\|(\\|\\*(cH\\|)
.\}
.if "\\*(cH"Null" \{\
.	if !"\\*(gP"Null" .as hT \&\|(\|\\*(gP\|)
.\}
.wh 0 hM
.wh -1.25i fM
.nr nL \\n(nl
.ie \\n(gX==1 \{\
.	rm n1
.	bp
.\}
.el \{\
'	bp
.\}
.\" Don't set the page number if this is the first page,
.\" in case the user has used -n.
.if \\n(nL>0 \{\
.	if !\\nC \{\
.		nr % 1
.	\}
.\}
.nr gX 0
.em lM
d222 23
a244 12
.\"
.nr fW \w\fC0
.de sW
.nr sW \w\fC\\$1
.ie \\n(sW>=\\n(fW \{\
.       ie \\n(sW%\\n(fW .nr sW (\\n(sW/\\n(fW)+1
.       el .nr sW \\n(sW/\\n(fW
.\}
.el \{\
.	ie \\n(sW>0 .nr sW 1
.	el .nr sW 0
.\}
d246 23
a268 11
.\"
.de aW
.nr sW \w\fC\\*(A\\$1
.ie \\n(sW>=\\n(fW \{\
.       ie \\n(sW%\\n(fW .nr sW (\\n(sW/\\n(fW)+1
.       el .nr sW \\n(sW/\\n(fW
.\}
.el \{\
.	ie \\n(sW>0 .nr sW 1
.	el .nr sW 0
.\}
d270 22
a291 1
.\" NS Ql macro - Quoted literal define
d293 50
a342 98
.if \\n(aC==0  \{\
.	ds mN Ql
.       ds A1 \\$1
.       ds A2 \\$2
.       ds A3 \\$3
.       ds A4 \\$4
.       ds A5 \\$5
.       ds A6 \\$6
.       ds A7 \\$7
.       ds A8 \\$8
. 	nr fV \\n(.$
. 	fV
.\}
.nr aP \\n(aP+1
.aW \\n(aP
.nr aP \\n(aP-1
.if \\n(sW>2 .Li
.if \\n(sW<=2 \{\
.\" Db on
.	if (\\n(aP>0) \{\
.		ds A\\n(aP Li
.		nr aP \\n(aP -1
.	\}
.	if (\\n(aP==0) \{\
.		rm C0 C1 C2 C3 C4 C5 C6 C7 C8 C9
.		rm S1 S2 S3 S4 S5 S6 S7 S8 S9
.		rn A8 A9
.		rn A7 A8
.		rn A6 A7
.		rn A5 A6
.		rn A4 A5
.		rn A3 A4
.		rn A2 A3
.		rn A1 A2
.		ds A1 Li
.	 	nr fV \\n(aC+1
.		nr aC 0
.		fV
.	\}
.	ds qL \&\\*(sL
.	ds qR \&\\*(sR
.	En
.\" Db off
.\}
..
.\" NS Sh macro - Section Headers
.\" NS nS register - Section Header SYNOPSIS flag
.\" NS nF register - Section Header FILES flag
.\" NS nA register - Section Header SEE ALSO flag
.\" NS nT register - Section Header STANDARDS flag
.de Sh
.nr nS 0
.nr sE 0
.nr iS 0
'ad
.ie "\\$1"NAME" \{\
.       hK
'       in 0
.\}
.el \{\
.       nr nS 0
.       nr nA 0
.       nr nF 0
.       nr nT 0
.       nr nY 0
.       nr oT 0
.       if "\\$1"SYNOPSIS" \{\
.		na
.		nr nS 1
.	\}
.       if "\\$1"DESCRIPTION" \{\
.		nr fY 0
.		nr fZ 0
.		nr fB 0
.		nr Fb 0
.		ds Fb
.	\}
.       if "\\$1"SEE" \{\
.               nr nA 1
.               na
.       \}
.       if "\\$1"FILES" .nr nF 1
.       if "\\$1"STANDARDS" .nr nT 1
.       if "\\$1"AUTHORS" .nr nY 1
.	if "\\$1"SEE" .nr sE 1
.       in 0
.       nr aN 0
.\}
.pL
'sp
.ns
.ta .5i 1i 1.5i 2i 2.5i 3i 3.5i 4i 4.5i 5i 5.5i 6i 6.5i
.if !\\n(cR .ne 3
'fi
\&\\*(sH\\$1 \|\\$2 \|\\$3 \|\\$4 \|\\$5 \|\\$6 \|\\$7 \|\\$8 \|\\$9
\&\fP\s0\&
.in \\n(.iu+\\n(Tiu
.ns
d344 5
@


1.3
log
@Make the exclamation mark (`!') a recognizable punctuation character.

Obtained from:	mdocNG
@
text
@d1 2
a2 2
.\" Copyright (c) 1991 The Regents of the University of California.
.\" All rights reserved.
d32 2
a33 2
.\"     @@(#)doc-ditroff	5.8 (Berkeley) 8/5/91
.\"	$FreeBSD: src/contrib/groff/tmac/doc-ditroff,v 1.2 2000/11/16 17:04:13 ru Exp $
d206 1
a206 1
.	\}		
@


1.2
log
@Make the question mark (`?') a valid punctuation character.
One can now, for example, write:

.Sh EXAMPLES
Have you read the
.Xr mdoc 7 ?
.Pp
Do you like
.Fx ?

The mdoc.samples(7) page has been automatically updated to
record this change.
@
text
@d33 1
a33 1
.\"	$FreeBSD$
d68 1
a68 1
.ds Pu \fR{\ .\ ,\ :\ ;\ ?\ (\ )\ [\ ]\ \fR}
@


1.1
log
@Initial revision
@
text
@d33 1
d68 1
a68 1
.ds Pu \fR{\ .\ ,\ :\ ;\ (\ )\ [\ ]\ \fR}
@


1.1.1.1
log
@Virgin import of FSF groff v1.10
@
text
@@


1.1.1.2
log
@Virgin import of FSF groff v1.17
@
text
@d1 2
a2 2
.\" Copyright (c) 1991, 1993
.\"	The Regents of the University of California.  All rights reserved.
d14 2
a15 2
.\"      This product includes software developed by the University of
.\"      California, Berkeley and its contributors.
d32 1
a32 1
.\"     @@(#)doc-ditroff	8.1 (Berkeley) 06/08/93
d34 1
d36 67
a102 31
.
.
.eo
.
.\" use -rC=1 to number pages continuously
.
.if !r C .nr C 0
.
.\" use -rD=1 for double-sided printing
.
.if !r D .nr D 0
.
.\" use -rcR=1 to force the creation of a single, very long page
.
.if !r cR .nr cR 0
.
.\" use -rS={11,12} to change the font size from 10pt to 11pt or 12pt.
.
.if !r S .nr S 10
.
.
.ec
.
.
.ie        (\n[S] == 11) \{\
.  ps 10.95z
.  vs 13.6p
.\}
.el \{ .ie (\n[S] == 12) \{\
.  ps 12z
.  vs 14.5p
d105 14
a118 108
.  ps 10z
.  vs 12p
.\}\}
.
.
.\" the `doc-xx-font' strings must not be empty!
.
.ds doc-caption-font \f[R]\s[\n[.ps]u]
.ds doc-caption-font2 \f[R]\s[\n[.ps]u]
.ds doc-Ad-font \f[I]\s[\n[.ps]u]
.ds doc-Ar-font \f[CO]\s[\n[.ps]u]
.ds doc-Cm-font \f[CB]\s[\n[.ps]u]
.ds doc-Em-font \f[I]\s[\n[.ps]u]
.ds doc-Er-font \f[C]\s[\n[.ps]u]
.ds doc-Ev-font \f[C]\s[\n[.ps]u]
.ds doc-Fa-font \f[CO]\s[\n[.ps]u]
.ds doc-Fd-font \f[CB]\s[\n[.ps]u]
.ds doc-Fl-font \f[CB]\s[\n[.ps]u]
.ds doc-Fn-font \f[CB]\s[\n[.ps]u]
.ds doc-Ft-font \f[CO]\s[\n[.ps]u]
.ds doc-Ic-font \f[CB]\s[\n[.ps]u]
.ds doc-Li-font \f[C]
.ds doc-Me-font \f[B]\s[\n[.ps]u]
.ds doc-Nm-font \f[CB]\s[\n[.ps]u]
.ds doc-No-font \f[R]\s[\n[.ps]u]
.ds doc-Pa-font \f[C]\s[\n[.ps]u]
.ds doc-Sh-font \f[B]\s[\n[.ps]u]
.ds doc-Sy-font \f[B]\s[\n[.ps]u]
.ds doc-Sx-font \f[B]\s[\n[.ps]u]
.ds doc-Tn-font-shape \f[R]
\# XXX: adapt to discrete LaTeX font sizes
.ds doc-Tn-font-size \s[(\n[.ps]u - 1z)]
.ds doc-Va-font \f[I]\s[\n[.ps]u]
.ds doc-Xr-font \f[C]\s[\n[.ps]u]
.
.ds doc-left-parenthesis \f[R]\|(\|\f[P]\s[\n[.ps]u]
.ds doc-right-parenthesis \f[R]\|)\|\f[P]\s[\n[.ps]u]
.ds lp \f[R](\f[P]\s[\n[.ps]u]
.ds rp \f[R])\f[P]\s[\n[.ps]u]
.ds doc-left-bracket \f[R]\^[\^\f[P]\s[\n[.ps]u]
.ds doc-right-bracket \f[R]\^]\f[P]\s[\n[.ps]u]
.
.tr *\[**]
.
.\" miscellaneous
.nr doc-subheader-indent (\w\f[C],u * 5u)
.nr doc-paragraph-space .5v
.
.nr doc-digit-width \w'\0'u
.nr doc-fixed-width \w\f[C]0
.
.eo
.
.
.\" NS doc-header-space global register
.\" NS   the space between header and body
.
.nr doc-header-space 0
.
.
.\" NS doc-footer-space global register
.\" NS   the space between body and footer
.
.nr doc-footer-space 0
.
.
.\" NS doc-display-vertical global register
.\" NS   vertical space between list elements etc.
.
.nr doc-display-vertical 0
.
.
.\" NS doc-setup-page-layout macro
.\" NS   set up page layout
.\" NS
.\" NS modifies:
.\" NS   doc-display-vertical
.\" NS   doc-footer-space
.\" NS   doc-header-space
.
.de doc-setup-page-layout
.  nr doc-header-space .5i
.  nr doc-footer-space .5i
.
.  ll 6.5i
.  lt 6.5i
.  po 1i
.
.  nr doc-display-vertical .5v
..
.
.
.ds doc-left-singlequote \[oq]
.ds doc-right-singlequote \[cq]
.
.\" the following strings are `official'
.ds <= \[<=]
.ds >= \[>=]
.ds Lq \[lq]
.ds Rq \[rq]
.ds ua \[ua]
.ds aa \[aa]
.ds ga \[ga]
.ds q \[dq]
.ds Pi \[*p]
.ds Ne \[!=]
.ds Le \[<=]
.ds Ge \[>=]
d121 5
a125 5
.ds Pm \[+-]
.ds If \[if]
.ds Na \f[I]NaN\f[P]
.ds Ba \f[R]|\f[P]
.
d127 28
a154 36
.
.
.\" NS doc-header-string global string
.\" NS   the final string used for the manual page header
.
.ds doc-header-string
.
.
.\" NS doc-setup-header macro
.\" NS   install and initialize header and footer support
.\" NS
.\" NS modifies:
.\" NS   doc-header-string
.
.de doc-setup-header
.  ds doc-header-string "\*[doc-document-title]
.  if !"\*[doc-section]"Null" \
.    as doc-header-string \|(\*[doc-section])
.
.  wh 0 doc-header
.  wh -1.25i doc-footer
.
.  nr nL \n[nl]
.  if \n[gX] \
.    ds doc-command-name
.
.  br
.
.  \" Don't set the page number if this is the first page,
.  \" in case the user has used -n.
.  if \n[nL] \
.    if !\n[C] \
.      nr % 1
.
.  nr gX 0
.  e@@ doc-end-macro
d156 12
a167 23
.
.
.\" NS doc-get-width macro
.\" NS   computes the width of a string as a multiple of `doc-fixed-width':
.\" NS   `.doc-get-width string'
.\" NS
.\" NS modifies:
.\" NS   doc-width
.
.de doc-get-width
.  nr doc-width \w\f[C]\$1
.  ie (\n[doc-width] >= \n[doc-fixed-width]) \{\
.    ie (\n[doc-width] % \n[doc-fixed-width]) \
.      nr doc-width ((\n[doc-width] / \n[doc-fixed-width]) + 1)
.    el \
.      nr doc-width (\n[doc-width] / \n[doc-fixed-width])
.  \}
.  el \{\
.    ie \n[doc-width] \
.      nr doc-width 1
.    el \
.      nr doc-width 0
.  \}
d169 11
a179 23
.
.
.\" NS doc-get-arg-width macro
.\" NS   computes the width of an argument as a multiple of
.\" NS   `doc-fixed-width': `.doc-get-arg-width arg-index'
.\" NS
.\" NS modifies:
.\" NS   doc-width
.
.de doc-get-arg-width
.  nr doc-width \w\f[C]\*[doc-arg\$1]
.  ie (\n[doc-width] >= \n[doc-fixed-width]) \{\
.    ie (\n[doc-width] % \n[doc-fixed-width]) \
.      nr doc-width ((\n[doc-width] / \n[doc-fixed-width]) + 1)
.    el \
.      nr doc-width (\n[doc-width] / \n[doc-fixed-width])
.  \}
.  el \{\
.    ie \n[doc-width] \
.      nr doc-width 1
.    el \
.      nr doc-width 0
.  \}
d181 1
a181 22
.
.
.\" NS Ql user macro
.\" NS   quoted literal define
.\" NS
.\" NS modifies:
.\" NS   doc-argXXX
.\" NS   doc-arg-limit
.\" NS   doc-arg-ptr
.\" NS   doc-macro-name
.\" NS   doc-spaceXXX
.\" NS   doc-typeXXX
.\" NS   doc-quote-left
.\" NS   doc-quote-right
.\" NS
.\" NS local variables:
.\" NS   doc-reg-Ql
.\" NS   doc-reg-Ql1
.\" NS   doc-reg-Ql2
.\" NS
.\" NS width register `Ql' set in doc-common
.
d183 98
a280 50
.  if !\n[doc-arg-limit] \{\
.    ie \n[.$] \{\
.      ds doc-macro-name Ql
.      doc-parse-args \$@@
.    \}
.    el \
.      tm Usage: .Ql argument ... (#\n[.c])
.  \}
.
.  nr doc-reg-Ql (\n[doc-arg-ptr] + 1)
.  doc-get-arg-width \n[doc-reg-Ql]
.
.  \" don't use quotes if we have more than two succeeding string arguments
.  nr doc-reg-Ql +1
.  if (\n[doc-arg-limit] >= \n[doc-reg-Ql]) \
.    if (\n[doc-type\n[doc-reg-Ql]] == 2) \
.      nr doc-width 3
.
.  \" make a difference in quotation style for strings longer
.  \" than two characters
.  ie (\n[doc-width] > 2) \
.    Li
.  el \{\
.    ie \n[doc-arg-ptr] \{\
.      \" we replace `Ql' with `Li'
.      ds doc-arg\n[doc-arg-ptr] Li
.      nr doc-arg-ptr -1
.    \}
.    el \{\
.      \" if .Ql has been called directly, we must shift all elements in
.      \" the argument vector to the right so that we can insert `Li'
.      nr doc-reg-Ql \n[doc-arg-limit]
.      nr doc-reg-Ql1 (\n[doc-arg-limit] + 1)
.      while \n[doc-reg-Ql] \{\
.        rn doc-arg\n[doc-reg-Ql] doc-arg\n[doc-reg-Ql1]
.        rnn doc-type\n[doc-reg-Ql] doc-type\n[doc-reg-Ql1]
.        rn doc-space\n[doc-reg-Ql] doc-space\n[doc-reg-Ql1]
.        nr doc-reg-Ql -1
.        nr doc-reg-Ql1 -1
.      \}
.      ds doc-arg1 Li
.      nr doc-type1 1
.      ds doc-space1
.      nr doc-arg-limit +1
.    \}
.
.    ds doc-quote-left "\*[doc-left-singlequote]
.    ds doc-quote-right "\*[doc-right-singlequote]
.    doc-enclose-string
.  \}
a281 5
.
.
.ec
.
.\" EOF
@


1.1.1.3
log
@Virgin import of FSF groff v1.18.1
@
text
@d103 6
a108 6
.ds doc-left-parenthesis \f[R]\|(\|\f[]\s[\n[.ps]u]
.ds doc-right-parenthesis \f[R]\|)\|\f[]\s[\n[.ps]u]
.ds lp \f[R](\f[]\s[\n[.ps]u]
.ds rp \f[R])\f[]\s[\n[.ps]u]
.ds doc-left-bracket \f[R]\^[\^\f[]\s[\n[.ps]u]
.ds doc-right-bracket \f[R]\^]\f[]\s[\n[.ps]u]
d152 2
a153 10
.  ie r LL \
.    ll \n[LL]u
.  el \
.    ll 6.5i
.
.  ie r LT \
.    lt \n[LT]u
.  el \
.    lt 6.5i
.
d180 2
a181 3
.ds Na \f[I]NaN\f[]
.ds Ba \f[R]|\f[]
.ds Am &
@


1.1.1.4
log
@Virgin import of FSF groff v1.19
@
text
@d39 4
d215 1
d220 6
@


1.1.1.5
log
@A couple of vendor updates:

2003-05-01  Werner LEMBERG  <wl@@gnu.org>

        * tmac/doc-ditroff, tmac/doc-nroff (doc-header-space,
        doc-footer-space): Initialize to 0.5i.
        (doc-setup-page-layout): Don't set doc-header-space and
        doc-footer-space.

2003-05-01  Ruslan Ermilov  <ru@@FreeBSD.org>

        * tmac/doc-common (Nd): Use \[em].

2003-05-03  Werner LEMBERG  <wl@@gnu.org>

        * tmac/doc-common (doc-header): Emit vertical space of 1v instead of
        `doc-header-space' after header line if register `cR' is set.
@
text
@d121 1
a121 1
.nr doc-header-space .5i
d127 1
a127 1
.nr doc-footer-space .5i
d141 2
d145 3
@


1.1.1.6
log
@Bring in latest mdoc(7) fixes over here.
@
text
@d183 2
d206 3
d211 1
@


1.1.1.7
log
@Virgin import of FSF groff v1.19.2
@
text
@d12 4
a15 2
.\" 3. [Deleted.  See
.\"     ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change]
@


1.1.1.1.8.1
log
@MFC: Upgrade to Groff 1.16.1.
@
text
@a32 1
.\"	$FreeBSD$
d67 1
a67 1
.ds Pu \fR{\ .\ ,\ :\ ;\ ?\ (\ )\ [\ ]\ \fR}
@


1.1.1.1.8.2
log
@MFC: all recent mdoc(7) fixes.
@
text
@d33 1
a33 1
.\"	$FreeBSD: src/contrib/groff/tmac/doc-ditroff,v 1.1.1.1.8.1 2000/12/07 09:48:55 ru Exp $
d68 1
a68 1
.ds Pu \fR{\ .\ ,\ :\ ;\ ?\ !\ (\ )\ [\ ]\ \fR}
@


1.1.1.1.8.3
log
@MFC: merge latest CSRG revisions.

Approved by:	jkh
@
text
@d1 2
a2 2
.\" Copyright (c) 1991, 1993
.\"	The Regents of the University of California.  All rights reserved.
d32 2
a33 2
.\"     @@(#)doc-ditroff	8.1 (Berkeley) 06/08/93
.\"	$FreeBSD: src/contrib/groff/tmac/doc-ditroff,v 1.1.1.1.8.2 2001/02/22 07:25:49 ru Exp $
d206 1
a206 1
.	\}
@


1.1.1.1.8.4
log
@MFC: Upgrade to Groff 1.17.
@
text
@d14 2
a15 2
.\"      This product includes software developed by the University of
.\"      California, Berkeley and its contributors.
d33 1
a33 1
.\"	$FreeBSD: src/contrib/groff/tmac/doc-ditroff,v 1.5 2001/04/17 12:28:00 ru Exp $
d35 1
d37 67
a103 31
.
.
.eo
.
.\" use -rC=1 to number pages continuously
.
.if !r C .nr C 0
.
.\" use -rD=1 for double-sided printing
.
.if !r D .nr D 0
.
.\" use -rcR=1 to force the creation of a single, very long page
.
.if !r cR .nr cR 0
.
.\" use -rS={11,12} to change the font size from 10pt to 11pt or 12pt.
.
.if !r S .nr S 10
.
.
.ec
.
.
.ie        (\n[S] == 11) \{\
.  ps 10.95z
.  vs 13.6p
.\}
.el \{ .ie (\n[S] == 12) \{\
.  ps 12z
.  vs 14.5p
d106 14
a119 108
.  ps 10z
.  vs 12p
.\}\}
.
.
.\" the `doc-xx-font' strings must not be empty!
.
.ds doc-caption-font \f[R]\s[\n[.ps]u]
.ds doc-caption-font2 \f[R]\s[\n[.ps]u]
.ds doc-Ad-font \f[I]\s[\n[.ps]u]
.ds doc-Ar-font \f[CO]\s[\n[.ps]u]
.ds doc-Cm-font \f[CB]\s[\n[.ps]u]
.ds doc-Em-font \f[I]\s[\n[.ps]u]
.ds doc-Er-font \f[C]\s[\n[.ps]u]
.ds doc-Ev-font \f[C]\s[\n[.ps]u]
.ds doc-Fa-font \f[CO]\s[\n[.ps]u]
.ds doc-Fd-font \f[CB]\s[\n[.ps]u]
.ds doc-Fl-font \f[CB]\s[\n[.ps]u]
.ds doc-Fn-font \f[CB]\s[\n[.ps]u]
.ds doc-Ft-font \f[CO]\s[\n[.ps]u]
.ds doc-Ic-font \f[CB]\s[\n[.ps]u]
.ds doc-Li-font \f[C]
.ds doc-Me-font \f[B]\s[\n[.ps]u]
.ds doc-Nm-font \f[CB]\s[\n[.ps]u]
.ds doc-No-font \f[R]\s[\n[.ps]u]
.ds doc-Pa-font \f[C]\s[\n[.ps]u]
.ds doc-Sh-font \f[B]\s[\n[.ps]u]
.ds doc-Sy-font \f[B]\s[\n[.ps]u]
.ds doc-Sx-font \f[B]\s[\n[.ps]u]
.ds doc-Tn-font-shape \f[R]
\# XXX: adapt to discrete LaTeX font sizes
.ds doc-Tn-font-size \s[(\n[.ps]u - 1z)]
.ds doc-Va-font \f[I]\s[\n[.ps]u]
.ds doc-Xr-font \f[C]\s[\n[.ps]u]
.
.ds doc-left-parenthesis \f[R]\|(\|\f[P]\s[\n[.ps]u]
.ds doc-right-parenthesis \f[R]\|)\|\f[P]\s[\n[.ps]u]
.ds lp \f[R](\f[P]\s[\n[.ps]u]
.ds rp \f[R])\f[P]\s[\n[.ps]u]
.ds doc-left-bracket \f[R]\^[\^\f[P]\s[\n[.ps]u]
.ds doc-right-bracket \f[R]\^]\f[P]\s[\n[.ps]u]
.
.tr *\[**]
.
.\" miscellaneous
.nr doc-subheader-indent (\w\f[C],u * 5u)
.nr doc-paragraph-space .5v
.
.nr doc-digit-width \w'\0'u
.nr doc-fixed-width \w\f[C]0
.
.eo
.
.
.\" NS doc-header-space global register
.\" NS   the space between header and body
.
.nr doc-header-space 0
.
.
.\" NS doc-footer-space global register
.\" NS   the space between body and footer
.
.nr doc-footer-space 0
.
.
.\" NS doc-display-vertical global register
.\" NS   vertical space between list elements etc.
.
.nr doc-display-vertical 0
.
.
.\" NS doc-setup-page-layout macro
.\" NS   set up page layout
.\" NS
.\" NS modifies:
.\" NS   doc-display-vertical
.\" NS   doc-footer-space
.\" NS   doc-header-space
.
.de doc-setup-page-layout
.  nr doc-header-space .5i
.  nr doc-footer-space .5i
.
.  ll 6.5i
.  lt 6.5i
.  po 1i
.
.  nr doc-display-vertical .5v
..
.
.
.ds doc-left-singlequote \[oq]
.ds doc-right-singlequote \[cq]
.
.\" the following strings are `official'
.ds <= \[<=]
.ds >= \[>=]
.ds Lq \[lq]
.ds Rq \[rq]
.ds ua \[ua]
.ds aa \[aa]
.ds ga \[ga]
.ds q \[dq]
.ds Pi \[*p]
.ds Ne \[!=]
.ds Le \[<=]
.ds Ge \[>=]
d122 5
a126 5
.ds Pm \[+-]
.ds If \[if]
.ds Na \f[I]NaN\f[P]
.ds Ba \f[R]|\f[P]
.
d128 28
a155 36
.
.
.\" NS doc-header-string global string
.\" NS   the final string used for the manual page header
.
.ds doc-header-string
.
.
.\" NS doc-setup-header macro
.\" NS   install and initialize header and footer support
.\" NS
.\" NS modifies:
.\" NS   doc-header-string
.
.de doc-setup-header
.  ds doc-header-string "\*[doc-document-title]
.  if !"\*[doc-section]"Null" \
.    as doc-header-string \|(\*[doc-section])
.
.  wh 0 doc-header
.  wh -1.25i doc-footer
.
.  nr nL \n[nl]
.  if \n[gX] \
.    ds doc-command-name
.
.  br
.
.  \" Don't set the page number if this is the first page,
.  \" in case the user has used -n.
.  if \n[nL] \
.    if !\n[C] \
.      nr % 1
.
.  nr gX 0
.  e@@ doc-end-macro
d157 12
a168 23
.
.
.\" NS doc-get-width macro
.\" NS   computes the width of a string as a multiple of `doc-fixed-width':
.\" NS   `.doc-get-width string'
.\" NS
.\" NS modifies:
.\" NS   doc-width
.
.de doc-get-width
.  nr doc-width \w\f[C]\$1
.  ie (\n[doc-width] >= \n[doc-fixed-width]) \{\
.    ie (\n[doc-width] % \n[doc-fixed-width]) \
.      nr doc-width ((\n[doc-width] / \n[doc-fixed-width]) + 1)
.    el \
.      nr doc-width (\n[doc-width] / \n[doc-fixed-width])
.  \}
.  el \{\
.    ie \n[doc-width] \
.      nr doc-width 1
.    el \
.      nr doc-width 0
.  \}
d170 11
a180 23
.
.
.\" NS doc-get-arg-width macro
.\" NS   computes the width of an argument as a multiple of
.\" NS   `doc-fixed-width': `.doc-get-arg-width arg-index'
.\" NS
.\" NS modifies:
.\" NS   doc-width
.
.de doc-get-arg-width
.  nr doc-width \w\f[C]\*[doc-arg\$1]
.  ie (\n[doc-width] >= \n[doc-fixed-width]) \{\
.    ie (\n[doc-width] % \n[doc-fixed-width]) \
.      nr doc-width ((\n[doc-width] / \n[doc-fixed-width]) + 1)
.    el \
.      nr doc-width (\n[doc-width] / \n[doc-fixed-width])
.  \}
.  el \{\
.    ie \n[doc-width] \
.      nr doc-width 1
.    el \
.      nr doc-width 0
.  \}
d182 1
a182 22
.
.
.\" NS Ql user macro
.\" NS   quoted literal define
.\" NS
.\" NS modifies:
.\" NS   doc-argXXX
.\" NS   doc-arg-limit
.\" NS   doc-arg-ptr
.\" NS   doc-macro-name
.\" NS   doc-spaceXXX
.\" NS   doc-typeXXX
.\" NS   doc-quote-left
.\" NS   doc-quote-right
.\" NS
.\" NS local variables:
.\" NS   doc-reg-Ql
.\" NS   doc-reg-Ql1
.\" NS   doc-reg-Ql2
.\" NS
.\" NS width register `Ql' set in doc-common
.
d184 98
a281 50
.  if !\n[doc-arg-limit] \{\
.    ie \n[.$] \{\
.      ds doc-macro-name Ql
.      doc-parse-args \$@@
.    \}
.    el \
.      tm Usage: .Ql argument ... (#\n[.c])
.  \}
.
.  nr doc-reg-Ql (\n[doc-arg-ptr] + 1)
.  doc-get-arg-width \n[doc-reg-Ql]
.
.  \" don't use quotes if we have more than two succeeding string arguments
.  nr doc-reg-Ql +1
.  if (\n[doc-arg-limit] >= \n[doc-reg-Ql]) \
.    if (\n[doc-type\n[doc-reg-Ql]] == 2) \
.      nr doc-width 3
.
.  \" make a difference in quotation style for strings longer
.  \" than two characters
.  ie (\n[doc-width] > 2) \
.    Li
.  el \{\
.    ie \n[doc-arg-ptr] \{\
.      \" we replace `Ql' with `Li'
.      ds doc-arg\n[doc-arg-ptr] Li
.      nr doc-arg-ptr -1
.    \}
.    el \{\
.      \" if .Ql has been called directly, we must shift all elements in
.      \" the argument vector to the right so that we can insert `Li'
.      nr doc-reg-Ql \n[doc-arg-limit]
.      nr doc-reg-Ql1 (\n[doc-arg-limit] + 1)
.      while \n[doc-reg-Ql] \{\
.        rn doc-arg\n[doc-reg-Ql] doc-arg\n[doc-reg-Ql1]
.        rnn doc-type\n[doc-reg-Ql] doc-type\n[doc-reg-Ql1]
.        rn doc-space\n[doc-reg-Ql] doc-space\n[doc-reg-Ql1]
.        nr doc-reg-Ql -1
.        nr doc-reg-Ql1 -1
.      \}
.      ds doc-arg1 Li
.      nr doc-type1 1
.      ds doc-space1
.      nr doc-arg-limit +1
.    \}
.
.    ds doc-quote-left "\*[doc-left-singlequote]
.    ds doc-quote-right "\*[doc-right-singlequote]
.    doc-enclose-string
.  \}
a282 5
.
.
.ec
.
.\" EOF
@


1.1.1.1.8.5
log
@MFC: Groff 1.18.1.
@
text
@d33 1
a33 1
.\"	$FreeBSD: src/contrib/groff/tmac/doc-ditroff,v 1.1.1.1.8.4 2001/04/26 17:35:37 ru Exp $
d104 6
a109 6
.ds doc-left-parenthesis \f[R]\|(\|\f[]\s[\n[.ps]u]
.ds doc-right-parenthesis \f[R]\|)\|\f[]\s[\n[.ps]u]
.ds lp \f[R](\f[]\s[\n[.ps]u]
.ds rp \f[R])\f[]\s[\n[.ps]u]
.ds doc-left-bracket \f[R]\^[\^\f[]\s[\n[.ps]u]
.ds doc-right-bracket \f[R]\^]\f[]\s[\n[.ps]u]
d153 2
a154 10
.  ie r LL \
.    ll \n[LL]u
.  el \
.    ll 6.5i
.
.  ie r LT \
.    lt \n[LT]u
.  el \
.    lt 6.5i
.
d181 2
a182 3
.ds Na \f[I]NaN\f[]
.ds Ba \f[R]|\f[]
.ds Am &
@


1.1.1.1.8.6
log
@MFC: GNU Groff 1.19.
@
text
@d33 1
a33 1
.\"	$FreeBSD: src/contrib/groff/tmac/doc-ditroff,v 1.1.1.1.8.5 2003/02/14 15:22:11 ru Exp $
d40 4
d126 1
a126 1
.nr doc-header-space .5i
d132 1
a132 1
.nr doc-footer-space .5i
d146 2
d150 3
d216 1
d221 6
@


1.1.1.1.8.7
log
@MFC: Sync with HEAD (pull up latest mdoc(7) changes).
@
text
@d33 1
@


1.1.1.1.8.8
log
@MFC: Latest mdoc(7) fixes.
@
text
@d183 2
d206 3
d211 1
@


