Commit Graph

316 Commits

Author SHA1 Message Date
ru
f8fcd9a46e Pull up latest mdoc(7) changes:
: 2004-05-10  Werner LEMBERG  <wl@gnu.org>
:
: 	* 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.

: 2004-07-08  Thomas Klausner  <wiz@netbsd.org>
:
: 	* tmac/doc-syms (doc-str-St--p1003.1-2004): New string.
: 	* tmac/groff_mdoc.man: Updated.
2004-07-30 08:12:09 +00:00
ru
5e586577ac This commit was generated by cvs2svn to compensate for changes in r132873,
which included commits to RCS files with non-trunk default branches.
2004-07-30 08:12:09 +00:00
ru
08f0f87907 From ChangeLog:
: 2004-06-10  Colin Percival  <colin.percival@wadham.ox.ac.uk>
: 	* doc/meintro.me, doc/meref.me: Don't use \*[td], \n[dy], \*[mo],
: 	and \n[mo] to avoid dependency on current date.
2004-06-14 09:09:06 +00:00
ru
354d3a90e8 This commit was generated by cvs2svn to compensate for changes in r130457,
which included commits to RCS files with non-trunk default branches.
2004-06-14 09:09:06 +00:00
ru
868162119c Pull up latest mdoc(7) changes. 2004-04-16 07:12:38 +00:00
ru
eed474ae20 Pull up latest mdoc(7) changes:
: 2004-04-14  Thomas Klausner <wiz@netbsd.org>
:
: 	* 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.
2004-04-16 07:08:33 +00:00
ache
5ef41f0642 Back out getopt* adding here per maintainer request 2004-02-25 03:10:14 +00:00
ache
d40150894d Remove unneeded files 2004-02-17 03:43:12 +00:00
ru
ba6fe9a715 MFV: The -d option. 2003-11-02 07:27:40 +00:00
ru
99d648cb98 Sort encodings. 2003-11-02 07:25:24 +00:00
ru
530b3bffe1 From ChangeLog:
: 2003-07-06  Ruslan Ermilov  <ru@FreeBSD.org>
:
: 	* src/roff/nroff/nroff.sh: Add option -d for completeness.
: 	* src/roff/nroff/nroff.man: Updated.
2003-11-02 06:56:52 +00:00
ru
98481926f5 Sync with FSF branch. 2003-09-20 21:20:01 +00:00
ru
6f34f71446 Keep up with recent mdoc(7) changes, that include:
- If no .Os call is made, don't print the OS info at all.
- Allow for multiple .Lb calls in the LIBRARY section.
- Improved documentation on punctuation characters.
2003-09-20 21:13:43 +00:00
ru
7fdb08c0c2 This commit was generated by cvs2svn to compensate for changes in r120297,
which included commits to RCS files with non-trunk default branches.
2003-09-20 21:13:43 +00:00
ru
f3ab4f7167 Unbreak Russian KOI8-R support. 2003-09-08 17:46:33 +00:00
ru
b34dca6d6a Fix for troff mode. The
.Pp
.Bd -literal
...

fragment resulted in two vertical spaces.  From ChangeLog:

2003-07-04  Ruslan Ermilov  <ru@FreeBSD.org>

        * tmac/doc.tmac (Bd): Change to doc-Li-font later.
2003-07-05 22:58:04 +00:00
ru
59addbcbd2 This commit was generated by cvs2svn to compensate for changes in r117264,
which included commits to RCS files with non-trunk default branches.
2003-07-05 22:58:04 +00:00
ru
25a22d8ccd MFV. 2003-07-03 18:01:20 +00:00
ru
43c78e1b19 Update mdoc(7) to the current version. From ChangeLog:
2003-07-01  Ruslan Ermilov  <ru@FreeBSD.org>

	* tmac/doc.tmac (doc-do-func, doc-do-func-args): Don't print a comma
	after `/*' and `*/'.
	Fix spacing.
	(Fn, Fo): Reduce indentation in synopsis.

	* tmac/doc-common (doc-check-depth): New macro.
	(doc-end-macro, Sh, Ss): Use it.
	(Cd): Fix behaviour in synopsis.
	(In): Make it parsed and callable.
	If not in the synopsis, represent the C header file enclosed in
	angle brackets.
	(doc-str-Rv-std-suffix, doc-str-Rv-stds-suffix, doc-str-Rv-std0):
	Use minus, not hyphen.
