46 Commits

Author SHA1 Message Date
ru
19af19e8ca Use stock (FSF) version of this file. 2001-07-10 17:14:46 +00:00
ru
9fef68f9b1 Use stock (FSF) version of this file. 2001-04-17 12:28:00 +00:00
ru
c809c96955 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
ru
0c3a8e26a5 Record -lposix1e death. 2001-04-05 07:59:19 +00:00
ru
4923ae6c3f Make the exclamation mark (`!') a recognizable punctuation character.
Obtained from:	mdocNG
2001-02-01 16:17:06 +00:00
ben
2a8230a593 Add entry for libcipher. 2001-01-24 14:26:06 +00:00
ru
c67fcdf02b -pthread -> -lc_r 2001-01-24 13:55:37 +00:00
ru
295d5f80dc Add librpcsvc. 2001-01-17 18:19:06 +00:00
ru
8580ef5e63 Do not duplicate our efforts checking FreeBSD version. For a new version,
simply define the empty string before the .Fx macro definition, like this:

.ds Fx*4.3
2000-12-06 18:31:21 +00:00
ben
37d6545c06 Add the appropriate magic to make .Fx 4.1.1 work. 2000-11-23 11:17:33 +00:00
sheldonh
3483a9794b Add libcompat record for .Lb macro. 2000-11-20 15:07:14 +00:00
ru
b5506d5eef 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.
2000-11-16 17:04:14 +00:00
ru
1b51e0fa03 Really make the Fx macro parsed and callable. 2000-11-13 15:22:57 +00:00
ru
b9105dcb0a Fix the `missing footer' problem. See the comment for details.
Obtained from:	NetBSD
2000-10-06 13:22:24 +00:00
ru
9632ecc853 Fixed the `mysterious blank lines' problem. This was due to unconditional
use of the .ne requests.  groff(1) apparently inserts some virtual trap at
the end of each page, and this was causing the .ne request to output extra
lines.  Solution is to only use them in troff mode.

Also fixed a related bug in .It macros, where it would insert a page break
in the middle of a sentence.

Removed the end of page trap in nroff mode, as this causes .sp requests to
sometimes eat the space due to the nearby trap.

Removed blank line that appeared as the first line on each nroff-formatted
manual page.

Obtained from:	NetBSD
2000-09-21 17:02:15 +00:00
ru
fabc2a69f0 Teach .Fx and .Os about FreeBSD 4.2. 2000-09-01 10:30:40 +00:00
phantom
6624e24cd3 Add libusb record for .Lb macro 2000-08-29 15:15:48 +00:00
green
6c8b8b93ff s/Diggest/Digest/ 2000-07-28 01:54:17 +00:00
phantom
78d8c5f45b Set `Er' default value to 17n (length("EPROTONOSUPPORT") + 1)
Discussed long time ago at -committers
2000-05-04 12:56:53 +00:00
phantom
748235692e Add libipsec to the list of known libraries for .Lb macro 2000-05-01 14:32:43 +00:00
phantom
7d9c02b334 Fix typo
Noticed by:	jasone
2000-04-28 09:30:57 +00:00
phantom
131ff305b1 Suggest to use -pthreads instead of -lc_r
Noticed by:	John-Mark Gurney <gurney_j@efn.org>
2000-04-27 08:54:09 +00:00
phantom
d78753fd1e Add note about synchronization of .Lb macro code and its section
in mdoc.samples(7)
2000-04-23 14:53:57 +00:00
phantom
2655c98305 Teach .Lb macro about other libraries. 2000-04-22 15:48:32 +00:00
phantom
b36bce1735 Introduce new mdoc macro -- Lb. It will be used to define library ownership
for function. For example: for stat(2) syscall (owned by libc)  we will add
following code:

.Sh LIBRARY
.Lb libc

and it will be rendered to:

LIBRARY
     Standard C Library (libc, -lc)

Suggested by:		mpp
Idea obtained from:	NetBSD
2000-04-21 09:35:43 +00:00
ru
663ca6d81a Teach Fx and Os about FreeBSD 4.1 and FreeBSD 5.0. 2000-03-13 19:44:24 +00:00
joerg
6ed1daf7e1 Fix a problem that caused the generation of an (almost) empty first
page of -mdoc manual pages in troff mode.  The problem has been
introduced in rev 1.12; apparently ending a line inside a macro
definition with \c doesn't behave as Bill expected, and troff was
fooled to believe previous output was already pending thus a new page
needed to be emitted.  Using a troff comment .\" instead of \c seems
to solve this, alas the brain^Wnice sed(1) magic needs to be taught to
_not_ strip those comments now.

I think -stable is not affected by this.
2000-01-27 17:56:41 +00:00
asmodai
eabb065743 Fix conflicts which arose during import, also add $FreeBSD$. 2000-01-12 10:26:36 +00:00
phantom
3f4abe0d33 Teach .Os macro about 3.4-RELEASE and 3.5-RELEASE.
Allow to specify major version number only (like ``.Os FreeBSD 3''.
2000-01-07 12:54:00 +00:00
phantom
5b41a05a1a Allow "Alpha" as 2nd argument for .Dt macro. So, we can go
with "Alpha architecture" manpages.
1999-09-22 21:38:40 +00:00
ru
bdb110f5a2 Add FreeBSD 3.3 to the Fx and Os macros. 1999-09-07 10:33:34 +00:00
fenner
81b5e45922 Add 3.2 to the list of legal FreeBSD versions for the .Os FreeBSD macro. 1999-05-14 17:35:17 +00:00
jkoshy
842cae7fdc Complete the list of FreeBSD version numbers accepted by the .Fx macro.
PR:		docs/11705
Submitted by:	Stephen J. Roznowski <sjr@home.net>
1999-05-14 07:03:18 +00:00
fenner
bb619ee8f3 Make .Os behave as defined (unrecognized arguments displayed as given).
Add a warning for unknown BSD versions.
Make ".Os FreeBSD" work without a warning (fix bug in previous commit).
1999-02-18 16:54:24 +00:00
fenner
55f6780324 Always define oS to be "FreeBSD $2", no matter whether or not we
know the version number given as the argument to ".Os FreeBSD xxx".
Output nroff warning when we see a version number that we don't
know about.
1999-02-15 07:24:09 +00:00
yokota
c8dd6d9317 - Add FreeBSD 2.2.7, 2.2.8, 3.1, and 4.0 to the Fx and Os macros.
- Add 2.2.1 and 2.2.2 missing in a couple of places too.

(This is an interim measure and a better way of redefining these macros
is in discussion.)
1999-02-07 05:36:30 +00:00
jdp
8289bef3b5 Correct the previous Y2K "fix". It caused man page dates to come
out like "January 19, 99+1900".
1999-01-19 17:55:23 +00:00
jraynard
0c9ee5593c Year 2000 fixes for groff
PR:		4930
Submitted by:	Stephen J. Roznowski
1997-12-20 22:29:55 +00:00
mpp
04fab1123f The .Os macro was missing 2.1.6, 2.1.7 and 3.0.
The .Fx macro was missing 2.1.7.

Add 2.2.5 to both .Os and .Fx.  If I'm wrong about the version
number, no big deal - it can be removed later, but I wanted
to be able to get this into 2.2 so that when I'm using a
2.2 system ome months down the line, man pages intended for (what I
think will be the next 2.2 release) will be formatted properly.

Also fix a typo in a comment.
1997-03-06 06:58:12 +00:00
peter
d7cae96619 Revert a $FreeBSD$ to $Id$ (file otherwise modified) 1997-02-22 14:45:36 +00:00
jkh
808a36ef65 Make the long-awaited change from $Id$ to $FreeBSD$
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore.  This update would have been
insane otherwise.
1997-01-14 07:20:47 +00:00
mpp
546556ad4f Change the description for section 4 to read:
Kernel Interfaces Manual

This was needed because of a few man pages like keyboard(4)
which caused the header to become unreadable with the longer
description.
1997-01-02 20:02:32 +00:00
wosch
1a42acef36 a uniq name for every manpage section in header macro .Dt 1996-12-31 17:47:28 +00:00
wollman
f7bf6b94e5 Teach mdoc macros to recognize section 9 and the i386 architecture. 1996-12-18 17:43:24 +00:00
pst
38b892a53a Improve .Os macro support (parts obtained from 4.4Lite2 and NetBSD)
Add the .Fx macro for specifying FreeBSD releases.

Add a bunch of missing standards to the .St macro.

Add Version 1 AT&T UNIX to .At macro

Updated the ".St -ansiC" macro to report "ISO 9899: 1990 (``ISO C'')"
You can also specify -iso9899, or -isoC.  Use -ansiC-89 if you still need
the X3.159-1989 string reported.

Original author: mpp
1996-09-08 00:33:24 +00:00
pst
7fdf49473c Virgin import of FSF groff v1.10 1996-09-07 16:18:32 +00:00