Commit Graph

135 Commits

Author SHA1 Message Date
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
e8777213c8 Bring in latest (cosmetic) vendor fixes to this file. 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
Ruslan Ermilov
9b751f2080 1. Disable the recognition of the last dot character in the
default .Ar argument as an end-of-sentence character.

Example:
    .Ar
    foo
Produced:
    file ...  foo
Now produces:
    file ... foo

2.  Fixed an off-by-one bug in the .It macro for the -hang lists.

Example:
    .Bl -hang -width 8n -compact
    .It 1234
    OK
    .It 1234567
    OK
    .It 12345678
    BUG
    .El
Produced:
     1234      OK
     1234567   OK
     12345678 BUG
Now produces:
     1234      OK
     1234567   OK
     12345678  BUG

Ported from:	mdocNG
2001-02-14 11:03:06 +00:00
Ruslan Ermilov
c6be5d415a Fixed the .St strings so that no single-character component of
the name could be wrapped, e.g. ``ISO C'' is always printed on
the same line.

Ported from:	mdocNG
2001-02-08 12:00:18 +00:00
Ruslan Ermilov
5981123128 Fixed the .Xr macro so that it produces the right spacing
and no hyphenation is possible on a dash (`-') character.

Ported from:	mdocNG
2001-02-08 11:22:34 +00:00
Ruslan Ermilov
3a4ab3655c 1. Disable hyphenation on a dash (`-') character in macro arguments.
2.  Disable recognition of end-of-sentence characters in text-type
    macro arguments.
3.  Fix the missing space bug when an end-of-sentence character was
    followed by another punctuation character.
4.  Fix the bug where hyphenation was left disabled after .Re.

Obtained from:	mdocNG
2001-02-07 17:45:22 +00:00
Ruslan Ermilov
b51747eb5e Add a missing line-break request so that -ragged
-compact lists always start from the new line.

Example:

	foo
	.Bd -ragged -compact
	bar
	.Ed

Produced:

	foo bar

Now produces:

	foo
	bar
2001-02-07 11:26:57 +00:00
Ruslan Ermilov
1f56a9494c Make the exclamation mark (`!') a recognizable punctuation character.
Obtained from:	mdocNG
2001-02-01 16:17:06 +00:00
Ben Smithurst
460b1a2c10 Add entry for libcipher. 2001-01-24 14:26:06 +00:00
Ruslan Ermilov
7ed5e54567 -pthread -> -lc_r 2001-01-24 13:55:37 +00:00
Ruslan Ermilov
86a64baacd Add librpcsvc. 2001-01-17 18:19:06 +00:00
Ruslan Ermilov
5ba22da471 Reduce diffs (mostly whitespace) to mdocNG.
Obtained from:	mdocNG through NetBSD
2001-01-12 15:20:26 +00:00
Ruslan Ermilov
9fa792216e Make .Ft and .Vt macros accept punctuation characters as
arguments, make .Vt usable outside the SYNOPSIS section.

Obtained from:	mdocNG (not yet submitted for inclusion)
2001-01-12 15:14:28 +00:00
Ruslan Ermilov
ebaf16d373 Fixed the ``undesirable hyphenation'' problem, most noticeable with Xr.
Obtained from:	mdocNG
2001-01-11 09:18:31 +00:00
Ruslan Ermilov
bc5b7aaa50 Fixed the bug in D1 macro where it would eat its first (text) argument.
Obtained from:	mdocNG
2001-01-11 09:16:28 +00:00
Ruslan Ermilov
ec99c9e90b Fixed the ``no space after a .Fl'' problem.
Example:

.Fl flag .
The space is missing.

Obtained from:	mdocNG
2000-12-15 14:57:11 +00:00