2003-07-03 16:46:08 +00:00
ru
28a885642a This commit was generated by cvs2svn to compensate for changes in r117201,
which included commits to RCS files with non-trunk default branches.
2003-07-03 16:46:08 +00:00
ru
2ed281f7cd From ChangeLog:
: 2003-06-31  Ruslan Ermilov  <ru@FreeBSD.org>
:         * tmac/tty-char.tmac: Provide `lb', `rb', `lk', `rk', `lt', `rt'.

This fixes warnings in some legacy roff documents.

Prodded by:	bde
2003-07-02 09:43:53 +00:00
ru
f7b1b6fb60 This commit was generated by cvs2svn to compensate for changes in r117153,
which included commits to RCS files with non-trunk default branches.
2003-07-02 09:43:53 +00:00
ru
24be6cd03d FreeBSD now has the locale(1) utility. 2003-06-22 10:41:47 +00:00
ru
532ed44af5 2003-05-03 Ruslan Ermilov <ru@FreeBSD.org>
* tmac/groff_mdoc.man: Slight improvements.
2003-06-07 20:18:23 +00:00
ru
959908aada This commit was generated by cvs2svn to compensate for changes in r115984,
which included commits to RCS files with non-trunk default branches.
2003-06-07 20:18:23 +00:00
ru
dc33afe186 2003-05-22 Ruslan Ermilov <ru@FreeBSD.org>
* tmac/X.tmac: Fix definition of `em'.
2003-06-07 20:17:38 +00:00
ru
40efdaed65 This commit was generated by cvs2svn to compensate for changes in r115982,
which included commits to RCS files with non-trunk default branches.
2003-06-07 20:17:38 +00:00
ru
aed0747624 Apply a vendor fix for one problem with tagged lists. From ChangeLog:
2003-05-18  Werner LEMBERG  <wl@gnu.org>
        * tmac/doc.tmac (doc-tag-list): Force horizontal mode after tag
        to make items work which consist only of a tag.

2003-05-17  Werner LEMBERG  <wl@gnu.org>
        * tmac/doc.tmac (doc-tag-list): Don't use \Z to assure that spaces
        aren't stretched in a tag (this can fail with unformatted boxes).
        Instead, insert a break and go back one line.

Approved by:	re (blanket)
2003-05-19 14:37:41 +00:00
ru
9926b9490a This commit was generated by cvs2svn to compensate for changes in r115155,
which included commits to RCS files with non-trunk default branches.
2003-05-19 14:37:41 +00:00
ru
a00bc29ca3 MFV:
- Do not emit multiple empty lines in the CRT mode.
- Fixed the Nd macro to use the right dash.
2003-05-03 22:02:44 +00:00
ru
13b8a43155 A couple of vendor updates:
2003-05-01  Werner LEMBERG  <wl@gnu.org>

        * tmac/doc-ditroff, tmac/doc-nroff (doc-header-space,
        doc-footer-space): Initialize to 0.5i.
        (doc-setup-page-layout): Don't set doc-header-space and
        doc-footer-space.

2003-05-01  Ruslan Ermilov  <ru@FreeBSD.org>

        * tmac/doc-common (Nd): Use \[em].

2003-05-03  Werner LEMBERG  <wl@gnu.org>

        * tmac/doc-common (doc-header): Emit vertical space of 1v instead of
        `doc-header-space' after header line if register `cR' is set.
