Commit Graph

149 Commits

Author SHA1 Message Date
Ruslan Ermilov
7ec8076057 Move the definition of FreeBSD 4.6 back to where it belongs. 2002-07-18 09:32:15 +00:00
Murray Stokely
370e78e11f Revert last change.
Requested by:	ru
2002-07-18 09:15:54 +00:00
Murray Stokely
b4666d24d0 Teach mdoc about FreeBSD 4.6.1 2002-07-18 08:04:12 +00:00
Doug Barton
480ffa338a Teach mdoc about the 4.6 release 2002-06-18 00:41:47 +00:00
Ruslan Ermilov
a8be241673 MFV: Initialize %I register. 2002-01-18 15:28:32 +00:00
Ruslan Ermilov
d73b73ae30 This commit was generated by cvs2svn to compensate for changes in r89500,
which included commits to RCS files with non-trunk default branches.
2002-01-18 15:25:01 +00:00
Ruslan Ermilov
2a91b0e9f4 From ChangeLog:
: 2002-01-17  Ruslan Ermilov  <ru@FreeBSD.org>
:
: 	* tmac/doc.common: Initialize %I register for the %I macro to
: 	avoid (harmless) warning.
: 	* tmac/doc.tmac (Bd): There is no reason to enforce -compact
: 	when in the SYNOPSIS section.
2002-01-18 15:25:01 +00:00
Ruslan Ermilov
e132e98f0d Satisfy pedantic readers.
PR:		docs/31260

From ChangeLog:

: 2002-01-14  Ruslan Ermilov  <ru@FreeBSD.org>
:
:         * tmac/groff_mdoc.man: Minor fixes.
2002-01-15 17:15:28 +00:00
Ruslan Ermilov
f5c1e082d2 This commit was generated by cvs2svn to compensate for changes in r89397,
which included commits to RCS files with non-trunk default branches.
2002-01-15 17:15:28 +00:00
Ruslan Ermilov
87e24bf876 MFV: NetBSD style document titles (OS/arch). 2002-01-10 18:07:50 +00:00
Ruslan Ermilov
7715c92746 Print architecture right after an operating system name in a title.
From ChangeLog:

: 2001-12-24  Ruslan Ermilov  <ru@FreeBSD.org>
:
:   * tmac/doc-common (Dt): Change output of architecture strings.
:   Do some syntax cleanup.
:   * tmac/groff_mdoc.man: Updated.
2002-01-10 18:04:04 +00:00
Ruslan Ermilov
45a3e7b196 This commit was generated by cvs2svn to compensate for changes in r89232,
which included commits to RCS files with non-trunk default branches.
2002-01-10 18:04:04 +00:00
Ruslan Ermilov
ec60ea2faa MFV: FreeBSD 4.4, FreeBSD 4.5, NetBSD 1.6, POSIX.1-2001. 2001-12-24 08:59:48 +00:00
Ruslan Ermilov
1cc5490cec From ChangeLog:
: 2001-12-22  Ruslan Ermilov  <ru@FreeBSD.org>
:
:         * tmac/doc-common, tmac/doc-syms: Small updates.

This adds support for FreeBSD 4.4, FreeBSD 4.5, NetBSD 1.6,
and POSIX.1-2001.
2001-12-24 08:53:15 +00:00
Ruslan Ermilov
e8777213c8 Bring in latest (cosmetic) vendor fixes to this file. 2001-12-21 11:46:21 +00:00
Ruslan Ermilov
6047b0568b This commit was generated by cvs2svn to compensate for changes in r88345,
which included commits to RCS files with non-trunk default branches.
2001-12-21 11:46:21 +00:00
Ruslan Ermilov
e3c3901cc3 MFV: Handle long document titles better. 2001-12-21 11:35:20 +00:00
Ruslan Ermilov
0988851e6e From ChangeLog:
: 2001-11-16  Ruslan Ermilov  <ru@FreeBSD.org>
:
:         * tmac/doc-common (doc-header): Handle very long document titles
:         better.

PR:		docs/10349
2001-12-21 11:31:30 +00:00
Ruslan Ermilov
5b9435ca7b From ChangeLog:
: 2001-10-19  Ruslan Ermilov  <ru@FreeBSD.org>
:
:	* tmac/doc.tmac (doc-flag-recursion): Protect arguments against
:	being handled as end-of-sentence characters,

This fixes ".Fl \&?".  Previously, it produced an additional whitespace.
There were no precedents in FreeBSD manpages.  That's why it was

