Commit Graph

52 Commits

Author SHA1 Message Date
Joerg Wunsch
6297a0e23f 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
Jeroen Ruigrok van der Werven
49cdd23549 Fix conflicts which arose during import, also add $FreeBSD$. 2000-01-12 10:26:36 +00:00
Jeroen Ruigrok van der Werven
444af277af This commit was generated by cvs2svn to compensate for changes in r55839,
which included commits to RCS files with non-trunk default branches.
2000-01-12 09:51:43 +00:00
Jeroen Ruigrok van der Werven
e159d2bd86 Virgin import of FSF groff v1.15 2000-01-12 09:51:43 +00:00
Alexey Zelkin
2fbeee0c6c 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
Alexey Zelkin
0434a6f844 Teach .Fx macro about 3.4-RELEASE and 3.5-RELEASE 2000-01-07 12:51:34 +00:00
Andrey A. Chernov
2adca0d334 Oops, fix typo in prev commit 2000-01-06 12:48:48 +00:00
Andrey A. Chernov
2b1956a854 Don't set \(hy to char173 for koi8-r 2000-01-06 12:47:21 +00:00
Alexey Zelkin
72f89f7ee3 Allow .Rv macro to be used in 7th section also. This patch
will fix  "Usage: .Rv ..." error at mdoc.samples.7

Ok'ed by:	mpp
1999-09-22 22:36:16 +00:00
Alexey Zelkin
630bf98376 Allow "Alpha" as 2nd argument for .Dt macro. So, we can go
with "Alpha architecture" manpages.
1999-09-22 21:38:40 +00:00
Andrey A. Chernov
f273033f60 pick up locales from locale subdir
Submitted by:  "Alexey Zelkin" <phantom@crimea.edu>
1999-09-11 20:01:41 +00:00
Andrey A. Chernov
36fa8b8137 koi8-r mandoc tweaks
Submitted by: "Alexey Zelkin" <phantom@crimea.edu>
1999-09-11 19:49:21 +00:00
Andrey A. Chernov
2054e06633 source hyphen.us-ru from locale subdir 1999-09-11 19:32:14 +00:00
Ruslan Ermilov
93baf5748b Add FreeBSD 3.3 to the Fx and Os macros. 1999-09-07 10:33:34 +00:00
Andrey A. Chernov
6b2ae6bb1a change prev. commit: emulate latin1 on ascii if latin1 chars are
in the text as groff authors suppose
1999-07-31 14:16:04 +00:00
Andrey A. Chernov
224f446249 Pick hardcoded latin1 chars definitions only if -Tlatin1 1999-07-31 12:00:58 +00:00
Mike Pritchard
f7141d9373 Teach the .At macro about releases v2, v3, v4, and v5 of AT&T UNIX. 1999-07-30 12:33:26 +00:00
Bill Fenner
632a869805 Add 3.2 to the list of legal FreeBSD versions for the .Os FreeBSD macro. 1999-05-14 17:35:17 +00:00
Bill Fenner
cd72c5ff16 Add 3.2 to the list of legal FreeBSD versions for the .Fx macro. 1999-05-14 17:32:21 +00:00
Joseph Koshy
4fb051df9b 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
Bill Fenner
1a8f70b737 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
Bill Fenner
5922dcdc1a Change .Fx macro to always display "FreeBSD" and its argument, whether
the argument is a known FreeBSD version or not.
Output an nroff error if .Fx is used with an unknown FreeBSD version.
Change .Nx and .Ox macros to always display the argument, whether
 the argument is a known version or not.  This eliminates much of the
 need to syncrhonize .Nx and .Ox with their source OS's -- only the
 exceptions (like ".Nx 1.2a" -> "NetBSD 1.2A") where the argument is
 not directly copied to the output need to be added.
