Commit Graph

224 Commits

Author SHA1 Message Date
Ulrich Spörlein
49cd9b4388 Unbreak .Aq for non-ASCII output like -Tps or -Tutf8.
groff will try to produce fancy angle brackets like
	Foo ⟨foo@FreeBSD.org⟩
This is nice and well, but no email client will understand them. For
ease of copy&paste keep the one-true pair of brackets 0x3c/0x3e.

See:		RFC 822, RFC 2822
PR:		gnu/154822
Submitted by:	Dominic Fandrey <kamikaze@bsdforen.de>
MFC after:	2 weeks
2011-03-02 21:59:42 +00:00
Ulrich Spörlein
7ea7457aac Update groff manpage and symbols with what has been submitted upstream.
Also remove local overrides that are now in the contrib tree.

This is a direct commit to contrib/ as we will no longer import any
newer groff snapshots, due to licensing issues.

MFC after:	3 weeks
2011-01-19 20:16:38 +00:00
Ruslan Ermilov
18adde964d Pull up vendor changes. 2010-01-15 15:10:29 +00:00
Ruslan Ermilov
1b2ef7353d Moved the doc-str-Lb-libulog string definition to where it belongs. 2010-01-15 14:05:06 +00:00
Ruslan Ermilov
4d433b8ccd Pull up vendor changes. The following local changes made obsolete:
- Addition of several FreeBSD versions.
- r192561 that attempted to fix UTF-8 issues.
2010-01-15 13:59:50 +00:00
Ruslan Ermilov
0e96a56a89 Flatten out vendor tree. 2010-01-15 12:01:25 +00:00
Ed Schouten
2208eadf43 Add a new library: libulog.
One of the things I really want to do, is to get rid of the limitations
of our current utmp(5) mechanism:

- It only allows 8 byte TTY device names.
- The hostname only allows 16 bytes of storage.

I'm not a big fan of <utmpx.h>, but I think we should at least try to
add parts of it. Unfortunately we cannot implement <utmpx.h>, because we
miss various fields, such as ut_id, ut_pid, etc. The API provided by
libulog shares some similarities with <utmpx.h>, so it shouldn't be too
hard to port these applications eventually. In most simple cases, it
should just be a matter of removing the ulog_ prefix everywhere.

As a bonus, it also implements a function called ulog_login_pseudo(),
which allows unprivileged applications to write log entries, provided
they have a valid file descriptor to a pseudo-terminal master device.

libulog will allow a smoother transition to a new file format by adding
a library interface to deal with utmp/wtmp/lastlog files. I initially
thought about adding the functionality to libutil, but because I'm not
planning on keeping this library around forever, we'd better keep it
separated.

Next items on the todo list:

1. Port applications in the base system (and ports) to libulog, instead
   of letting them use <utmp.h>.
2. Remove <utmp.h>, implement <utmpx.h> and reimplement this library on
   top.
3. Port as many applications as possible back to <utmpx.h>.
2009-12-03 15:48:24 +00:00
Ruslan Ermilov
80cc270287 MFV: recent mdoc(7) changes.
Approved by:	re (kensmith)
2007-10-04 04:38:23 +00:00
Ruslan Ermilov
95261a8d0f Pull up current -mdoc version from vendor. This includes the
following changes:

: 2007-10-02  Ruslan Ermilov  <ru@FreeBSD.org>
:
:         * tmac/doc-common, tmac/groff_doc.man: Add FreeBSD 6.2, document
:         FreeBSD 5.5 and 7.0.
:
:         * tmac/doc-syms: Give better names for System V releases.