Noticed by:	Thomas Klausner <wiz@netbsd.org>
2001-10-26 17:22:12 +00:00
Ruslan Ermilov
5b9df042e6 This commit was generated by cvs2svn to compensate for changes in r85552,
which included commits to RCS files with non-trunk default branches.
2001-10-26 17:22:12 +00:00
Ruslan Ermilov
1f173e98a0 MFV: New macro: .Ex. 2001-08-15 08:20:31 +00:00
Ruslan Ermilov
059b06f9eb From ChangeLog:
: 2001-08-14  Ruslan Ermilov  <ru@FreeBSD.org>
:
: 	* tmac/doc.tmac (Ex): New implementation.
: 	* tmac/doc-common, tmac/groff_tmac.man: Updated.

This adds a new macro, .Ex (Exit Status), for use in the
DIAGNOSTICS section of section 1, 6 and 8 manpages.

Prodded by:	dd
2001-08-15 08:17:33 +00:00
Ruslan Ermilov
4e12aba6c9 This commit was generated by cvs2svn to compensate for changes in r81682,
which included commits to RCS files with non-trunk default branches.
2001-08-15 08:17:33 +00:00
Ruslan Ermilov
7f582a6969 From ChangeLog:
: 2001-08-13  Ruslan Ermilov  <ru@FreeBSD.org>
:
: 	* tmac/doc.tmac (Rv): Implement support for 0 or more than 1
: 	argument.
: 	* tmac/groff_tmac.man: Updated.

All of the following are now valid:

.Rv -std f1
.Rv -std f1 f2
.Rv -std f1 f2 f3
.Rv -std

The last form is useful where the standard return behavior is applicable
to all of the functions described in this particular manpage.  Look, for
example, at the stat(2), setresuid(2), and utimes(2) manpages.

The form with >1 functions is useful in a mixed environment.  See the
fhopen(2) manpage for an example.

Prodded by:	yar
2001-08-14 15:19:35 +00:00
Ruslan Ermilov
9b698804d9 This commit was generated by cvs2svn to compensate for changes in r81630,
which included commits to RCS files with non-trunk default branches.
2001-08-14 15:19:35 +00:00
Ruslan Ermilov
2370a12024 From ChangeLog:
: 2001-07-18  Ruslan Ermilov  <ru@FreeBSD.org>
:
:	* tmac/groff_mdoc.man: Document new -width and -column syntax.
:	Some other minor fixes.
:	* tmac/an-old.tmac: Add `AT' and `UC' macros.
2001-07-18 06:48:31 +00:00
Ruslan Ermilov
19c6fd1aee This commit was generated by cvs2svn to compensate for changes in r79847,
which included commits to RCS files with non-trunk default branches.
2001-07-18 06:48:31 +00:00
Ruslan Ermilov
920eecc599 Import latest mdoc(7) fixes of mine.
Fold -xwidth functionality into -width.  .Bl now tests whether
string immediately following a leading dot starts with a valid
macro name.

Added similar functionality to the -column list's column width
specifiers.  For example, the following now works as expected:

.Bl -column ".Va hw.crusoe.percentage" ".Vt integer" "Changeable"
.It Sy "Name\tType\tChangeable\tDescription"
.It Va hw.crusoe.longrun Ta Vt integer Ta yes Ta "LongRun mode:"
.It Ta Ta Ta "0: minimum frequency mode"
.It Ta Ta Ta "1: power-saving mode"
.It Ta Ta Ta "2: performance mode"
.It Ta Ta Ta "3: maximum frequency mode"
.It Va hw.crusoe.frequency Ta Vt integer Ta no Ta "Current frequency (MHz)."
.It Va hw.crusoe.voltage Ta Vt integer Ta no Ta "Current voltage (mV)."
.It Va hw.crusoe.percentage Ta Vt integer Ta no Ta "Processing performance (%)."
.El