1999-02-15 07:27:18 +00:00
Bill Fenner
c0d0c7a4f8 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
Kazutaka YOKOTA
9c3f00c738 - 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
John Polstra
e9dd419a1b 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
Garrett Wollman
2af878cba4 Add a macro for ISO/IEC 9945-1: 1996, the official designation of the most
recent POSIX.1 standard.
1999-01-03 00:58:50 +00:00
David E. O'Brien
e6f93514c8 The \*(td string macro, which is supposed to display today's date in the form
"October 14, 1998".  A Y2k fix makes it now display "October 14, 98+1900".
Appears you can perform arithmetic in a string definition.

PR:		gnu/8321
Reviewed by:	Andrew J. Korty <ajk@purdue.edu>
1998-12-06 05:54:26 +00:00
Garrett Wollman
f0da769a73 Add a .St -p1003.1g. 1998-09-12 21:31:21 +00:00
Alexander Langer
805749c0db Added .St -susv2 --> Version 2 of the Single UNIX Specification 1998-09-07 18:52:57 +00:00
Dmitrij Tejblum
c713c527bb Add XPG4.2. 1998-07-08 15:05:05 +00:00
Wolfram Schneider
721d426d82 Add OS macros for FreeBSD 2.2.6, OpenBSD 2.2, OpenBSD 2.3. 1997-12-28 18:20:05 +00:00
Jordan K. Hubbard
57ff4097d0 diff to /usr/share/tmac/mdoc/mdoc-syms to accept
.Fx 2.2.1
   .Fx 2.2.2
Submitted by: Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
1997-12-27 05:55:15 +00:00
James Raynard
002706979c Year 2000 fixes for groff
PR:		4930
Submitted by:	Stephen J. Roznowski
1997-12-20 22:29:55 +00:00
Wolfram Schneider
99352561f6 .Ox macro needs to support "OpenBSD 2.1"
PR: docs/4561
Submitted by: Norihiro Kumagai <kuma@slab.tnr.sharp.co.jp>
1997-09-19 21:37:05 +00:00
Peter Wemm
26a5f2e99c add .St -p1003.1b and -p1003.1b-93 1997-05-12 12:28:57 +00:00
Wolfram Schneider
f2b89289b3 back out rev 1.8 (last minute CDROM releases) 1997-03-29 20:34:40 +00:00
Wolfram Schneider
3e9c55a063 Add last minute CDROM releases 2.1.6.1, 2.1.7.1, 2.2.1 to macro .Fx 1997-03-23 22:31:19 +00:00
Mike Pritchard
29f7017cff Add all of the pre-FreeBSD 2.0 release to the .Fx macro. 1997-03-21 19:09:21 +00:00
Mike Pritchard
b8b9ef00b4 Update the usage message for the ".Bf" macro to match the actual
arguments that it takes.
1997-03-19 20:05:19 +00:00
Mike Pritchard
ee04d1548c Bring the .Nx (NetBSD) macro into line with NetBSD's version.
Add the .Ox (OpenBSD) macro from OpenBSD.
1997-03-06 07:06:32 +00:00
Mike Pritchard
911d1ec30d 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 Wemm
d83a2228e2 Revert a $FreeBSD$ to $Id$ (file otherwise modified) 1997-02-22 14:45:36 +00:00
Jordan K. Hubbard
1130b656e5 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
Mike Pritchard
31eb65d2d7 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
Wolfram Schneider
9233c0133e a uniq name for every manpage section in header macro .Dt 1996-12-31 17:47:28 +00:00
Garrett Wollman
fc1a6296a7 Teach mdoc macros to recognize section 9 and the i386 architecture. 1996-12-18 17:43:24 +00:00
Wolfram Schneider
2a5a34dfa4 add FreeBSD 2.1.6 and 3.0 for .Fx macro 1996-11-04 21:02:51 +00:00
Wolfram Schneider
621c6c073d Import Nx macro - NetBSD
Obtained from: NetBSD
1996-09-28 18:36:51 +00:00
Paul Traina
6128a70501 Look for old "man" macros in tmac.groff_an 1996-09-08 00:37:30 +00:00
Paul Traina
7c8f1b02e3 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