2003-05-03 21:54:30 +00:00
ru
a5a3bf6eba Update upgrade instructions. 2003-05-01 21:28:49 +00:00
ru
7d401b64e8 Merge local changes (8 bit clean ctype support) onto mainline. 2003-05-01 13:18:55 +00:00
ru
9129bef4d7 Merge Groff 1.19 changes. 2003-05-01 13:18:29 +00:00
ru
18c8dfcfa1 Use stock (FSF) version of this file. 2003-05-01 13:17:56 +00:00
ru
d6ee1ab232 Removed yacc(1) output files. 2003-05-01 13:17:18 +00:00
ru
1a17e98fb2 Removed files not present in v1.19 import. 2003-05-01 13:15:22 +00:00
ru
bfbdfe00b3 This commit was generated by cvs2svn to compensate for changes in r114405,
which included commits to RCS files with non-trunk default branches.
2003-05-01 13:15:22 +00:00
ru
afe720d868 Removed files not present in v1.19 import. 2003-05-01 13:15:22 +00:00
ru
c96557721b Virgin import of FSF groff v1.19 2003-05-01 13:09:50 +00:00
ru
06b40fe5ee This commit was generated by cvs2svn to compensate for changes in r114402,
which included commits to RCS files with non-trunk default branches.
2003-05-01 13:09:50 +00:00
ru
b37b310d78 Use the stock (FSF) version of this file. 2003-02-14 13:44:04 +00:00
ru
2d2c56d061 Moved the libugidfw library definition out from contributed source
to where it actually belongs.

Submitted by:	phantom
2003-02-14 13:36:16 +00:00
chris
e8ec0d1961 Add an entry for libugidfw.
Sponsored by:	DARPA, Network Associates Laboratories
2003-01-07 11:30:53 +00:00
ru
20d1f108df A version of SGR disabling stuff that is believed to be safe.
Submitted by:	Werner LEMBERG <wl@gnu.org>
2002-10-24 11:05:58 +00:00
ru
c54b118a3b A crude temporary hack to fix building of ms(7) formatted documents
while I am working on a real fix.
2002-10-23 19:04:00 +00:00
ru
e96a99374a A better version of disabling SGR support in grotty(1). 2002-10-21 12:29:57 +00:00
ru
93c58bd0e4 Disable SGR support in grotty(1) pending the resolution on -arch. 2002-10-18 09:10:44 +00:00
ru
f78d5fa81a From ChangeLog:
: 2002-10-14  Werner LEMBERG  <wl@gnu.org>
:
: 	* src/roff/troff/node.cc (troff_output_file::put_char_width,
: 	troff_output_file::put_char, troff_output_file::fill_color,
: 	troff_output_file::glyph_color): Handle case where color pointer
: 	is null.

This paniced troff(1) attempting to format the vinum(4) manpage.
2002-10-15 10:42:07 +00:00
ru
a3f9c69e03 This commit was generated by cvs2svn to compensate for changes in r105151,
which included commits to RCS files with non-trunk default branches.
2002-10-15 10:42:07 +00:00
ru
d9865aa4d5 Merge FSF changes onto mainline (-r option). 2002-10-14 09:15:17 +00:00
ru
5c810fd127 From ChangeLog:
: 2002-10-13  Ruslan Ermilov  <ru@FreeBSD.org>
:
: 	Add the new -r option to grotty.  It is similar to the -i option
: 	except it tells grotty(1) to use the "reverse video" attribute to
: 	render italic fonts.
2002-10-14 09:12:27 +00:00
ru
ac54214516 This commit was generated by cvs2svn to compensate for changes in r105081,
which included commits to RCS files with non-trunk default branches.
2002-10-14 09:12:27 +00:00
ru
ab2c19acae Hyphenation of characters with codes above 128 was broken.
This my patch has just been committed to the Groff source
repository.
2002-10-11 16:04:04 +00:00
ru
fd1d65f065 This commit was generated by cvs2svn to compensate for changes in r104912,
which included commits to RCS files with non-trunk default branches.
2002-10-11 16:04:04 +00:00
ru
a3b707ff31 Update for Groff 1.18.1. 2002-10-11 12:24:44 +00:00
ru
d98d164666 New Russian hyphenation patterns from the teTeX distribution.
Use the new .hpfa request to append them to English patterns.
2002-10-11 12:20:02 +00:00
ru
d1eabd6c66 illegal.cc was renamed to invalid.cc. Bring in the fix
that makes almost all characters above 128 "valid".
2002-10-11 09:03:04 +00:00
ru
59449dde67 Merge Groff 1.18.1 changes. 2002-10-11 08:54:44 +00:00
ru
f7260665c7 Use stock (FSF) version of this file. 2002-10-11 08:54:15 +00:00
ru
d95ca6e95c Removed files not present in v1.18.1 import. 2002-10-11 08:53:48 +00:00
ru
5ca5ab5276 This commit was generated by cvs2svn to compensate for changes in r104865,
which included commits to RCS files with non-trunk default branches.
2002-10-11 08:53:48 +00:00
ru
bdb22199e6 Removed files not present in v1.18.1 import. 2002-10-11 08:53:48 +00:00
ru
127e61728b Virgin import of FSF groff v1.18.1 2002-10-11 08:52:17 +00:00
ru
49694bd3ad This commit was generated by cvs2svn to compensate for changes in r104862,
which included commits to RCS files with non-trunk default branches.
2002-10-11 08:52:17 +00:00
ru
344968933a MFV:
- Suppress additional whitespace after the subsection header (.Ss).
  (This affects a tiny number of our manpages.)