This is especially useful for groff devices with variable width
fonts, like -Tps or -TX100.
2001-07-13 09:06:00 +00:00
Ruslan Ermilov
e48c5ca20c This commit was generated by cvs2svn to compensate for changes in r79655,
which included commits to RCS files with non-trunk default branches.
2001-07-13 09:06:00 +00:00
Ruslan Ermilov
a972cdc741 Use stock (FSF) version of this file. 2001-07-10 17:14:46 +00:00
Ruslan Ermilov
5ecb0ad24f Virgin import of FSF groff v1.17.2 2001-07-10 17:09:00 +00:00
Ruslan Ermilov
66d14a309a This commit was generated by cvs2svn to compensate for changes in r79543,
which included commits to RCS files with non-trunk default branches.
2001-07-10 17:09:00 +00:00
Ruslan Ermilov
2766dc31da FreeBSD provides its own version of this OS-specific file. 2001-04-17 13:32:10 +00:00
Ruslan Ermilov
96cdc9a050 Merge Groff 1.17 changes. 2001-04-17 12:28:31 +00:00
Ruslan Ermilov
74cf10f1aa Use stock (FSF) version of this file. 2001-04-17 12:28:00 +00:00
Ruslan Ermilov
9f06645d99 Removed files not present in v1.17 import. 2001-04-17 12:23:50 +00:00
Ruslan Ermilov
d0bf30505c This commit was generated by cvs2svn to compensate for changes in r75587,
which included commits to RCS files with non-trunk default branches.
2001-04-17 12:23:50 +00:00
Ruslan Ermilov
af2786323e Removed files not present in v1.17 import. 2001-04-17 12:23:50 +00:00
Ruslan Ermilov
1d5f6a94a8 Virgin import of FSF groff v1.17 2001-04-17 12:12:05 +00:00
Ruslan Ermilov
9a381181f1 This commit was generated by cvs2svn to compensate for changes in r75584,
which included commits to RCS files with non-trunk default branches.
2001-04-17 12:12:05 +00:00
Ruslan Ermilov
f3c9372abd 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
2001-04-09 13:02:20 +00:00
Ruslan Ermilov
6405e53deb Record -lposix1e death. 2001-04-05 07:59:19 +00:00
Ruslan Ermilov
99d2a6766d .St macro cleanup:
- spell the abbreviation of 1003.1 as ``POSIX.1''
- fixed the description of -p1003.1-90; it was sold as ISO/IEC 9945-1:1990
- removed -p1003.1b; it only existed as 1003.1b-1993 (-p1003.1b-93), and
  is part of 1003.1 since 1003.1-1996.
- replaced -p1003.1g (project) with -p1003.1g-2000 (approved draft)
- changed abbreviation of -isoC from ``ISO C'' to ``ISO C89''
- removed -iso9899 alias for -isoC
- IEC was missing from some names
- added abbreviation for -susv2 (``SUSv2'')
2001-03-12 17:19:38 +00:00
Ruslan Ermilov
127cffed5a Fixed undesirable hyphenation on the dash of a flag argument.
Example:

.Sh SYNOPSIS
.Nm natd
.Fl unregistered-only
.Fl proxy-only
.Fl deny-incoming
.Fl use-sockets
.Fl same-ports

Ported from:	mdocNG
2001-03-01 12:46:29 +00:00
Ruslan Ermilov
abec56f578 Fixed two bugs with -tag lists.
If the -tag list definition didn't have a -width modifier,
the first .It call was supposed to set the width depending
on the first argument type; if it is a macro name, use the
macro's width value; otherwise, use width value of `No'.

The following two lists should produce identical output:

.Bl -tag -width Er -compact
.It Er EINVAL
invalid argument
.El
.Bl -tag -compact
.It Er EINVAL
invalid argument
.El

If the outermost -tag list definition did't have a -width
modifier, the .It elements of inner lists might not work
(producing a list where each successive element `walks' to
the right).

Example:

.Bl -tag -compact
.It outer
.It outer
.Bl -tag -compact
.It inner
.It inner
.El
.It outer
.It outer
.El

Ported from:	mdocNG
2001-03-01 12:13:04 +00:00
Ruslan Ermilov
dbd205544b Synch with NetBSD and OpenBSD: replace -iso9945-1 with -p1003.1-96. 2001-02-26 14:41:05 +00:00
Ruslan Ermilov
849447b80d Revert part of rev 1.2: make -ansiC equivalent to -ansiC-89. 2001-02-26 13:29:46 +00:00
Ruslan Ermilov
e9ac6c2070 Do not output extra space after .Ef call.
Ported from:	mdocNG
2001-02-26 09:24:14 +00:00
Ruslan Ermilov
0a3a912634 Make ``groff -man'' work again for both man(7) and mdoc(7) manpages.
The new Groff release will support this feature.

Requested by:	peter
2001-02-23 09:35:33 +00:00
Ruslan Ermilov
f3bef032de Do not output extra comma before "and" for references with two authors.
Example:
	.Rs
	.%A Author1
	.%A Author2
	.%B Book
	.Re

Produced:
	Author1, and Author2, Book.

Now produces:
	Author1 and Author2, Book.

Ported from:	mdocNG
2001-02-19 11:58:15 +00:00