head	1.16;
access;
symbols
	groff-1_20_1_real:1.16
	groff-1_20_1:1.16
	groff-1_20:1.16
	groff-1_19_2:1.13
	FDL:1.11
	groff-1_19_1:1.10
	groff-1_19:1.6
	groff-1_18_1:1.6
	groff-1_18:1.6
	groff-1_17_2:1.5
	groff-1_17_1:1.5
	groff-1_17a:1.5
	groff-1_17:1.5
	groff-1_16_1b:1.1.1.1
	groff-1_16_1a:1.1.1.1
	groff-1_16_1:1.1.1.1
	groff-1_16:1.1.1.1
	groff-20000311:1.1.1.1
	groff-20000310-1:1.1.1.1
	groff-20000310:1.1.1.1
	pre-1_16:1.1.1.1
	start:1.1.1.1
	wlemb:1.1.1;
locks; strict;
comment	@# @;


1.16
date	2007.11.11.07.08.46;	author wl;	state Exp;
branches;
next	1.15;
commitid	puDDoS8cOWa3T7Fs;

1.15
date	2007.10.02.13.44.38;	author wl;	state Exp;
branches;
next	1.14;
commitid	cQpbqOLfPS6Em1As;

1.14
date	2006.03.21.12.48.10;	author wl;	state Exp;
branches;
next	1.13;

1.13
date	2005.02.04.00.09.00;	author wl;	state Exp;
branches;
next	1.12;

1.12
date	2004.12.16.14.23.44;	author wl;	state Exp;
branches;
next	1.11;

1.11
date	2004.07.09.22.18.17;	author wlemb;	state Exp;
branches;
next	1.10;

1.10
date	2004.05.12.08.07.37;	author wlemb;	state Exp;
branches;
next	1.9;

1.9
date	2004.04.15.16.09.07;	author wlemb;	state Exp;
branches;
next	1.8;

1.8
date	2004.04.08.20.43.28;	author wlemb;	state Exp;
branches;
next	1.7;

1.7
date	2003.09.20.14.26.43;	author wlemb;	state Exp;
branches;
next	1.6;

1.6
date	2001.12.22.08.28.35;	author wlemb;	state Exp;
branches;
next	1.5;

1.5
date	2001.04.09.22.59.20;	author wlemb;	state Exp;
branches;
next	1.4;

1.4
date	2001.03.30.12.52.03;	author wlemb;	state Exp;
branches;
next	1.3;

1.3
date	2001.03.27.20.29.37;	author wlemb;	state Exp;
branches;
next	1.2;

1.2
date	2001.03.23.00.17.51;	author wlemb;	state Exp;
branches;
next	1.1;

1.1
date	2000.02.06.09.39.44;	author wlemb;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	2000.02.06.09.39.44;	author wlemb;	state Exp;
branches;
next	;


desc
@@


1.16
log
@