- Allow for a layout customization of the OS name in the document
  title (.Dt).  (Needed for Russian and French manpages.)
2002-10-09 08:48:56 +00:00
ru
737a9b93ec From the ChangeLog:
: 2002-10-07  Werner LEMBERG  <wl@gnu.org>
:
: 	* tmac/doc-common (Ss): Add final `.ns' (similar to `.Sh') to
: 	suppress additional whitespace after the header.
:
: 2002-10-07  Ruslan Ermilov  <ru@FreeBSD.org>
:
: 	* tmac/doc-common (doc-volume-operating-system-ateol): New flag.
: 	(Dt): Use it to improve language localization (especially Russian
: 	and French).
2002-10-09 08:39:59 +00:00
ru
384c80db65 FreeBSD 4.6, 4.6.2, 4.7 and 4.8 are now officially supported in -mdoc. 2002-09-30 07:51:46 +00:00
ru
b3f8783440 Support for FreeBSD releases 4.6, 4.6.2, 4.7 and 4.8. From ChangeLog:
: 2002-09-27  Ruslan Ermilov  <ru@FreeBSD.org>
:
: 	* tmac/doc-common (ds-operating-system-FreeBSD-4.*): New version
: 	strings.
2002-09-30 07:46:54 +00:00
ru
0b1947f6a9 Move the definition of FreeBSD 4.6 back to where it belongs. 2002-07-18 09:32:15 +00:00
murray
c5d8a12b64 Revert last change.
Requested by:	ru
2002-07-18 09:15:54 +00:00
murray
c882dcd9d1 Teach mdoc about FreeBSD 4.6.1 2002-07-18 08:04:12 +00:00
dougb
8a805cf640 Teach mdoc about the 4.6 release 2002-06-18 00:41:47 +00:00
ru
c56d52b021 MFV: Initialize %I register. 2002-01-18 15:28:32 +00:00
ru
a0c837c78a 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
ru
4fd66a15df 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
ru
6f8d82dc25 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
ru
6a13ede71c 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
ru
3575b89a4b MFV: NetBSD style document titles (OS/arch). 2002-01-10 18:07:50 +00:00
ru
0fba44aff5 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
ru
3f968609cd 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
ru
b75cf26629 MFV: FreeBSD 4.4, FreeBSD 4.5, NetBSD 1.6, POSIX.1-2001. 2001-12-24 08:59:48 +00:00
ru
d55c212d04 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
ru
a739c6094e Bring in latest (cosmetic) vendor fixes to this file. 2001-12-21 11:46:21 +00:00
ru
2fae03920f 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
ru
325b19002e MFV: Handle long document titles better. 2001-12-21 11:35:20 +00:00
ru
2f4b6c0836 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
ru
5b73377aa7 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
ru
efc392e6af 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
ru
c9e9afbdb5 MFV: New macro: .Ex. 2001-08-15 08:20:31 +00:00
ru
d5b7bd9ab4 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
ru
f28be6e486 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
ru
9348de26a2 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
ru
de1314108f 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
ru
213982a500 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
ru
075b954dd2 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
ru
7d7d18d267 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
ru
2a11c806e5 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
ru
0e9f92d651 Merge Groff 1.17.2 changes. 2001-07-10 17:15:31 +00:00
ru
19af19e8ca Use stock (FSF) version of this file. 2001-07-10 17:14:46 +00:00