: 2007-05-30  Werner LEMBERG <wl@gnu.org>
:
:         * tmac/groff_mdoc.man: Convert `-' to `\-' where appropriate.
:         Recommend `tbl' instead of `-column' lists for more complicated
:         cases.
2007-10-03 06:04:40 +00:00
Ruslan Ermilov
2cd96fdf2c This commit was generated by cvs2svn to compensate for changes in r172423,
which included commits to RCS files with non-trunk default branches.
2007-10-03 06:04:40 +00:00
Ruslan Ermilov
3d4c5c90cb MFV: Sync with vendor branch. 2006-12-25 09:03:10 +00:00
Ruslan Ermilov
5bba0737f1 Pull up current -mdoc version from vendor.
- New Darwin, FreeBSD, and NetBSD versions.
- DragonFly support including the new .Dx macro.
- New .St strings: -isoC-amd1, -isoC-tcor1, -isoC-tcor2, and -ieee1275-94.
2006-12-25 08:59:09 +00:00
Ruslan Ermilov
16fa9cc022 This commit was generated by cvs2svn to compensate for changes in r165538,
which included commits to RCS files with non-trunk default branches.
2006-12-25 08:59:09 +00:00
Ruslan Ermilov
b281aca4ad Pull up from the FSF branch. 2006-01-12 15:31:41 +00:00
Ruslan Ermilov
b99439c39a Merge support for new BSD releases from upstream:
- Darwin 8.[0-3].0
- FreeBSD 4.11, 5.4, 6.0, 6.1
- NetBSD 3.0
2006-01-12 15:26:11 +00:00
Ruslan Ermilov
401070f083 This commit was generated by cvs2svn to compensate for changes in r154258,
which included commits to RCS files with non-trunk default branches.
2006-01-12 15:26:11 +00:00
Ruslan Ermilov
ed6ac7236a Merge Groff 1.19.2 changes. 2005-10-20 10:53:15 +00:00
Ruslan Ermilov
982fd8a3e4 Use stock (FSF) version of this file. 2005-10-20 10:52:34 +00:00
Ruslan Ermilov
22e7cbb874 Virgin import of FSF groff v1.19.2 2005-10-20 10:45:19 +00:00
Ruslan Ermilov
1c7b34d8d7 This commit was generated by cvs2svn to compensate for changes in r151497,
which included commits to RCS files with non-trunk default branches.
2005-10-20 10:45:19 +00:00
Ruslan Ermilov
2ed83d261b MFV: Latest mdoc(7) fixes. 2005-01-25 09:32:56 +00:00
Ruslan Ermilov
bc33253bf8 Bring in latest mdoc(7) fixes over here. 2005-01-25 09:29:48 +00:00
Ruslan Ermilov
3899af05ce This commit was generated by cvs2svn to compensate for changes in r140801,
which included commits to RCS files with non-trunk default branches.
2005-01-25 09:29:48 +00:00
Ruslan Ermilov
32fe84f7e8 Pull up a vendor fix for a problem exposed by tr/tr.1,v 1.30. 2005-01-14 09:50:45 +00:00
Ruslan Ermilov
7643035a1c This commit was generated by cvs2svn to compensate for changes in r140229,
which included commits to RCS files with non-trunk default branches.
2005-01-14 09:50:45 +00:00
Joseph Koshy
548c9b4376 Revert rev 1.66. This file needs to track its upstream source.
Requested by:	ru
2004-12-17 16:29:54 +00:00
Joseph Koshy
e791235b73 Support for ".Fx 6.0".
Reviewed by:	ru
2004-12-17 14:10:44 +00:00
Ruslan Ermilov
6f9868d148 Pull up the latest minor fixes. 2004-10-05 06:14:29 +00:00
Ruslan Ermilov
04e67b43ff This commit was generated by cvs2svn to compensate for changes in r136136,
which included commits to RCS files with non-trunk default branches.
2004-10-05 06:14:29 +00:00
Ruslan Ermilov
abcbe24601 Sync with FSF. 2004-07-30 08:14:00 +00:00
Ruslan Ermilov
e4bda9ead6 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
Ruslan Ermilov
001a0cba02 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
Ruslan Ermilov
5f383c5de8 Pull up latest mdoc(7) changes. 2004-04-16 07:12:38 +00:00
Ruslan Ermilov
b1725c05e9 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
Ruslan Ermilov
641e45f5da Sync with FSF branch. 2003-09-20 21:20:01 +00:00
Ruslan Ermilov
cd060126ad 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
Ruslan Ermilov
5249fed37f 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
Ruslan Ermilov
9d1be4e42e Unbreak Russian KOI8-R support. 2003-09-08 17:46:33 +00:00
Ruslan Ermilov
700a09db9e 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
Ruslan Ermilov
7ca1ec2c8c 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
Ruslan Ermilov
504586cecd MFV. 2003-07-03 18:01:20 +00:00
Ruslan Ermilov
2cbfdf07f8 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
Ruslan Ermilov
dedfec2aa4 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
Ruslan Ermilov
03f4c85fc8 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
Ruslan Ermilov
fedbfbbbc6 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
Ruslan Ermilov
cc60c35de4 2003-05-03 Ruslan Ermilov <ru@FreeBSD.org>
* tmac/groff_mdoc.man: Slight improvements.
2003-06-07 20:18:23 +00:00
Ruslan Ermilov
5942defa41 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
Ruslan Ermilov
48466d8c42 2003-05-22 Ruslan Ermilov <ru@FreeBSD.org>
* tmac/X.tmac: Fix definition of `em'.
2003-06-07 20:17:38 +00:00
Ruslan Ermilov
c29e78e78f 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
Ruslan Ermilov
3fc8056a59 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