* tmac/doc-syms (doc-str-St--susv3): New string.
* tmac/groff_mdoc.man: Document it.
@
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-syms	8.1 (Berkeley) 06/08/93
.\"
.\"     %beginstrip%
.
.
.eo
.
.\" NS Ux user macro
.\" NS   print UNIX
.\" NS
.\" NS modifies:
.\" NS   doc-arg-ptr
.\" NS   doc-curr-font
.\" NS   doc-curr-size
.\" NS   doc-macro-name
.\" NS
.\" NS local variable:
.\" NS   doc-str-Ux
.\" NS
.\" NS width register `Ux' defined in doc-common
.
.de Ux
.  nr doc-curr-font \n[.f]
.  nr doc-curr-size \n[.ps]
.  ds doc-str-Ux \f[\n[doc-curr-font]]\s[\n[doc-curr-size]u]
.
.  if !\n[doc-arg-limit] \
.    if \n[.$] \{\
.      ds doc-macro-name Ux
.      doc-parse-args \$@@
.    \}
.
.  \" replace current argument with result
.  ds doc-arg\n[doc-arg-ptr] \*[doc-Tn-font-size]UNIX\*[doc-str-Ux]
.  nr doc-type\n[doc-arg-ptr] 2
.  ds doc-space\n[doc-arg-ptr] "\*[doc-space]
.
.  \" recompute space vector for remaining arguments
.  nr doc-num-args (\n[doc-arg-limit] - \n[doc-arg-ptr])
.  nr doc-arg-limit \n[doc-arg-ptr]
.  if \n[doc-num-args] \
.    doc-parse-space-vector
.
.  doc-print-recursive
..
.
.
.\" NS Bx user macro
.\" NS   print BSD (fix smaller nroff version)
.\" NS
.\" NS modifies:
.\" NS   doc-arg-ptr
.\" NS   doc-curr-font
.\" NS   doc-curr-size
.\" NS   doc-macro-name
.\" NS
.\" NS local variable:
.\" NS   doc-str-Bx
.\" NS   doc-str-Bx1
.\" NS   doc-str-Bx-XXX
.\" NS
.\" NS width register `Bx' defined in doc-common
.
.ds doc-str-Bx-Reno  \-Reno
.ds doc-str-Bx-reno  \-Reno
.ds doc-str-Bx-Tahoe \-Tahoe
.ds doc-str-Bx-tahoe \-Tahoe
.ds doc-str-Bx-Lite  \-Lite
.ds doc-str-Bx-lite  \-Lite
.ds doc-str-Bx-Lite2 \-Lite2
.ds doc-str-Bx-lite2 \-Lite2
.
.de Bx
.  nr doc-curr-font \n[.f]
.  nr doc-curr-size \n[.ps]
.  ds doc-str-Bx \f[\n[doc-curr-font]]\s[\n[doc-curr-size]u]
.
.  \" default value if no argument
.  ds doc-str-Bx1 \*[doc-Tn-font-size]BSD\*[doc-str-Bx]
.
.  if !\n[doc-arg-limit] \
.    if \n[.$] \{\
.      ds doc-macro-name Bx
.      doc-parse-args \$@@
.    \}
.
.  if (\n[doc-arg-limit] > \n[doc-arg-ptr]) \{\
.    nr doc-arg-ptr +1
.    ie (\n[doc-type\n[doc-arg-ptr]] == 2) \{\
.      ie        "\*[doc-arg\n[doc-arg-ptr]]"-alpha" \
.        as doc-str-Bx1 " (currently in alpha test)
.      el \{ .ie "\*[doc-arg\n[doc-arg-ptr]]"-beta" \
.        as doc-str-Bx1 " (currently in beta test)
.      el \{ .ie "\*[doc-arg\n[doc-arg-ptr]]"-devel" \
.        as doc-str-Bx1 " (currently under development)
.      el \{\
.        ds doc-str-Bx1 \&\*[doc-arg\n[doc-arg-ptr]]\^\*[doc-Tn-font-size]
.        as doc-str-Bx1 BSD\*[doc-str-Bx]
.
.        if (\n[doc-arg-limit] > \n[doc-arg-ptr]) \{\
.          nr doc-arg-ptr +1
.          ie (\n[doc-type\n[doc-arg-ptr]] == 2) \{\
.            ie (\n[doc-type\n[doc-arg-ptr]] == 2) \{\
.              ie d doc-str-Bx-\*[doc-arg\n[doc-arg-ptr]] \
.                as doc-str-Bx1 "\*[doc-str-Bx-\*[doc-arg\n[doc-arg-ptr]]]
.              el \
.                nr doc-arg-ptr -1
.            \}
.            el \
.              nr doc-arg-ptr -1
.          \}
.          el \
.            nr doc-arg-ptr -1
.    \}\}\}\}\}
.    el \
.      nr doc-arg-ptr -1
.  \}
.
.  \" replace current argument with result
.  ds doc-arg\n[doc-arg-ptr] "\*[doc-str-Bx1]
.  nr doc-type\n[doc-arg-ptr] 2
.  ds doc-space\n[doc-arg-ptr] "\*[doc-space]
.
.  \" recompute space vector for remaining arguments
.  nr doc-num-args (\n[doc-arg-limit] - \n[doc-arg-ptr])
.  nr doc-arg-limit \n[doc-arg-ptr]
.  if \n[doc-num-args] \
.    doc-parse-space-vector
.
.  doc-print-recursive
..
.
.
.\" NS Ud user macro (not parsed, not callable)
.\" NS   print "currently under development" (HISTORY section)
.\" NS
.\" NS width register `Ud' defined in doc-common
.
.de Ud
.  nop \&currently under development.
..
.
.
.\" NS At user macro
.\" NS   print AT&T UNIX
.\" NS
.\" NS modifies:
.\" NS   doc-arg-ptr
.\" NS   doc-curr-font
.\" NS   doc-curr-size
.\" NS   doc-macro-name
.\" NS
.\" NS local variable:
.\" NS   doc-str-At
.\" NS   doc-str-At1
.\" NS   doc-str-At-XXX
.\" NS
.\" NS width register `At' defined in doc-common
.
.ds doc-str-At-32v \&Version\~32V
.as doc-str-At-32v " \*[doc-Tn-font-size]AT&T UNIX\*[doc-str-At]
.ds doc-str-At-v1  \&Version\~1
.as doc-str-At-v1  " \*[doc-Tn-font-size]AT&T UNIX\*[doc-str-At]
.ds doc-str-At-v2  \&Version\~2
.as doc-str-At-v2  " \*[doc-Tn-font-size]AT&T UNIX\*[doc-str-At]
.ds doc-str-At-v3  \&Version\~3
.as doc-str-At-v3  " \*[doc-Tn-font-size]AT&T UNIX\*[doc-str-At]
.ds doc-str-At-v4  \&Version\~4
.as doc-str-At-v4  " \*[doc-Tn-font-size]AT&T UNIX\*[doc-str-At]
.ds doc-str-At-v5  \&Version\~5
.as doc-str-At-v5  " \*[doc-Tn-font-size]AT&T UNIX\*[doc-str-At]
.ds doc-str-At-v6  \&Version\~6
.as doc-str-At-v6  " \*[doc-Tn-font-size]AT&T UNIX\*[doc-str-At]
.ds doc-str-At-v7  \&Version\~7
.as doc-str-At-v7  " \*[doc-Tn-font-size]AT&T UNIX\*[doc-str-At]
.ds doc-str-At-V   \*[doc-Tn-font-size]AT&T\*[doc-str-At] System\~V
.as doc-str-At-V   " \*[doc-Tn-font-size]UNIX\*[doc-str-At]
.ds doc-str-At-V.1 \*[doc-Tn-font-size]AT&T\*[doc-str-At] System\~V Release\~1
.as doc-str-At-V.1 " \*[doc-Tn-font-size]UNIX\*[doc-str-At]
.ds doc-str-At-V.2 \*[doc-Tn-font-size]AT&T\*[doc-str-At] System\~V Release\~2
.as doc-str-At-V.2 " \*[doc-Tn-font-size]UNIX\*[doc-str-At]
.ds doc-str-At-V.3 \*[doc-Tn-font-size]AT&T\*[doc-str-At] System\~V Release\~3
.as doc-str-At-V.3 " \*[doc-Tn-font-size]UNIX\*[doc-str-At]
.ds doc-str-At-V.4 \*[doc-Tn-font-size]AT&T\*[doc-str-At] System\~V Release\~4
.as doc-str-At-V.4 " \*[doc-Tn-font-size]UNIX\*[doc-str-At]
.
.de At
.  nr doc-curr-font \n[.f]
.  nr doc-curr-size \n[.ps]
.  ds doc-str-At \f[\n[doc-curr-font]]\s[\n[doc-curr-size]u]
.
.  \" default value if no argument
.  ds doc-str-At1 \*[doc-Tn-font-size]AT&T UNIX\*[doc-str-At]
.
.  if !\n[doc-arg-limit] \
.    if \n[.$] \{\
.      ds doc-macro-name At
.      doc-parse-args \$@@
.    \}
.
.  if (\n[doc-arg-limit] > \n[doc-arg-ptr]) \{\
.    nr doc-arg-ptr +1
.    ie (\n[doc-type\n[doc-arg-ptr]] == 2) \{\
.      ie \A\*[doc-arg\n[doc-arg-ptr]] \{\
.        ie d doc-str-At-\*[doc-arg\n[doc-arg-ptr]] \
.          ds doc-str-At1 "\*[doc-str-At-\*[doc-arg\n[doc-arg-ptr]]]
.        el \{\
.          tmc mdoc warning: .At: Unknown AT&T UNIX version
.          tm1 " `\*[doc-arg\n[doc-arg-ptr]]' (#\n[.c])
.          nr doc-arg-ptr -1
.      \}\}
.      el \
.        nr doc-arg-ptr -1
.    \}
.    el \
.      nr doc-arg-ptr -1
.  \}
.
.  \" replace current argument with result
.  ds doc-arg\n[doc-arg-ptr] "\*[doc-str-At1]
.  nr doc-type\n[doc-arg-ptr] 2
.  ds doc-space\n[doc-arg-ptr] "\*[doc-space]
.
.  \" recompute space vector for remaining arguments
.  nr doc-num-args (\n[doc-arg-limit] - \n[doc-arg-ptr])
.  nr doc-arg-limit \n[doc-arg-ptr]
.  if \n[doc-num-args] \
.    doc-parse-space-vector
.
.  doc-print-recursive
..
.
.
.\" NS Dx user macro
.\" NS   print DragonFly
.\" NS
.\" NS modifies:
.\" NS   doc-arg-ptr
.\" NS   doc-curr-font
.\" NS   doc-curr-size
.\" NS   doc-macro-name
.\" NS
.\" NS local variable:
.\" NS   doc-str-Dx
.\" NS   doc-str-Dx1
.\" NS
.\" NS width register `Dx' defined in doc-common
.
.\" we use the doc-operating-system-DragonFly-* strings defined in doc-common
.
.de Dx
.  nr doc-curr-font \n[.f]
.  nr doc-curr-size \n[.ps]
.  ds doc-str-Dx \f[\n[doc-curr-font]]\s[\n[doc-curr-size]u]
.
.  \" default value if no argument
.  ds doc-str-Dx1 \*[doc-Tn-font-size]\%DragonFly\*[doc-str-Dx]
.
.  if !\n[doc-arg-limit] \
.    if \n[.$] \{\
.      ds doc-macro-name Dx
.      doc-parse-args \$@@
.    \}
.
.  if (\n[doc-arg-limit] > \n[doc-arg-ptr]) \{\
.    nr doc-arg-ptr +1
.    ie (\n[doc-type\n[doc-arg-ptr]] == 2) \{\
.      ie \A\*[doc-arg\n[doc-arg-ptr]] \{\
.        ie d doc-operating-system-DragonFly-\*[doc-arg\n[doc-arg-ptr]] \
.          as doc-str-Dx1 \~\*[doc-operating-system-DragonFly-\*[doc-arg\n[doc-arg-ptr]]]
.        el \{\
.          tmc mdoc warning: .Dx: Unknown DragonFly version
.          tm1 " `\*[doc-arg\n[doc-arg-ptr]]' (#\n[.c])
.          as doc-str-Dx1 \~\*[doc-arg\n[doc-arg-ptr]]
.      \}\}
.      el \
.        as doc-str-Dx1 \~\*[doc-arg\n[doc-arg-ptr]]
.    \}
.    el \
.      nr doc-arg-ptr -1
.  \}
.
.  \" replace current argument with result
.  ds doc-arg\n[doc-arg-ptr] "\*[doc-str-Dx1]
.  nr doc-type\n[doc-arg-ptr] 2
.  ds doc-space\n[doc-arg-ptr] "\*[doc-space]
.
.  \" recompute space vector for remaining arguments
.  nr doc-num-args (\n[doc-arg-limit] - \n[doc-arg-ptr])
.  nr doc-arg-limit \n[doc-arg-ptr]
.  if \n[doc-num-args] \
.    doc-parse-space-vector
.
.  doc-print-recursive
..
.
.
.\" NS Fx user macro
.\" NS   print FreeBSD
.\" NS
.\" NS modifies:
.\" NS   doc-arg-ptr
.\" NS   doc-curr-font
.\" NS   doc-curr-size
.\" NS   doc-macro-name
.\" NS
.\" NS local variable:
.\" NS   doc-str-Fx
.\" NS   doc-str-Fx1
.\" NS
.\" NS width register `Fx' defined in doc-common
.
.\" we use the doc-operating-system-FreeBSD-* strings defined in doc-common
.
.de Fx
.  nr doc-curr-font \n[.f]
.  nr doc-curr-size \n[.ps]
.  ds doc-str-Fx \f[\n[doc-curr-font]]\s[\n[doc-curr-size]u]
.
.  \" default value if no argument
.  ds doc-str-Fx1 \*[doc-Tn-font-size]\%FreeBSD\*[doc-str-Fx]
.
.  if !\n[doc-arg-limit] \
.    if \n[.$] \{\
.      ds doc-macro-name Fx
.      doc-parse-args \$@@
.    \}
.
.  if (\n[doc-arg-limit] > \n[doc-arg-ptr]) \{\
.    nr doc-arg-ptr +1
.    ie (\n[doc-type\n[doc-arg-ptr]] == 2) \{\
.      ie \A\*[doc-arg\n[doc-arg-ptr]] \{\
.        ie d doc-operating-system-FreeBSD-\*[doc-arg\n[doc-arg-ptr]] \
.          as doc-str-Fx1 \~\*[doc-operating-system-FreeBSD-\*[doc-arg\n[doc-arg-ptr]]]
.        el \{\
.          tmc mdoc warning: .Fx: Unknown FreeBSD version
.          tm1 " `\*[doc-arg\n[doc-arg-ptr]]' (#\n[.c])
.          as doc-str-Fx1 \~\*[doc-arg\n[doc-arg-ptr]]
.      \}\}
.      el \
.        as doc-str-Fx1 \~\*[doc-arg\n[doc-arg-ptr]]
.    \}
.    el \
.      nr doc-arg-ptr -1
.  \}
.
.  \" replace current argument with result
.  ds doc-arg\n[doc-arg-ptr] "\*[doc-str-Fx1]
.  nr doc-type\n[doc-arg-ptr] 2
.  ds doc-space\n[doc-arg-ptr] "\*[doc-space]
.
.  \" recompute space vector for remaining arguments
.  nr doc-num-args (\n[doc-arg-limit] - \n[doc-arg-ptr])
.  nr doc-arg-limit \n[doc-arg-ptr]
.  if \n[doc-num-args] \
.    doc-parse-space-vector
.
.  doc-print-recursive
..
.
.
.\" NS Nx user macro
.\" NS   print NetBSD
.\" NS
.\" NS modifies:
.\" NS   doc-arg-ptr
.\" NS   doc-curr-font
.\" NS   doc-curr-size
.\" NS   doc-macro-name
.\" NS
.\" NS local variable:
.\" NS   doc-str-Nx
.\" NS   doc-str-Nx1
.\" NS
.\" NS width register `Nx' defined in doc-common
.
.\" we use the doc-operating-system-NetBSD-* strings defined in doc-common
.
.de Nx
.  nr doc-curr-font \n[.f]
.  nr doc-curr-size \n[.ps]
.  ds doc-str-Nx \f[\n[doc-curr-font]]\s[\n[doc-curr-size]u]
.
.  \" default value if no argument
.  ds doc-str-Nx1 \*[doc-Tn-font-size]\%N\s[\n[doc-curr-size]u]et
.  as doc-str-Nx1 \*[doc-Tn-font-size]BSD\*[doc-str-Nx]
.
.  if !\n[doc-arg-limit] \
.    if \n[.$] \{\
.      ds doc-macro-name Nx
.      doc-parse-args \$@@
.    \}
.
.  if (\n[doc-arg-limit] > \n[doc-arg-ptr]) \{\
.    nr doc-arg-ptr +1
.    ie (\n[doc-type\n[doc-arg-ptr]] == 2) \{\
.      ie \A\*[doc-arg\n[doc-arg-ptr]] \{\
.        ie d doc-operating-system-NetBSD-\*[doc-arg\n[doc-arg-ptr]] \
.          as doc-str-Nx1 \~\*[doc-operating-system-NetBSD-\*[doc-arg\n[doc-arg-ptr]]]
.        el \{\
.          tmc mdoc warning: .Nx: Unknown NetBSD version
.          tm1 " `\*[doc-arg\n[doc-arg-ptr]]' (#\n[.c])
.          as doc-str-Nx1 \~\*[doc-arg\n[doc-arg-ptr]]
.      \}\}
.      el \
.        as doc-str-Nx1 \~\*[doc-arg\n[doc-arg-ptr]]
.    \}
.    el \
.      nr doc-arg-ptr -1
.  \}
.
.  \" replace current argument with result
.  ds doc-arg\n[doc-arg-ptr] "\*[doc-str-Nx1]
.  nr doc-type\n[doc-arg-ptr] 2
.  ds doc-space\n[doc-arg-ptr] "\*[doc-space]
.
.  \" recompute space vector for remaining arguments
.  nr doc-num-args (\n[doc-arg-limit] - \n[doc-arg-ptr])
.  nr doc-arg-limit \n[doc-arg-ptr]
.  if \n[doc-num-args] \
.    doc-parse-space-vector
.
.  doc-print-recursive
..
.
.
.\" NS Ox user macro
.\" NS   print OpenBSD
.\" NS
.\" NS modifies:
.\" NS   doc-arg-ptr
.\" NS   doc-curr-font
.\" NS   doc-curr-size
.\" NS   doc-macro-name
.\" NS
.\" NS local variable:
.\" NS   doc-str-Ox
.\" NS   doc-str-Ox1
.\" NS
.\" NS width register `Ox' defined in doc-common
.
.de Ox
.  nr doc-curr-font \n[.f]
.  nr doc-curr-size \n[.ps]
.  ds doc-str-Ox \f[\n[doc-curr-font]]\s[\n[doc-curr-size]u]
.
.  \" default value if no argument
.  ds doc-str-Ox1 \*[doc-Tn-font-size]\%OpenBSD\*[doc-str-Ox]
.
.  if !\n[doc-arg-limit] \
.    if \n[.$] \{\
.      ds doc-macro-name Ox
.      doc-parse-args \$@@
.    \}
.
.  if (\n[doc-arg-limit] > \n[doc-arg-ptr]) \{\
.    nr doc-arg-ptr +1
.    ie (\n[doc-type\n[doc-arg-ptr]] == 2) \
.      as doc-str-Ox1 \~\*[doc-arg\n[doc-arg-ptr]]
.    el \
.      nr doc-arg-ptr -1
.  \}
.
.  \" replace current argument with result
.  ds doc-arg\n[doc-arg-ptr] "\*[doc-str-Ox1]
.  nr doc-type\n[doc-arg-ptr] 2
.  ds doc-space\n[doc-arg-ptr] "\*[doc-space]
.
.  \" recompute space vector for remaining arguments
.  nr doc-num-args (\n[doc-arg-limit] - \n[doc-arg-ptr])
.  nr doc-arg-limit \n[doc-arg-ptr]
.  if \n[doc-num-args] \
.    doc-parse-space-vector
.
.  doc-print-recursive
..
.
.
.\" NS Bsx user macro
.\" NS   print BSD/OS
.\" NS
.\" NS modifies:
.\" NS   doc-arg-ptr
.\" NS   doc-curr-font
.\" NS   doc-curr-size
.\" NS   doc-macro-name
.\" NS
.\" NS local variable:
.\" NS   doc-str-Bsx
.\" NS   doc-str-Bsx1
.\" NS
.\" NS width register `Bsx' defined in doc-common
.
.de Bsx
.  nr doc-curr-font \n[.f]
.  nr doc-curr-size \n[.ps]
.  ds doc-str-Bsx \f[\n[doc-curr-font]]\s[\n[doc-curr-size]u]
.
.  \" default value if no argument
.  ds doc-str-Bsx1 \*[doc-Tn-font-size]BSD/OS\*[doc-str-Bsx]
.
.  if !\n[doc-arg-limit] \
.    if \n[.$] \{\
.      ds doc-macro-name Bsx
.      doc-parse-args \$@@
.    \}
.
.  if (\n[doc-arg-limit] > \n[doc-arg-ptr]) \{\
.    nr doc-arg-ptr +1
.    ie (\n[doc-type\n[doc-arg-ptr]] == 2) \
.      as doc-str-Bsx1 \~\*[doc-arg\n[doc-arg-ptr]]
.    el \
.      nr doc-arg-ptr -1
.  \}
.
.  \" replace current argument with result
.  ds doc-arg\n[doc-arg-ptr] "\*[doc-str-Bsx1]
.  nr doc-type\n[doc-arg-ptr] 2
.  ds doc-space\n[doc-arg-ptr] "\*[doc-space]
.
.  \" recompute space vector for remaining arguments
.  nr doc-num-args (\n[doc-arg-limit] - \n[doc-arg-ptr])
.  nr doc-arg-limit \n[doc-arg-ptr]
.  if \n[doc-num-args] \
.    doc-parse-space-vector
.
.  doc-print-recursive
..
.
.
.\" The Bt macro should go away now
.
.\" NS Bt user macro (not parsed, not callable)
.\" NS   print "is currently in beta test." (HISTORY section)
.\" NS
.\" NS width register `Bt' defined in doc-common
.
.de Bt
.  nop \&is currently in beta test.
..
.
.
.\" NS Px user macro
.\" NS   print POSIX
.
.ds Px \*[doc-Tn-font-size]\%POSIX
.
.
.\" NS Ai user macro
.\" NS   print ANSI
.
.ds Ai \*[doc-Tn-font-size]\%ANSI
.
.
.\" NS St user macro
.\" NS   standards (posix, ansi - formal standard names)
.\" NS
.\" NS modifies:
.\" NS   doc-arg-ptr
.\" NS   doc-curr-font
.\" NS   doc-curr-size
.\" NS   doc-macro-name
.\" NS
.\" NS local variable:
.\" NS   doc-reg-St
.\" NS   doc-str-St
.\" NS   doc-str-St1
.\" NS   doc-str-St-XXX
.\" NS
.\" NS width register `St' defined in doc-common
.
.\" ANSI/ISO C
.ds doc-str-St--ansiC-89       \*[Ai] \*[doc-str-St]X\^3.159-1989
.as doc-str-St--ansiC-89       " (\*[Lq]\)\*[Ai]\~C89\*[doc-str-St]\*[Rq])
.als doc-str-St--ansiC doc-str-St--ansiC-89
.ds doc-str-St--isoC           \*[doc-Tn-font-size]ISO/IEC\*[doc-str-St] 9899:1990
.as doc-str-St--isoC           " (\*[Lq]\*[doc-Tn-font-size]ISO\~C\^90\*[doc-str-St]\*[Rq])
.als doc-str-St--isoC-90 doc-str-St--isoC
.ds doc-str-St--isoC-99        \*[doc-Tn-font-size]ISO/IEC\*[doc-str-St] 9899:1999
.as doc-str-St--isoC-99        " (\*[Lq]\*[doc-Tn-font-size]ISO\~C\^99\*[doc-str-St]\*[Rq])
.ds doc-str-St--isoC-amd1       \*[doc-Tn-font-size]ISO/IEC\*[doc-str-St] 9899/AMD1:1995
.as doc-str-St--isoC-amd1       " (\*[Lq]\*[doc-Tn-font-size]ISO\~C\^90\*[doc-str-St], Amendment 1\*[Rq])
.ds doc-str-St--isoC-tcor1      \*[doc-Tn-font-size]ISO/IEC\*[doc-str-St] 9899/TCOR1:1994
.as doc-str-St--isoC-tcor1      " (\*[Lq]\*[doc-Tn-font-size]ISO\~C\^90\*[doc-str-St], Technical Corrigendum 1\*[Rq])
.ds doc-str-St--isoC-tcor2      \*[doc-Tn-font-size]ISO/IEC\*[doc-str-St] 9899/TCOR2:1995
.as doc-str-St--isoC-tcor2      " (\*[Lq]\*[doc-Tn-font-size]ISO\~C\^90\*[doc-str-St], Technical Corrigendum 2\*[Rq])
.
.\" POSIX Part 1: System API
.ds doc-str-St--p1003.1        \*[doc-Tn-font-size]\%IEEE\*[doc-str-St] Std 1003.1
.as doc-str-St--p1003.1        " (\*[Lq]\)\*[Px]\*[doc-str-St].1\*[Rq])
.ds doc-str-St--p1003.1-88     \*[doc-Tn-font-size]\%IEEE\*[doc-str-St] Std 1003.1-1988
.as doc-str-St--p1003.1-88     " (\*[Lq]\)\*[Px]\*[doc-str-St].1\*[Rq])
.ds doc-str-St--p1003.1-90     \*[doc-Tn-font-size]ISO/IEC\*[doc-str-St] 9945-1:1990
.as doc-str-St--p1003.1-90     " (\*[Lq]\)\*[Px]\*[doc-str-St].1\*[Rq])
.als doc-str-St--iso9945-1-90 doc-str-St--p1003.1-90
.ds doc-str-St--p1003.1b-93    \*[doc-Tn-font-size]\%IEEE\*[doc-str-St] Std 1003.1b-1993
.as doc-str-St--p1003.1b-93    " (\*[Lq]\)\*[Px]\*[doc-str-St].1\*[Rq])
.ds doc-str-St--p1003.1c-95    \*[doc-Tn-font-size]\%IEEE\*[doc-str-St] Std 1003.1c-1995
.as doc-str-St--p1003.1c-95    " (\*[Lq]\)\*[Px]\*[doc-str-St].1\*[Rq])
.ds doc-str-St--p1003.1i-95    \*[doc-Tn-font-size]\%IEEE\*[doc-str-St] Std 1003.1i-1995
.as doc-str-St--p1003.1i-95    " (\*[Lq]\)\*[Px]\*[doc-str-St].1\*[Rq])
.ds doc-str-St--p1003.1-96     \*[doc-Tn-font-size]ISO/IEC\*[doc-str-St] 9945-1:1996
.as doc-str-St--p1003.1-96     " (\*[Lq]\)\*[Px]\*[doc-str-St].1\*[Rq])
.als doc-str-St--iso9945-1-96 doc-str-St--p1003.1-96
.ds doc-str-St--p1003.1g-2000  \*[doc-Tn-font-size]\%IEEE\*[doc-str-St] Std 1003.1g-2000
.as doc-str-St--p1003.1g-2000  " (\*[Lq]\)\*[Px]\*[doc-str-St].1\*[Rq])
.ds doc-str-St--p1003.1-2001   \*[doc-Tn-font-size]\%IEEE\*[doc-str-St] Std 1003.1-2001
.as doc-str-St--p1003.1-2001   " (\*[Lq]\)\*[Px]\*[doc-str-St].1\*[Rq])
.ds doc-str-St--p1003.1-2004   \*[doc-Tn-font-size]\%IEEE\*[doc-str-St] Std 1003.1-2004
.as doc-str-St--p1003.1-2004   " (\*[Lq]\)\*[Px]\*[doc-str-St].1\*[Rq])
.
.\" POSIX Part 2: Shell and Utilities
.ds doc-str-St--p1003.2        \*[doc-Tn-font-size]\%IEEE\*[doc-str-St] Std 1003.2
.as doc-str-St--p1003.2        " (\*[Lq]\)\*[Px]\*[doc-str-St].2\*[Rq])
.ds doc-str-St--p1003.2-92     \*[doc-Tn-font-size]\%IEEE\*[doc-str-St] Std 1003.2-1992
.as doc-str-St--p1003.2-92     " (\*[Lq]\)\*[Px]\*[doc-str-St].2\*[Rq])
.ds doc-str-St--p1003.2a-92    \*[doc-Tn-font-size]\%IEEE\*[doc-str-St] Std 1003.2a-1992
.as doc-str-St--p1003.2a-92    " (\*[Lq]\)\*[Px]\*[doc-str-St].2\*[Rq])
.ds doc-str-St--iso9945-2-93   \*[doc-Tn-font-size]ISO/IEC\*[doc-str-St] 9945-2:1993
.as doc-str-St--iso9945-2-93   " (\*[Lq]\)\*[Px]\*[doc-str-St].2\*[Rq])
.
.\" X/Open
.ds doc-str-St--susv2          Version\~2 of the Single \*[doc-Tn-font-size]UNIX\*[doc-str-St] Specification
.as doc-str-St--susv2          " (\*[Lq]\*[doc-Tn-font-size]SUSv2\*[doc-str-St]\*[Rq])
.ds doc-str-St--susv3          Version\~3 of the Single \*[doc-Tn-font-size]UNIX\*[doc-str-St] Specification
.as doc-str-St--susv3          " (\*[Lq]\*[doc-Tn-font-size]SUSv3\*[doc-str-St]\*[Rq])
.ds doc-str-St--svid4          System\~V Interface Definition, Fourth Edition
.as doc-str-St--svid4          " (\*[Lq]\*[doc-Tn-font-size]SVID\*[doc-str-St]\^4\*[Rq])
.ds doc-str-St--xbd5           \*[doc-Tn-font-size]X/Open\*[doc-str-St] System Interface Definitions Issue\~5
.as doc-str-St--xbd5           " (\*[Lq]\*[doc-Tn-font-size]XBD\*[doc-str-St]\^5\*[Rq])
.ds doc-str-St--xcu5           \*[doc-Tn-font-size]X/Open\*[doc-str-St] Commands and Utilities Issue\~5
.as doc-str-St--xcu5           " (\*[Lq]\*[doc-Tn-font-size]XCU\*[doc-str-St]\^5\*[Rq])
.ds doc-str-St--xcurses4.2     \*[doc-Tn-font-size]X/Open\*[doc-str-St] Curses Issue\~4, Version\~2
.as doc-str-St--xcurses4.2     " (\*[Lq]\*[doc-Tn-font-size]XCURSES\*[doc-str-St]\^4.2\*[Rq])
.ds doc-str-St--xns5           \*[doc-Tn-font-size]X/Open\*[doc-str-St] Networking Services Issue\~5
.as doc-str-St--xns5           " (\*[Lq]\*[doc-Tn-font-size]XNS\*[doc-str-St]\^5\*[Rq])
.ds doc-str-St--xns5.2         \*[doc-Tn-font-size]X/Open\*[doc-str-St] Networking Services Issue\~5.2
.as doc-str-St--xns5.2         " (\*[Lq]\*[doc-Tn-font-size]XNS\*[doc-str-St]\^5.2\*[Rq])
.ds doc-str-St--xpg3           \*[doc-Tn-font-size]X/Open\*[doc-str-St] Portability Guide Issue\~3
.as doc-str-St--xpg3           " (\*[Lq]\*[doc-Tn-font-size]XPG\*[doc-str-St]\^3\*[Rq])
.ds doc-str-St--xpg4           \*[doc-Tn-font-size]X/Open\*[doc-str-St] Portability Guide Issue\~4
.as doc-str-St--xpg4           " (\*[Lq]\*[doc-Tn-font-size]XPG\*[doc-str-St]\^4\*[Rq])
.ds doc-str-St--xpg4.2         \*[doc-Tn-font-size]X/Open\*[doc-str-St] Portability Guide Issue\~4, Version\~2
.as doc-str-St--xpg4.2         " (\*[Lq]\*[doc-Tn-font-size]XPG\*[doc-str-St]\^4.2\*[Rq])
.ds doc-str-St--xsh5           \*[doc-Tn-font-size]X/Open\*[doc-str-St] System Interfaces and Headers Issue\~5
.as doc-str-St--xsh5           " (\*[Lq]\*[doc-Tn-font-size]XSH\*[doc-str-St]\^5\*[Rq])
.
.\" Miscellaneous
.ds doc-str-St--ieee754        \*[doc-Tn-font-size]\%IEEE\*[doc-str-St] Std 754-1985
.ds doc-str-St--ieee1275-94     \*[doc-Tn-font-size]\%IEEE\*[doc-str-St] Std 1275-1994
.as doc-str-St--ieee1275-94     " (\*[Lq]\*[doc-Tn-font-size]Open Firmware\*[doc-str-St]\*[Rq])
.ds doc-str-St--iso8802-3      \*[doc-Tn-font-size]ISO/IEC\*[doc-str-St] 8802-3:1989
.
.de St
.  if !\n[doc-arg-limit] \{\
.    ie \n[.$] \{\
.      ds doc-macro-name St
.      doc-parse-args \$@@
.    \}
.    el \
.      doc-St-usage
.  \}
.
.  if !\n[doc-arg-limit] \
.    return
.
.  nr doc-arg-ptr +1
.  ie (\n[doc-arg-limit] >= \n[doc-arg-ptr]) \{\
.    nr doc-curr-font \n[.f]
.    nr doc-curr-size \n[.ps]
.    ds doc-str-St \f[\n[doc-curr-font]]\s[\n[doc-curr-size]u]
.
.    ds doc-str-St1
.    ie \A\*[doc-arg\n[doc-arg-ptr]] \{\
.      ie d doc-str-St-\*[doc-arg\n[doc-arg-ptr]] \
.        ds doc-str-St1 "\*[doc-str-St-\*[doc-arg\n[doc-arg-ptr]]]
.      el \{\
.        tmc "mdoc warning: .St: Unknown standard abbreviation
.        tm1 " `\*[doc-arg\n[doc-arg-ptr]]' (#\n[.c])
.        tm1 "              Please refer to the groff_mdoc(7) manpage for a
.        tm1 "              list of available standard abbreviations.
.    \}\}
.    el \
.      doc-St-usage
.
.    \" replacing argument with result
.    ds doc-arg\n[doc-arg-ptr] "\*[doc-str-St1]
.
.    doc-print-recursive
.  \}
.  el \{\
.    doc-St-usage
.    doc-reset-args
.  \}
..
.
.
.\" NS doc-St-usage macro
.
.de doc-St-usage
.  tm1 "Usage: .St standard (#\n[.c])
.  tm1 "       Please refer to the groff_mdoc(7) manpage for a list of
.  tm1 "       available standard abbreviations.
..
.
.
.\" NS Lb user macro
.\" NS   formal library names for LIBRARY sections
.\" NS
.\" NS modifies:
.\" NS   doc-arg-ptr
.\" NS   doc-curr-font
.\" NS   doc-curr-size
.\" NS   doc-macro-name
.\" NS
.\" NS local variable:
.\" NS   doc-reg-Lb
.\" NS   doc-str-Lb
.\" NS   doc-str-Lb1
.\" NS   doc-str-Lb-XXX
.\" NS
.\" NS width register `Lb' defined in doc-common
.
.ds doc-str-Lb-libarm      ARM Architecture Library (libarm, \-larm)
.ds doc-str-Lb-libarm32    ARM32 Architecture Library (libarm32, \-larm32)
.ds doc-str-Lb-libc        Standard C\~Library (libc, \-lc)
.ds doc-str-Lb-libcdk      Curses Development Kit Library (libcdk, \-lcdk)
.ds doc-str-Lb-libcompat   Compatibility Library (libcompat, \-lcompat)
.ds doc-str-Lb-libcrypt    Crypt Library (libcrypt, \-lcrypt)
.ds doc-str-Lb-libcurses   Curses Library (libcurses, \-lcurses)
.ds doc-str-Lb-libedit     Command Line Editor Library (libedit, \-ledit)
.ds doc-str-Lb-libevent    Event Notification Library (libevent, \-levent)
.ds doc-str-Lb-libform     Curses Form Library (libform, \-lform)
.ds doc-str-Lb-libi386     i386 Architecture Library (libi386, \-li386)
.ds doc-str-Lb-libintl     Internationalized Message Handling Library (libintl, \-lintl)
.ds doc-str-Lb-libipsec    IPsec Policy Control Library (libipsec, \-lipsec)
.ds doc-str-Lb-libkvm      Kernel Data Access Library (libkvm, \-lkvm)
.ds doc-str-Lb-libm        Math Library (libm, \-lm)
.ds doc-str-Lb-libm68k     m68k Architecture Library (libm68k, \-lm68k)
.ds doc-str-Lb-libmagic    Magic Number Recognition Library (libmagic, \-lmagic)
.ds doc-str-Lb-libmenu     Curses Menu Library (libmenu, \-lmenu)
.ds doc-str-Lb-libossaudio OSS Audio Emulation Library (libossaudio, \-lossaudio)
.ds doc-str-Lb-libpam      Pluggable Authentication Module Library (libpam, \-lpam)
.ds doc-str-Lb-libpcap     Packet Capture Library (libpcap, \-lpcap)
.ds doc-str-Lb-libpci      PCI Bus Access Library (libpci, \-lpci)
.ds doc-str-Lb-libpmc      Performance Counters Library (libpmc, \-lpmc)
.ds doc-str-Lb-libposix    \*[Px] \*[doc-str-Lb]Compatibility Library (libposix, \-lposix)
.ds doc-str-Lb-libpthread  \*[Px] \*[doc-str-Lb]Threads Library (libpthread, \-lpthread)
.ds doc-str-Lb-libresolv   DNS Resolver Library (libresolv, \-lresolv)
.ds doc-str-Lb-librt       \*[Px] \*[doc-str-Lb]Real-time Library (librt, \-lrt)
.ds doc-str-Lb-libtermcap  Termcap Access Library (libtermcap, \-ltermcap)
.ds doc-str-Lb-libusbhid   USB Human Interface Devices Library (libusbhid, \-lusbhid)
.ds doc-str-Lb-libutil     System Utilities Library (libutil, \-lutil)
.ds doc-str-Lb-libx86_64   x86_64 Architecture Library (libx86_64, \-lx86_64)
.ds doc-str-Lb-libz        Compression Library (libz, \-lz)
.
.de Lb
.  if !\n[doc-arg-limit] \{\
.    ie \n[.$] \{\
.      ds doc-macro-name Lb
.      doc-parse-args \$@@
.    \}
.    el \
.      tm Usage: .Lb library_name ... (#\n[.c])
.  \}
.
.  if !\n[doc-arg-limit] \
.    return
.
.  nr doc-arg-ptr +1
.  ie (\n[doc-arg-limit] >= \n[doc-arg-ptr]) \{\
.    nr doc-curr-font \n[.f]
.    nr doc-curr-size \n[.ps]
.    ds doc-str-Lb \f[\n[doc-curr-font]]\s[\n[doc-curr-size]u]
.
.    ie d doc-str-Lb-\*[doc-arg\n[doc-arg-ptr]] \
.      ds doc-str-Lb1 "\*[doc-str-Lb-\*[doc-arg\n[doc-arg-ptr]]]
.    el \{\
.      tmc "mdoc warning: .Lb: no description for library
.      tm1 " `\*[doc-arg\n[doc-arg-ptr]]' available (#\n[.c])
.      ds doc-str-Lb1 library \*[Lq]\*[doc-arg\n[doc-arg-ptr]]\*[Rq]
.    \}
.
.    \" replacing argument with result
.    ds doc-arg\n[doc-arg-ptr] "\*[doc-str-Lb1]
.
.    if \n[doc-in-library-section] \
.      br
.    doc-print-recursive
.    if \n[doc-in-library-section] \
.      br
.  \}
.  el \{\
.    tm Usage: .Lb library_name ... (#\n[.c])
.    doc-reset-args
.  \}
..
.
.
.ec
.
.\" EOF
@


1.15
log
@

* tmac/doc-common, tmac/groff_doc.man: Add FreeBSD 6.2, document
FreeBSD 5.5 and 7.0.

* tmac/doc-syms: Give better names for System V releases.
@
text
@d654 2
@


1.14
log
@

* tmac/doc-syms (Dx): New macro to identify DragonFly.
(doc-str-St--ieee1275-94, doc-str-St--isoC-amd1,
doc-str-St--isoC-tcor1, doc-str-St--isoC-tcor2): New standard
strings.
(doc-operating-system-FreeBSD-5.5, doc-operating-system-FreeBSD-7.0,
doc-operating-system-NetBSD-1.6.3, doc-operating-system-NetBSD-4.0
doc-operating-system-DragonFly-*): New operating system strings.

* tmac/groff_mdoc.man, NEWS: Document `Dx'.
@
text
@d207 1
a207 1
.ds doc-str-At-V.1 \*[doc-Tn-font-size]AT&T\*[doc-str-At] System\~V.1
d209 1
a209 1
.ds doc-str-At-V.2 \*[doc-Tn-font-size]AT&T\*[doc-str-At] System\~V.2
d211 1
a211 1
.ds doc-str-At-V.3 \*[doc-Tn-font-size]AT&T\*[doc-str-At] System\~V.3
d213 1
a213 1
.ds doc-str-At-V.4 \*[doc-Tn-font-size]AT&T\*[doc-str-At] System\~V.4
@


1.13
log
@

* tmac/groff_mdoc.man, tmac/doc-common, tmac/doc-ditroff,
tmac/doc-nroff, tmac/doc-old.tmac, tmac/doc-syms, tmac/doc.tmac:
Update BSD license.
@
text
@d263 64
d610 6
d677 2
@


1.12
log
@

* tmac/doc-syms, tmac/groff_mdoc.man: Add `libpam' library.
@
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.11
log
@

* tmac/doc-syms (doc-str-St--p1003.1-2004): New string.
* tmac/groff_mdoc.man: Updated.
@
text
@d700 1
@


1.10
log
@

* NEWS, README, TODO, PROJECTS, PROBLEMS, MANIFEST, doc/webpage.ms,
tmac/TODO: Updated.

* tmac/doc-syms (doc-str-Lb-libposix, doc-str-Lb-libpthread,
doc-str-Lb-librt): Reset font.
(Lb): Rename `doc-str-Lb' to `doc-str-Lb1'.
Provide `doc-str-Lb' to reset font.
* tmac/groff_mdoc.man: Updated.
@
text
@d570 2
@


1.9
log
@

* tmac/doc-common (doc-volume-as-*): Use lowercase names.
(doc-operating-system-*): Updated.
* tmac/doc-syms (doc-str-St-*): Various small fixes.
(doc-str-Lb-*): Add more library names.
@
text
@d674 1
d701 2
a702 2
.ds doc-str-Lb-libposix    \*[Px] Compatibility Library (libposix, \-lposix)
.ds doc-str-Lb-libpthread  POSIX Threads Library (libpthread, \-lpthread)
d704 1
a704 1
.ds doc-str-Lb-librt       POSIX Real-time Library (librt, \-lrt)
d726 4
d731 1
a731 1
.      ds doc-str-Lb "\*[doc-str-Lb-\*[doc-arg\n[doc-arg-ptr]]]
d735 1
a735 1
.      ds doc-str-Lb library \*[Lq]\*[doc-arg\n[doc-arg-ptr]]\*[Rq]
d739 1
a739 1
.    ds doc-arg\n[doc-arg-ptr] "\*[doc-str-Lb]
@


1.8
log
@

* src/libs/libgroff/glyphuni.cpp (glyph_to_unicode_list),
src/libs/libgroff/uniglyph.cpp (unicode_to_glyph_list),
src/libs/libgroff/uniuni.cpp (unicode_decompose_list),
src/preproc/eqn/box.cpp (param_table), src/preproc/grn/hgraph.cpp
(polyfill), src/preproc/grn/main.cpp (polyfill),
src/preproc/refer/command.cpp (command_table),
src/utils/tfmtodit.cpp (lig_table): Don't use anonymous types (which
gcc 3.5 doesn't like).



Removing many compiler warnings.  groff should now compile with
a C++ compiler used for C files also.  [Simple variable renamings
to avoid shadowing aren't logged in detail.]

* src/devices/grodvi/dvi.cpp: Some local variable renamings.
(draw_dvi_printer::draw) ['c']: Enclose in block.

* src/devices/grohtml/post-html.cpp: Some local variable renamings.
(page::add_line): Fix typos.
* src/devices/grohtml/html-text.cpp: Some local variable renamings.

* src/devices/grolbp/lbp.cpp: Don't define _GNU_SOURCE.
Some local variable renamings.
* src/devices/grolbp/lbp.h: Some local variable renamings.

* src/devices/grolj4/lj4.cpp, src/devices/grotty/tty.cpp: Some local
variable renamings.

* src/libs/libbib/index.cpp (index_search_item_iterator::get_tag):
Remove redundant local variable declaration.
* src/libs/libbib/map.c (mapread, unmap): Don't use K&R style.
Don't use `caddr_t' but `void *'.
Enclose functions with `extern "C"' for C++.

* src/libs/libdriver/input.cpp (remember_filename,
remember_source_filename): Use cast for string constant.

* src/libs/libgroff/font.cpp, src/libs/libgroff/fontfile.cpp,
src/libs/libgroff/nametoindex.cpp, src/libs/libgroff/paper.cpp,
src/libs/libgroff/geometry.cpp: Some local variable renamings.
* src/libs/libgroff/iftoa.c, src/libs/libgroff/itoa.c: Don't use K&R
style.
Enclose functions with `extern "C"' for C++.
* src/libs/libgroff/quotearg.c (TRUE,FALSE): Define as macros.
(needs_quoting): Return `int'.
(quote_arg): Add proper casts to malloc and realloc.
* src/libs/libgroff/spawnvp.c: Compile code only for MS-DOS and
various MS Windows environments.
(spawnvp_wrapper): Add proper cast to malloc.

* src/preproc/eqn/box.h: Remove redundant declarations of
`make_script_box', `make_mark_box' and `make_lineup_box'.
* src/preproc/eqn/eqn.y: Remove redundant declaration of `strsave'.
* src/preproc/eqn/script.cpp, src/preproc/eqn/pile.cpp: Some local
variable renamings.

* src/preproc/grn/hpoint.cpp: Some local variable renamings.
* src/preproc/grn/hgraph.cpp: Some local variable renamings.
(dx, dy): Renamed functions to...
(deltax, deltay): This.
* src/preproc/grn/main.cpp: Some local variable renamings.
(deffont): Add `const'.
(initpic, conv): Use cast for string constant.

* src/preproc/html/pre-html.cpp: Some local variable renamings.
(makeFileName, alterDeviceTo, addZ): Use cast for string constant.
(char_buffer::run_output_filter): Second argument is unused.
* src/preproc/html/pushback.cpp: Some local variable renamings.

* src/preproc/pic/pic.y: Remove redundant declaration of `do_copy'.
* src/preproc/pic/object.cpp: Some local variable renamings.

* src/preproc/refer/label.y (lookup_label): Remove redundant
declaration of local variable.

* src/preproc/soelim.cpp: Remove redundant declaration of
`interpret_lf_args'.

* src/preproc/tbl/main.cpp: Some local variable renamings.

* src/roff/groff/groff.cpp (main): Use cast for string constant.
* src/roff/groff/pipeline.c: Enclose declarations of `error',
`c_fatal', and `i_to_a' with `extern "C"' for C++.
Don't use C++-style comments.

* src/roff/troff/env.h: Remove redundant declaration of `title'.
* src/roff/troff/node.h, src/roff/troff/env.cpp,
src/roff/troff/div.cpp, src/roff/troff/node.cpp: Some local variable
renamings.
* src/roff/troff/div.h: Remove redundant declaration of
`end_diversions'.
* src/roff/troff/troff.h: Remove redundant declaration of
`cleanup_and_exit'
* src/roff/troff/input.cpp: Remove redundant declaration of
`handle_first_page_transition' and `process_input_stack'.

* src/utils/hpftodit.cpp: Some local variable renamings.

* src/utils/indxbib/signal.c: Enclose functions with `extern "C"'
for C++.
Don't define RETSIGTYPE.
* src/utils/indxbib/indxbib.cpp: Some local variable renamings.

* src/utils/pfbtops/pfbtops.cpp: Don't use K&R style.
(error): Use `const' in argument.
(main): Remove redundant declaration of `optind'.
Move declaration of `Version_string' to top-level.

* PROBLEMS: Document difficulties compiling signal.c if a C++
compiler is used for C.



* Makefile.sub (DISTCLEANFILES): Add `test-groff'.
@
text
@d541 1
a541 1
.as doc-str-St--ansiC-89       " (\*[Lq]\)\*[Ai]\~C\*[doc-str-St]\*[Rq])
d544 2
a545 1
.as doc-str-St--isoC           " (\*[Lq]\*[doc-Tn-font-size]ISO\~C\^89\*[doc-str-St]\*[Rq])
d590 1
a590 1
.ds doc-str-St--xcurses4.2     \*[doc-Tn-font-size]X/Open\*[doc-str-St] Curses Issue\~4.2
d600 1
a600 1
.ds doc-str-St--xpg4.2         \*[doc-Tn-font-size]X/Open\*[doc-str-St] Portability Guide Issue\~4.2
d678 1
d681 1
d686 2
d689 1
d693 2
d697 3
d701 1
d703 1
d705 1
d707 1
@


1.7
log
@

Support multiple calls of .Lb in LIBRARY section.

* tmac/doc-common (doc-in-library-section): New register.
(doc-section-library): New string.
(Sh): Set `doc-in-library-section'.
(Rd): Updated.
* tmac/doc-syms (Lb): Insert breaks before and after arguments
if in LIBRARY section.
* tmac/doc.tmac (doc-save-global-vars): Updated.
* NEWS, tmac/groff_mdoc.man: Updated.

* tmac/doc-common (doc-default-operating-system): New variable.
(Os): Use it.
@
text
@d213 2
@


1.6
log
@
* tmac/doc-common, tmac/doc-syms: Small updates.
* tmac/an-old.tmac (an-p-footer): Set title length in environment 1.

* MANIFEST: New file.

* src/preproc/grn/grn.man: Updated.
* src/preproc/grn/hdb.cc (MAXSTRING_S): New macro.
(DBRead): Use it.
@
text
@d719 2
d722 2
@


1.5
log
@Fix indentation in SYNOPSIS.

Updated to include changes of latest BSD mdoc version (basically,
`.Fn' and `.Fc' put a final semicolon after a function declaration
in the SYNOPSIS section.

* tmac/doc.tmac (doc-in-synopsis-count): Replaced with ...
(doc-in-synopsis-section): New variable.  Updated all related
functions.
(doc-indent-synopsis-active): New register.
(Nd, Fn, Fo): Use it.
(Cd): It requires manipulation of n[doc-indent-synopsis] so that
`.Cd' with long argument line produces indented wrapped lines.
Also, the misplaced `.nop *[doc-Nm-font]c'' caused extra
undesirable line break to be output.
(doc-do-func-decl, Nm, Vt, Fn, Fo): Remove extraneous calls to
`.rs'.
(Fn, Fc): Add final `;' to output.
(doc-save-global-vars, doc-restore-global-vars): Updated.
* tmac/doc-common: Remove `Ex' register.
Updated.
* tmac/doc-ditroff, tmac/doc-nroff, tmac/doc-syms: Updated
copyright.
@
text
@d565 2
@


1.4
log
@Remove .Ld from mdoc package; replace it with special handling of
`...'.

* tmac/doc-common: Remove `Ld' register.
Uncomment `doc-volume-ds-*' strings.
Remove `doc-operating-system-default'.
(Os): Updated.
* tmac/doc-syms (Ld): Removed.
* tmac/doc.tmac (doc-parse-args, doc-parse-arg-vector): Handle
`...' specially.
* NEWS: Updated.

* tmac/groff_mdoc.man: Many fixes and updates.

* tmac/www.tmac: Save compatibility mode.
@
text
@d1 2
a2 2
.\" Copyright (c) 1991 The Regents of the University of California.
.\" All rights reserved.
d32 1
a32 1
.\"     @@(#)doc-syms 5.6 (Berkeley) 8/5/91
@


1.3
log
@* tmac/an-old.tmac (TP, an-do-tag): Reduce line length while in
diversion.  This fixes overlong tags.

* tmac/doc-syms: Fix error messages.
* tmac/an-old.tmac: Remove incorrect double backslashes.
@
text
@a38 31
.\" NS Ld user macro
.\" NS   print `...' (similar to TeX's \ldots command)
.\" NS
.\" NS modifies:
.\" NS   doc-arg-ptr
.\" NS   doc-macro-name
.\" NS
.\" NS width register `Ld' defined in doc-common
.
.de Ld
.  if !\n[doc-arg-limit] \
.    if \n[.$] \{\
.      ds doc-macro-name Ld
.      doc-parse-args \$@@
.    \}
.
.  \" replace current argument with result
.  ds doc-arg\n[doc-arg-ptr] \|.\|.\|.\&
.  nr doc-type\n[doc-arg-ptr] 2
.  ds doc-space\n[doc-arg-ptr] "\*[doc-space]
.
.  \" recompute space vector for remaining arguments
.  nr doc-num-args (\n[doc-arg-limit] - \n[doc-arg-ptr])
.  nr doc-arg-limit \n[doc-arg-ptr]
.  if \n[doc-num-args] \
.    doc-parse-space-vector
.
.  doc-print-recursive
..
.
.
@


1.2
log
@Replaced mdoc implementation.  The new version is `state of the
art', using almost all new features of groff 1.17 -- it won't run
with older versions.

* tmac/doc.tmac: Completely rewritten.
* tmac/doc-common: Ditto.
* tmac/doc-nroff: Ditto.
* tmac/doc-ditroff: Ditto.
* tmac/doc-syms: Ditto.
* tmac/mdoc.local: New file.
* tmac/groff_mdoc.samples.man: Replaced with ...
* tmac/groff_mdoc.reference.man: New file, covering mdoc completely.
* tmac/strip.sed: Updated.
* tmac/Makefile.sub: Updated.
* INSTALL: Updated.

* tmac/groff_man.man: Add `man.local' to the FILES section.
@
text
@d661 1
a661 1
.        tm1 "              Please refer to groff_mdoc.references.man for a
d683 1
a683 1
.  tm1 "       Please refer to groff_mdoc.references.man for a list of
@


1.1
log
@Initial revision
@
text
@d14 2
a15 2
.\"	This product includes software developed by the University of
.\"	California, Berkeley and its contributors.
d32 1
a32 1
.\"     @@(#)doc-syms	5.6 (Berkeley) 8/5/91
d35 49
a83 1
.\" NS Ux macro - UNIX
d85 22
a106 16
.nr cF \\n(.f
.nr cZ \\n(.s
.ds aa \&\f\\n(cF\s\\n(cZ
.as b1 \&\\*(tNUNIX\\*(aa
.rm aa
.if \\n(aC==0 \{\
.       if \\n(.$>0 .aV \\$1 \\$2 \\$3 \\$4 \\$5 \\$6 \\$7 \\$8 \\$9
.\}
.ie \\n(aC>\\n(aP \{\
.       nr aP \\n(aP+1
.       ie \\n(C\\n(aP==1 \{\
.               \\*(A\\n(aP
.       \}
.       el .nR
.\}
.el .aZ
d108 27
a134 1
.\" NS Bx macro -BSD UNIX (fix smaller nroff version)
d136 57
a192 61
.nr cF \\n(.f
.nr cZ \\n(.s
.ds aa \&\f\\n(cF\s\\n(cZ
.if \\n(aC==0 \{\
.       ie \\n(.$==0 \&\\*(tNBSD\\*(aa \\*(tNUNIX\\*(aa
.       el .aV \\$1 \\$2 \\$3 \\$4 \\$5 \\$6 \\$7 \\$8 \\$9
.\}
.if "\\$1"-alpha" \{\
\&currently in alpha test.
.	aY
.\}
.if "\\$1"-beta" \{\
\&currently in beta test.
.	aY
.\}
.if "\\$1"-devel" \{\
\&currently under development.
.	aY
.\}
.if \\n(aC>\\n(aP \{\
.       nr aP \\n(aP+1
.	ie \\n(C\\n(aP==2 \{\
.		as b1 \&\\*(A\\n(aP\&\\*(tNBSD\\*(aa
.		ie \\n(aC>\\n(aP \{\
.			nr jj \\n(aP+1
.			ie \\n(C\\n(jj==2 \{\
.				if "\\*(A\\n(jj"Reno" \{\
.					nr aP \\n(aP+1
.					as b1 \&\-\\*(A\\n(jj
.				\}
.				if "\\*(A\\n(jj"reno" \{\
.					nr aP \\n(aP+1
.					as b1 \&\-Reno
.				\}
.				if "\\*(A\\n(jj"Tahoe" \{\
.					nr aP \\n(aP+1
.					as b1 \&\-\\*(A\\n(jj
.				\}
.				if "\\*(A\\n(jj"tahoe" \{\
.					nr aP \\n(aP+1
.					as b1 \&\-Tahoe
.				\}
.				ie \\n(aC>\\n(aP \{\
.					nr aP \\n(aP+1
.					nR
.				\}
.				el .aZ
.			\}
.			el \{\
.				nr aP \\n(aP+1
.				nR
.			\}
.			rr jj
.		\}
.		el .aZ
.	\}
.	el \{\
.	       as b1 \&\\*(tNBSD\\*(aa U\\*(tNNIX\\*(aa
.	       nR
.	\}
.\}
d194 7
a200 1
.\" Ns Ud macro - prints "currently under development" (HISTORY section)
d202 1
a202 1
\&currently under development.
d204 43
a246 1
.\" Ns At macro - AT&T UNIX
d248 224
a471 19
.nr cF \\n(.f
.nr cZ \\n(.s
.ds aa \&\f\\n(cF\s\\n(cZ
.if \\n(.$==2 \{\
.	if "\\$1"32v" \&Version 32V \\*(tNAT&T UNIX\\*(aa\\$2
.	if "\\$1"v6"  \&Version 6 \\*(tNAT&T UNIX\\*(aa\\$2
.	if "\\$1"v7"  \&Version 7 \\*(tNAT&T UNIX\\*(aa\\$2
.	if "\\$1"V"  \&\\*(tNAT&T\\*(aa System V \\*(tNUNIX\\*(aa\\$2
.	if "\\$1"V.1"  \&\\*(tNAT&T\\*(aa System V.1 \\*(tNUNIX\\*(aa\\$2
.	if "\\$1"V.4"  \&\\*(tNAT&T\\*(aa System V.4 \\*(tNUNIX\\*(aa\\$2
.\}
.if \\n(.$==1 \{\
.	if "\\$1"32v" \&Version 32V \\*(tNAT&T UNIX\\*(aa
.	if "\\$1"v6"  \&Version 6 \\*(tNAT&T UNIX\\*(aa
.	if "\\$1"v7"  \&Version 7 \\*(tNAT&T UNIX\\*(aa
.	if "\\$1"V"  \&\\*(tNAT&T\\*(aa System V \\*(tNUNIX\\*(aa
.	if "\\$1"V.1"  \&\\*(tNAT&T\\*(aa System V.1 \\*(tNUNIX\\*(aa
.	if "\\$1"V.4"  \&\\*(tNAT&T\\*(aa System V.4 \\*(tNUNIX\\*(aa
.\}
d473 54
d528 6
a533 1
.\" Ns Bt macro - prints "is currently in beta test." (HISTORY section)
d535 1
a535 1
\&is currently in beta test.
d537 98
a634 3
.\" NS St macro - standards (posix, ansi - formal standard names)
.ds Px \\*(tNPOSIX
.ds Ai \\*(tNANSI
d636 118
a753 83
.if \\n(aC==0 \{\
.	ie \\n(.$==0 \{\
.tm Usage: .St [-p1003.1-88 | -p1003.2 | -ansiC-89 | -iso ] \\*(Pu ... (#\\n(.c)
.	\}
.	el \{\
.		ds mN St
.		nr aP 0
.		ds A1 \\$1
.		ds A2 \\$2
.		ds A3 \\$3
.		ds A4 \\$4
.		ds A5 \\$5
.		ds A6 \\$6
.		ds A7 \\$7
.		ds A8 \\$8
.		ds A9 \\$9
.		nr fV \\n(.$
.		fV
.	\}
.\}
.if \\n(aC>\\n(aP \{\
.	nr cF \\n(.f
.	nr cZ \\n(.s
.	ds aa \&\f\\n(cF\s\\n(cZ
.	nr aP \\n(aP+1
.       if "\\*(A\\n(aP"-p1003.1-88" \{\
.		ie \\n(sT==1 \{\
.			ds b1 \&\\*(tNIEEE Std\\*(aa1003.1-1988\\*(sV
.			as b1 (``\\*(tN\\*(Px\\*(aa'')
.		\}
.		el \{\
.			ds b1 \&\\*(tNIEEE Std\\*(aa1003.1-1988\\*(sV
.			as b1 (``\\*(tN\\*(Px\\*(aa'')
.		\}
.       \}
.       if "\\*(A\\n(aP"-p1003.2" \{\
.		ie \\n(sT==1 \{\
.			ds b1 \&\\*(tNIEEE Std\\*(aa1003.2
.			as b1 (``\\*(tN\\*(Px\\*(aa'')
.		\}
.		el \{\
.			ds b1 \&\\*(tNIEEE Std\\*(aa1003.2\\*(sV
.			as b1 (``\\*(tN\\*(Px\\*(aa'')
.		\}
.       \}
.       if "\\*(A\\n(aP"-ansiC" \{\
.		ie \\n(sT==1 \{\
.			ds b1 \&\\*(tNANSI C\\*(aa3.159-1989\\*(sV
.			as b1 (``\\*(tNANSI C\\*(aa'')
.		\}
.		el \{\
.			ds b1 \&\\*(tNANSI C\\*(aa3.159-1989\\*(sV
.			as b1 (``\\*(tNANSI C\\*(aa'')
.		\}
.       \}
.       if "\\*(A\\n(aP"-ansiC-89" \{\
.		ie \\n(sT==1 \{\
.			ds b1 \&\\*(tNANSI C\\*(aa3.159-1989\\*(sV
.			as b1 (``\\*(tNANSI C\\*(aa'')
.		\}
.		el \{\
.			ds b1 \&\\*(tNANSI C\\*(aa3.159-1989\\*(sV
.			as b1 (``\\*(tNANSI C\\*(aa'')
.		\}
.       \}
.       if "\\*(A\\n(aP"-iso8802-3" \{\
.		ie \\n(sT==1 \{\
.			ds b1 \&\\*(tNISO \\*(aa8802-3: 1989
.\" .			ds b1 \&\\*(tNISO \\*(aa8802-3: 1989\\*(sV
.\" .			as b1 (``\\*(tNANSI C\\*(aa'')
.		\}
.		el \{\
.			ds b1 \&\\*(tNISO \\*(aa8802-3: 1989
.\" .			ds b1 \&\\*(tNISO \\*(aa8802-3: 1989\\*(sV
.\" .			as b1 (``\\*(tNANSI C\\*(aa'')
.		\}
.       \}
.	ie \\n(aC>\\n(aP \{\
.		nr aP \\n(aP+1
.		nR
.	\}
.	el .aZ
.\}
d755 5
@


1.1.1.1
log
@groff pre-1.16 with new directory structure
@
text
@@
