History log of /freebsd-11-stable/contrib/groff/tmac/
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
302408 08-Jul-2016 gjb

Copy head@r302406 to stable/11 as part of the 11.0-RELEASE cycle.
Prune svn:mergeinfo from the new branch, as nothing has been merged
here.

Additional commits post-branch will follow.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


/freebsd-11-stable/MAINTAINERS
/freebsd-11-stable/cddl
/freebsd-11-stable/cddl/contrib/opensolaris
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/print
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/zfs
/freebsd-11-stable/cddl/contrib/opensolaris/lib/libzfs
/freebsd-11-stable/contrib/amd
/freebsd-11-stable/contrib/apr
/freebsd-11-stable/contrib/apr-util
/freebsd-11-stable/contrib/atf
/freebsd-11-stable/contrib/binutils
/freebsd-11-stable/contrib/bmake
/freebsd-11-stable/contrib/byacc
/freebsd-11-stable/contrib/bzip2
/freebsd-11-stable/contrib/com_err
/freebsd-11-stable/contrib/compiler-rt
/freebsd-11-stable/contrib/dialog
/freebsd-11-stable/contrib/dma
/freebsd-11-stable/contrib/dtc
/freebsd-11-stable/contrib/ee
/freebsd-11-stable/contrib/elftoolchain
/freebsd-11-stable/contrib/elftoolchain/ar
/freebsd-11-stable/contrib/elftoolchain/brandelf
/freebsd-11-stable/contrib/elftoolchain/elfdump
/freebsd-11-stable/contrib/expat
/freebsd-11-stable/contrib/file
/freebsd-11-stable/contrib/gcc
/freebsd-11-stable/contrib/gcclibs/libgomp
/freebsd-11-stable/contrib/gdb
/freebsd-11-stable/contrib/gdtoa
/freebsd-11-stable/contrib/groff
/freebsd-11-stable/contrib/ipfilter
/freebsd-11-stable/contrib/ldns
/freebsd-11-stable/contrib/ldns-host
/freebsd-11-stable/contrib/less
/freebsd-11-stable/contrib/libarchive
/freebsd-11-stable/contrib/libarchive/cpio
/freebsd-11-stable/contrib/libarchive/libarchive
/freebsd-11-stable/contrib/libarchive/libarchive_fe
/freebsd-11-stable/contrib/libarchive/tar
/freebsd-11-stable/contrib/libc++
/freebsd-11-stable/contrib/libc-vis
/freebsd-11-stable/contrib/libcxxrt
/freebsd-11-stable/contrib/libexecinfo
/freebsd-11-stable/contrib/libpcap
/freebsd-11-stable/contrib/libstdc++
/freebsd-11-stable/contrib/libucl
/freebsd-11-stable/contrib/libxo
/freebsd-11-stable/contrib/llvm
/freebsd-11-stable/contrib/llvm/projects/libunwind
/freebsd-11-stable/contrib/llvm/tools/clang
/freebsd-11-stable/contrib/llvm/tools/lldb
/freebsd-11-stable/contrib/llvm/tools/llvm-dwarfdump
/freebsd-11-stable/contrib/llvm/tools/llvm-lto
/freebsd-11-stable/contrib/mdocml
/freebsd-11-stable/contrib/mtree
/freebsd-11-stable/contrib/ncurses
/freebsd-11-stable/contrib/netcat
/freebsd-11-stable/contrib/ntp
/freebsd-11-stable/contrib/nvi
/freebsd-11-stable/contrib/one-true-awk
/freebsd-11-stable/contrib/openbsm
/freebsd-11-stable/contrib/openpam
/freebsd-11-stable/contrib/openresolv
/freebsd-11-stable/contrib/pf
/freebsd-11-stable/contrib/sendmail
/freebsd-11-stable/contrib/serf
/freebsd-11-stable/contrib/sqlite3
/freebsd-11-stable/contrib/subversion
/freebsd-11-stable/contrib/tcpdump
/freebsd-11-stable/contrib/tcsh
/freebsd-11-stable/contrib/tnftp
/freebsd-11-stable/contrib/top
/freebsd-11-stable/contrib/top/install-sh
/freebsd-11-stable/contrib/tzcode/stdtime
/freebsd-11-stable/contrib/tzcode/zic
/freebsd-11-stable/contrib/tzdata
/freebsd-11-stable/contrib/unbound
/freebsd-11-stable/contrib/vis
/freebsd-11-stable/contrib/wpa
/freebsd-11-stable/contrib/xz
/freebsd-11-stable/crypto/heimdal
/freebsd-11-stable/crypto/openssh
/freebsd-11-stable/crypto/openssl
/freebsd-11-stable/gnu/lib
/freebsd-11-stable/gnu/usr.bin/binutils
/freebsd-11-stable/gnu/usr.bin/cc/cc_tools
/freebsd-11-stable/gnu/usr.bin/gdb
/freebsd-11-stable/lib/libc/locale/ascii.c
/freebsd-11-stable/sys/cddl/contrib/opensolaris
/freebsd-11-stable/sys/contrib/dev/acpica
/freebsd-11-stable/sys/contrib/ipfilter
/freebsd-11-stable/sys/contrib/libfdt
/freebsd-11-stable/sys/contrib/octeon-sdk
/freebsd-11-stable/sys/contrib/x86emu
/freebsd-11-stable/sys/contrib/xz-embedded
/freebsd-11-stable/usr.sbin/bhyve/atkbdc.h
/freebsd-11-stable/usr.sbin/bhyve/bhyvegc.c
/freebsd-11-stable/usr.sbin/bhyve/bhyvegc.h
/freebsd-11-stable/usr.sbin/bhyve/console.c
/freebsd-11-stable/usr.sbin/bhyve/console.h
/freebsd-11-stable/usr.sbin/bhyve/pci_fbuf.c
/freebsd-11-stable/usr.sbin/bhyve/pci_xhci.c
/freebsd-11-stable/usr.sbin/bhyve/pci_xhci.h
/freebsd-11-stable/usr.sbin/bhyve/ps2kbd.c
/freebsd-11-stable/usr.sbin/bhyve/ps2kbd.h
/freebsd-11-stable/usr.sbin/bhyve/ps2mouse.c
/freebsd-11-stable/usr.sbin/bhyve/ps2mouse.h
/freebsd-11-stable/usr.sbin/bhyve/rfb.c
/freebsd-11-stable/usr.sbin/bhyve/rfb.h
/freebsd-11-stable/usr.sbin/bhyve/sockstream.c
/freebsd-11-stable/usr.sbin/bhyve/sockstream.h
/freebsd-11-stable/usr.sbin/bhyve/usb_emul.c
/freebsd-11-stable/usr.sbin/bhyve/usb_emul.h
/freebsd-11-stable/usr.sbin/bhyve/usb_mouse.c
/freebsd-11-stable/usr.sbin/bhyve/vga.c
/freebsd-11-stable/usr.sbin/bhyve/vga.h
300041 17-May-2016 kib

Add SUSv4 reference macro to our groff mdoc. mdocml already supports it.

Sponsored by: The FreeBSD Foundation


289730 22-Oct-2015 bdrewery

Remove more disconnected libgpib items missed in r276214.

Sponsored by: EMC / Isilon Storage Division


279219 23-Feb-2015 ken

Significant upgrades to sa(4) and mt(1).

The primary focus of these changes is to modernize FreeBSD's
tape infrastructure so that we can take advantage of some of the
features of modern tape drives and allow support for LTFS.

Significant changes and new features include:

o sa(4) driver status and parameter information is now exported via an
XML structure. This will allow for changes and improvements later
on that will not break userland applications. The old MTIOCGET
status ioctl remains, so applications using the existing interface
will not break.

o 'mt status' now reports drive-reported tape position information
as well as the previously available calculated tape position
information. These numbers will be different at times, because
the drive-reported block numbers are relative to BOP (Beginning
of Partition), but the block numbers calculated previously via
sa(4) (and still provided) are relative to the last filemark.
Both numbers are now provided. 'mt status' now also shows the
drive INQUIRY information, serial number and any position flags
(BOP, EOT, etc.) provided with the tape position information.
'mt status -v' adds information on the maximum possible I/O size,
and the underlying values used to calculate it.

o The extra sa(4) /dev entries (/dev/saN.[0-3]) have been removed.

The extra devices were originally added as place holders for
density-specific device nodes. Some OSes (NetBSD, NetApp's OnTap
and Solaris) have had device nodes that, when you write to them,
will automatically select a given density for particular tape drives.

This is a convenient way of switching densities, but it was never
implemented in FreeBSD. Only the device nodes were there, and that
sometimes confused users.

For modern tape devices, the density is generally not selectable
(e.g. with LTO) or defaults to the highest availble density when
the tape is rewritten from BOT (e.g. TS11X0). So, for most users,
density selection won't be necessary. If they do need to select
the density, it is easy enough to use 'mt density' to change it.

o Protection information is now supported. This is either a
Reed-Solomon CRC or CRC32 that is included at the end of each block
read and written. On write, the tape drive verifies the CRC, and
on read, the tape drive provides a CRC for the userland application
to verify.

o New, extensible tape driver parameter get/set interface.

o Density reporting information. For drives that support it,
'mt getdensity' will show detailed information on what formats the
tape drive supports, and what formats the tape drive supports.

o Some mt(1) functionality moved into a new mt(3) library so that
external applications can reuse the code.

o The new mt(3) library includes helper routines to aid in parsing
the XML output of the sa(4) driver, and build a tree of driver
metadata.

o Support for the MTLOAD (load a tape in the drive) and MTWEOFI
(write filemark immediate) ioctls needed by IBM's LTFS
implementation.

o Improve device departure behavior for the sa(4) driver. The previous
implementation led to hangs when the device was open.

o This has been tested on the following types of drives:
IBM TS1150
IBM TS1140
IBM LTO-6
IBM LTO-5
HP LTO-2
Seagate DDS-4
Quantum DLT-4000
Exabyte 8505
Sony DDS-2

contrib/groff/tmac/doc-syms,
share/mk/bsd.libnames.mk,
lib/Makefile,
Add libmt.

lib/libmt/Makefile,
lib/libmt/mt.3,
lib/libmt/mtlib.c,
lib/libmt/mtlib.h,
New mt(3) library that contains functions moved from mt(1) and
new functions needed to interact with the updated sa(4) driver.

This includes XML parser helper functions that application writers
can use when writing code to query tape parameters.

rescue/rescue/Makefile:
Add -lmt to CRUNCH_LIBS.

src/share/man/man4/mtio.4
Clarify this man page a bit, and since it contains what is
essentially the mtio.h header file, add new ioctls and structure
definitions from mtio.h.

src/share/man/man4/sa.4
Update BUGS and maintainer section.

sys/cam/scsi/scsi_all.c,
sys/cam/scsi/scsi_all.h:
Add SCSI SECURITY PROTOCOL IN/OUT CDB definitions and CDB building
functions.

sys/cam/scsi/scsi_sa.c
sys/cam/scsi/scsi_sa.h
Many tape driver changes, largely outlined above.

Increase the sa(4) driver read/write timeout from 4 to 32
minutes. This is based on the recommended values for IBM LTO
5/6 drives. This may also avoid timeouts for other tape
hardware that can take a long time to do retries and error
recovery. Longer term, a better way to handle this is to ask
the drive for recommended timeout values using the REPORT
SUPPORTED OPCODES command. Modern IBM and Oracle tape drives
at least support that command, and it would allow for more
accurate timeout values.

Add XML status generation. This is done with a series of
macros to eliminate as much duplicate code as possible. The
new XML-based status values are reported through the new
MTIOCEXTGET ioctl.

Add XML driver parameter reporting, using the new MTIOCPARAMGET
ioctl.

Add a new driver parameter setting interface, using the new
MTIOCPARAMSET and MTIOCSETLIST ioctls.

Add a new MTIOCRBLIM ioctl to get block limits information.

Add CCB/CDB building routines scsi_locate_16, scsi_locate_10,
and scsi_read_position_10().

scsi_locate_10 implements the LOCATE command, as does the
existing scsi_set_position() command. It just supports
additional arguments and features. If/when we figure out a
good way to provide backward compatibility for older
applications using the old function API, we can just revamp
scsi_set_position(). The same goes for
scsi_read_position_10() and the existing scsi_read_position()
function.

Revamp sasetpos() to take the new mtlocate structure as an
argument. It now will use either scsi_locate_10() or
scsi_locate_16(), depending upon the arguments the user
supplies. As before, once we change position we don't have a
clear idea of what the current logical position of the tape
drive is.

For tape drives that support long form position data, we
read the current position and store that for later reporting
after changing the position. This should help applications
like Bacula speed tape access under FreeBSD once they are
modified to support the new ioctls.

Add a new quirk, SA_QUIRK_NO_LONG_POS, that is set for all
drives that report SCSI-2 or older, as well as drives that
report an Illegal Request type error for READ POSITION with
the long format. So we should automatically detect drives
that don't support the long form and stop asking for it after
an initial try.

Add a partition number to the sa(4) softc.

Improve device departure handling. The previous implementation
led to hangs when the device was open.

If an application had the sa(4) driver open, and attempted to
close it after it went away, the cam_periph_release() call in
saclose() would cause the periph to get destroyed because that
was the last reference to it. Because destroy_dev() was
called from the sa(4) driver's cleanup routine (sacleanup()),
and would block waiting for the close to happen, a deadlock
would result.

So instead of calling destroy_dev() from the cleanup routine,
call destroy_dev_sched_cb() from saoninvalidate() and wait for
the callback.

Acquire a reference for devfs in saregister(), and release it
in the new sadevgonecb() routine when all devfs devices for
the particular sa(4) driver instance are gone.

Add a new function, sasetupdev(), to centralize setting
per-instance devfs device parameters instead of repeating the
code in saregister().

Add an open count to the softc, so we know how many
peripheral driver references are a result of open
sessions.

Add the D_TRACKCLOSE flag to the cdevsw flags so
that we get a 1:1 mapping of open to close calls
instead of a N:1 mapping.

This should be a no-op for everything except the
control device, since we don't allow more than one
open on non-control devices.

However, since we do allow multiple opens on the
control device, the combination of the open count
and the D_TRACKCLOSE flag should result in an
accurate peripheral driver reference count, and an
accurate open count.

The accurate open count allows us to release all
peripheral driver references that are the result
of open contexts once we get the callback from devfs.

sys/sys/mtio.h:
Add a number of new mt(4) ioctls and the requisite data
structures. None of the existing interfaces been removed
or changed.

This includes definitions for the following new ioctls:

MTIOCRBLIM /* get block limits */
MTIOCEXTLOCATE /* seek to position */
MTIOCEXTGET /* get tape status */
MTIOCPARAMGET /* get tape params */
MTIOCPARAMSET /* set tape params */
MTIOCSETLIST /* set N params */

usr.bin/mt/Makefile:
mt(1) now depends on libmt, libsbuf and libbsdxml.

usr.bin/mt/mt.1:
Document new mt(1) features and subcommands.

usr.bin/mt/mt.c:
Implement support for mt(1) subcommands that need to
use getopt(3) for their arguments.

Implement a new 'mt status' command to replace the old
'mt status' command. The old status command has been
renamed 'ostatus'.

The new status function uses the MTIOCEXTGET ioctl, and
therefore parses the XML data to determine drive status.
The -x argument to 'mt status' allows the user to dump out
the raw XML reported by the kernel.

The new status display is mostly the same as the old status
display, except that it doesn't print the redundant density
mode information, and it does print the current partition
number and position flags.

Add a new command, 'mt locate', that will supersede the
old 'mt setspos' and 'mt sethpos' commands. 'mt locate'
implements all of the functionality of the MTIOCEXTLOCATE
ioctl, and allows the user to change the logical position
of the tape drive in a number of ways. (Partition,
block number, file number, set mark number, end of data.)
The immediate bit and the explicit address bits are
implemented, but not documented in the man page.

Add a new 'mt weofi' command to use the new MTWEOFI ioctl.
This allows the user to ask the drive to write a filemark
without waiting around for the operation to complete.

Add a new 'mt getdensity' command that gets the XML-based
tape drive density report from the sa(4) driver and displays
it. This uses the SCSI REPORT DENSITY SUPPORT command
to get comprehensive information from the tape drive about
what formats it is able to read and write.

Add a new 'mt protect' command that allows getting and setting
tape drive protection information. The protection information
is a CRC tacked on to the end of every read/write from and to
the tape drive.

Sponsored by: Spectra Logic
MFC after: 1 month


261319 31-Jan-2014 uqs

Pull up vendor changes up to 2014-01-29

- move local overrides into mdoc.local
- syncs us with git commit 819839b66c80e8dabe6cb24ea6319c26c9a2be14

Discussed with: ru
MFC after: 2 weeks


240833 22-Sep-2012 pjd

Add libsbuf.


238800 26-Jul-2012 ru

Pull up vendor changes to mdoc(7).


238799 26-Jul-2012 ru

Backed out r228904, and added libstdthreads support to mdoc(7) to where
it belongs.


238798 26-Jul-2012 ru

Backed out r236255, and added FreeBSD 9.1 support to mdoc(7) to where
it belongs.


236255 29-May-2012 obrien

Add the latest FreeBSD versions.


229651 05-Jan-2012 uqs

Pull up vendor changes to mdoc(7)

This switches us to using -isoC-2011 as the symbol name which is used by
groff and mdocml. It follows the change to 4 digit years as done with
IEEE Std 1003 post-1999.

MFC after: 2 weeks (groff changes only)


228904 26-Dec-2011 ed

Add libstdthreads.

This library implements the C11 threads interface on top of the pthreads
library. As discussed on the lists, the preferred way to implement
this, is as a separate library.

It is unlikely that these functions will be used a lot in the future. It
would have been easier if the C11 working group standardized (a subset
of) pthreads and clock_nanosleep(). Having it as a separate library
allows the embedded people to omit it from their system.

Discussed on: arch@, threads@


228883 25-Dec-2011 ed

Add the C11 standard to groff. This allows us to refer to C11 as -isoC-11.

MFC after: 2 months


228351 08-Dec-2011 ru

Pull up vendor changes to mdoc(7).


222852 08-Jun-2011 ru

Pull up all vendor changes to mdoc(7).

This also replaces the local fix in r219209 that made .Ac emit
ASCII angle quotes with an official fix. In the official fix,
ASCII quotes are output when using the .Aq, .Ao and .Ac calls,
but only when nested into the .An macro.

PR: gnu/154822


222648 03-Jun-2011 ru

Re-enable SGR support (ANSI color escapes) in grotty(1) by default.
Our man(1) and bsd.doc.mk still disable it for POLA reasons via the
-c option to grotty(1).

PR: gnu/82353


219209 02-Mar-2011 uqs

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


217595 19-Jan-2011 uqs

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


202366 15-Jan-2010 ru

Pull up vendor changes.


202359 15-Jan-2010 ru

Moved the doc-str-Lb-libulog string definition to where it belongs.


202358 15-Jan-2010 ru

Pull up vendor changes. The following local changes made obsolete:

- Addition of several FreeBSD versions.
- r192561 that attempted to fix UTF-8 issues.


200062 03-Dec-2009 ed

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>.


172433 04-Oct-2007 ru

MFV: recent mdoc(7) changes.

Approved by: re (kensmith)


172424 03-Oct-2007 ru

This commit was generated by cvs2svn to compensate for changes in r172423,
which included commits to RCS files with non-trunk default branches.


165540 25-Dec-2006 ru

MFV: Sync with vendor branch.


165539 25-Dec-2006 ru

This commit was generated by cvs2svn to compensate for changes in r165538,
which included commits to RCS files with non-trunk default branches.


154260 12-Jan-2006 ru

Pull up from the FSF branch.


154259 12-Jan-2006 ru

This commit was generated by cvs2svn to compensate for changes in r154258,
which included commits to RCS files with non-trunk default branches.


151503 20-Oct-2005 ru

Merge Groff 1.19.2 changes.


151502 20-Oct-2005 ru

Use stock (FSF) version of this file.


151498 20-Oct-2005 ru

This commit was generated by cvs2svn to compensate for changes in r151497,
which included commits to RCS files with non-trunk default branches.


140803 25-Jan-2005 ru

MFV: Latest mdoc(7) fixes.


140802 25-Jan-2005 ru

This commit was generated by cvs2svn to compensate for changes in r140801,
which included commits to RCS files with non-trunk default branches.


140230 14-Jan-2005 ru

This commit was generated by cvs2svn to compensate for changes in r140229,
which included commits to RCS files with non-trunk default branches.


138980 17-Dec-2004 jkoshy

Revert rev 1.66. This file needs to track its upstream source.

Requested by: ru


138976 17-Dec-2004 jkoshy

Support for ".Fx 6.0".

Reviewed by: ru


136137 05-Oct-2004 ru

This commit was generated by cvs2svn to compensate for changes in r136136,
which included commits to RCS files with non-trunk default branches.


132875 30-Jul-2004 ru

Sync with FSF.


132874 30-Jul-2004 ru

This commit was generated by cvs2svn to compensate for changes in r132873,
which included commits to RCS files with non-trunk default branches.


128308 16-Apr-2004 ru

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.


120300 20-Sep-2003 ru

Sync with FSF branch.


120298 20-Sep-2003 ru

This commit was generated by cvs2svn to compensate for changes in r120297,
which included commits to RCS files with non-trunk default branches.


119887 08-Sep-2003 ru

Unbreak Russian KOI8-R support.


117265 05-Jul-2003 ru

This commit was generated by cvs2svn to compensate for changes in r117264,
which included commits to RCS files with non-trunk default branches.


117203 03-Jul-2003 ru

MFV.


117202 03-Jul-2003 ru

This commit was generated by cvs2svn to compensate for changes in r117201,
which included commits to RCS files with non-trunk default branches.


117154 02-Jul-2003 ru

This commit was generated by cvs2svn to compensate for changes in r117153,
which included commits to RCS files with non-trunk default branches.


115985 07-Jun-2003 ru

This commit was generated by cvs2svn to compensate for changes in r115984,
which included commits to RCS files with non-trunk default branches.


115983 07-Jun-2003 ru

This commit was generated by cvs2svn to compensate for changes in r115982,
which included commits to RCS files with non-trunk default branches.


115156 19-May-2003 ru

This commit was generated by cvs2svn to compensate for changes in r115155,
which included commits to RCS files with non-trunk default branches.


114607 03-May-2003 ru

MFV:

- Do not emit multiple empty lines in the CRT mode.
- Fixed the Nd macro to use the right dash.


114410 01-May-2003 ru

Merge Groff 1.19 changes.


114409 01-May-2003 ru

Use stock (FSF) version of this file.


114403 01-May-2003 ru

This commit was generated by cvs2svn to compensate for changes in r114402,
which included commits to RCS files with non-trunk default branches.


110865 14-Feb-2003 ru

Use the stock (FSF) version of this file.


110864 14-Feb-2003 ru

Moved the libugidfw library definition out from contributed source
to where it actually belongs.

Submitted by: phantom


108874 07-Jan-2003 chris

Add an entry for libugidfw.

Sponsored by: DARPA, Network Associates Laboratories


105859 24-Oct-2002 ru

A version of SGR disabling stuff that is believed to be safe.

Submitted by: Werner LEMBERG <wl@gnu.org>


105813 23-Oct-2002 ru

A crude temporary hack to fix building of ms(7) formatted documents
while I am working on a real fix.


105626 21-Oct-2002 ru

A better version of disabling SGR support in grotty(1).


105387 18-Oct-2002 ru

Disable SGR support in grotty(1) pending the resolution on -arch.


104897 11-Oct-2002 ru

New Russian hyphenation patterns from the teTeX distribution.
Use the new .hpfa request to append them to English patterns.


104868 11-Oct-2002 ru

Merge Groff 1.18.1 changes.


104867 11-Oct-2002 ru

Use stock (FSF) version of this file.


104866 11-Oct-2002 ru

This commit was generated by cvs2svn to compensate for changes in r104865,
which included commits to RCS files with non-trunk default branches.


104863 11-Oct-2002 ru

This commit was generated by cvs2svn to compensate for changes in r104862,
which included commits to RCS files with non-trunk default branches.


104706 09-Oct-2002 ru

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.)


104177 30-Sep-2002 ru

FreeBSD 4.6, 4.6.2, 4.7 and 4.8 are now officially supported in -mdoc.


100304 18-Jul-2002 ru

Move the definition of FreeBSD 4.6 back to where it belongs.


100301 18-Jul-2002 murray

Revert last change.

Requested by: ru


100295 18-Jul-2002 murray

Teach mdoc about FreeBSD 4.6.1


98368 18-Jun-2002 dougb

Teach mdoc about the 4.6 release


89502 18-Jan-2002 ru

MFV: Initialize %I register.


89501 18-Jan-2002 ru

This commit was generated by cvs2svn to compensate for changes in r89500,
which included commits to RCS files with non-trunk default branches.


89398 15-Jan-2002 ru

This commit was generated by cvs2svn to compensate for changes in r89397,
which included commits to RCS files with non-trunk default branches.


89235 10-Jan-2002 ru

MFV: NetBSD style document titles (OS/arch).


89233 10-Jan-2002 ru

This commit was generated by cvs2svn to compensate for changes in r89232,
which included commits to RCS files with non-trunk default branches.


88457 24-Dec-2001 ru

MFV: FreeBSD 4.4, FreeBSD 4.5, NetBSD 1.6, POSIX.1-2001.


88346 21-Dec-2001 ru

This commit was generated by cvs2svn to compensate for changes in r88345,
which included commits to RCS files with non-trunk default branches.


88343 21-Dec-2001 ru

MFV: Handle long document titles better.


85553 26-Oct-2001 ru

This commit was generated by cvs2svn to compensate for changes in r85552,
which included commits to RCS files with non-trunk default branches.


81684 15-Aug-2001 ru

MFV: New macro: .Ex.


81683 15-Aug-2001 ru

This commit was generated by cvs2svn to compensate for changes in r81682,
which included commits to RCS files with non-trunk default branches.


81631 14-Aug-2001 ru

This commit was generated by cvs2svn to compensate for changes in r81630,
which included commits to RCS files with non-trunk default branches.


79848 18-Jul-2001 ru

This commit was generated by cvs2svn to compensate for changes in r79847,
which included commits to RCS files with non-trunk default branches.


79656 13-Jul-2001 ru

This commit was generated by cvs2svn to compensate for changes in r79655,
which included commits to RCS files with non-trunk default branches.


79549 10-Jul-2001 ru

Use stock (FSF) version of this file.


79544 10-Jul-2001 ru

This commit was generated by cvs2svn to compensate for changes in r79543,
which included commits to RCS files with non-trunk default branches.


75598 17-Apr-2001 ru

FreeBSD provides its own version of this OS-specific file.


75590 17-Apr-2001 ru

Merge Groff 1.17 changes.


75589 17-Apr-2001 ru

Use stock (FSF) version of this file.


75588 17-Apr-2001 ru

This commit was generated by cvs2svn to compensate for changes in r75587,
which included commits to RCS files with non-trunk default branches.


75587 17-Apr-2001 ru

Removed files not present in v1.17 import.


75585 17-Apr-2001 ru

This commit was generated by cvs2svn to compensate for changes in r75584,
which included commits to RCS files with non-trunk default branches.


75337 09-Apr-2001 ru

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


75225 05-Apr-2001 ru

Record -lposix1e death.


74172 12-Mar-2001 ru

.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'')


73274 01-Mar-2001 ru

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


73273 01-Mar-2001 ru

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


73091 26-Feb-2001 ru

Synch with NetBSD and OpenBSD: replace -iso9945-1 with -p1003.1-96.


73089 26-Feb-2001 ru

Revert part of rev 1.2: make -ansiC equivalent to -ansiC-89.


73081 26-Feb-2001 ru

Do not output extra space after .Ef call.

Ported from: mdocNG


72942 23-Feb-2001 ru

Make ``groff -man'' work again for both man(7) and mdoc(7) manpages.
The new Groff release will support this feature.

Requested by: peter


72690 19-Feb-2001 ru

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


72478 14-Feb-2001 ru

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


72159 08-Feb-2001 ru

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


72158 08-Feb-2001 ru

Fixed the .Xr macro so that it produces the right spacing
and no hyphenation is possible on a dash (`-') character.

Ported from: mdocNG


72129 07-Feb-2001 ru

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


72125 07-Feb-2001 ru

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


71894 01-Feb-2001 ru

Make the exclamation mark (`!') a recognizable punctuation character.

Obtained from: mdocNG


71590 24-Jan-2001 ben

Add entry for libcipher.


71587 24-Jan-2001 ru

-pthread -> -lc_r


71173 17-Jan-2001 ru

Add librpcsvc.


70971 12-Jan-2001 ru

Reduce diffs (mostly whitespace) to mdocNG.

Obtained from: mdocNG through NetBSD


70970 12-Jan-2001 ru

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)


70920 11-Jan-2001 ru

Fixed the ``undesirable hyphenation'' problem, most noticeable with Xr.

Obtained from: mdocNG


70919 11-Jan-2001 ru

Fixed the bug in D1 macro where it would eat its first (text) argument.

Obtained from: mdocNG


70051 15-Dec-2000 ru

Fixed the ``no space after a .Fl'' problem.

Example:

.Fl flag .
The space is missing.

Obtained from: mdocNG


70014 14-Dec-2000 ru

Prepare for FreeBSD 4.3, we already have the manpage that refers to it.


69680 06-Dec-2000 ru

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


69679 06-Dec-2000 ru

Install the stock (as supplied by groff(1) distribution) tmac.an
and tmac.andoc files. The man(1), catman(1) and bsd.man.mk have
been modified to call groff(1) with -mandoc argument.


69631 05-Dec-2000 ru

Resolve conflicts after v1.16.1 import.


69627 05-Dec-2000 ru

This commit was generated by cvs2svn to compensate for changes in r69626,
which included commits to RCS files with non-trunk default branches.


69087 23-Nov-2000 ben

Add the appropriate magic to make .Fx 4.1.1 work.


69024 22-Nov-2000 ru

Make An macro understand two special arguments, -nosplit
and -split. See the mdoc.samples(7) manpage for details.

Reviewed by: sheldonh


68950 20-Nov-2000 sheldonh

Add libcompat record for .Lb macro.


68879 18-Nov-2000 ru

While in the SYNOPSIS section, Nm macro always required an
argument to setup indentation for the rest of the synopsis
line and to automatically emit a line break for a non-first
synopsis line. It does not require it anymore.

The following now works as expected:

.Sh NAME
.Nm utility
.Sh SYNOPSIS
.Nm
.Cm start
.Nm
.Cm stop


68856 17-Nov-2000 ru

Fixed Nm macro so that it accepts punctuation characters as argument.
For example, neither of the following worked before:

.Nm , name,
.Nm . name.
.Nm : name:
.Dq Nm ``name''
.Op Nm . [name].


68832 16-Nov-2000 ru

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.


68828 16-Nov-2000 ru

Fix problem with extra space after an Xr, because aZ was being called twice.
Fix the no-space-after-a-period-in-macro problem.

Obtained from: NetBSD


68683 13-Nov-2000 ru

Fixed the last-minute bug I have made in previous revision (.ie -> .if).


68679 13-Nov-2000 ru

Really make the Fx macro parsed and callable.


66973 11-Oct-2000 ru

Cleaned up the .St macro.

Obtained from: NetBSD


66953 10-Oct-2000 obrien

Add a macro for ISO C99 ("isoC-99").


66749 06-Oct-2000 ru

Fix the `missing footer' problem. See the comment for details.

Obtained from: NetBSD


66238 22-Sep-2000 ru

Removed files not present in v1_15 import.


66171 21-Sep-2000 ru

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


65318 01-Sep-2000 ru

Teach .Fx and .Os about FreeBSD 4.2.


65201 29-Aug-2000 phantom

Add libusb record for .Lb macro


63949 28-Jul-2000 green

s/Diggest/Digest/


60138 07-May-2000 ache

Remove stale file - moved to new location


59990 04-May-2000 phantom

Update my copyright. Add license.


59953 04-May-2000 phantom

Set `Er' default value to 17n (length("EPROTONOSUPPORT") + 1)

Discussed long time ago at -committers


59844 01-May-2000 phantom

Add libipsec to the list of known libraries for .Lb macro


59724 28-Apr-2000 phantom

Fix typo

Noticed by: jasone


59675 27-Apr-2000 phantom

Suggest to use -pthreads instead of -lc_r

Noticed by: John-Mark Gurney <gurney_j@efn.org>


59547 23-Apr-2000 phantom

Add note about synchronization of .Lb macro code and its section
in mdoc.samples(7)


59500 22-Apr-2000 phantom

Teach .Lb macro about other libraries.


59459 21-Apr-2000 phantom

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


58022 13-Mar-2000 ru

Teach Fx and Os about FreeBSD 4.1 and FreeBSD 5.0.


56684 27-Jan-2000 joerg

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.


55844 12-Jan-2000 asmodai

Fix conflicts which arose during import, also add $FreeBSD$.


55840 12-Jan-2000 asmodai

This commit was generated by cvs2svn to compensate for changes in r55839,
which included commits to RCS files with non-trunk default branches.


55553 07-Jan-2000 phantom

Teach .Os macro about 3.4-RELEASE and 3.5-RELEASE.
Allow to specify major version number only (like ``.Os FreeBSD 3''.


55552 07-Jan-2000 phantom

Teach .Fx macro about 3.4-RELEASE and 3.5-RELEASE


55507 06-Jan-2000 ache

Oops, fix typo in prev commit


55506 06-Jan-2000 ache

Don't set \(hy to char173 for koi8-r


51575 22-Sep-1999 phantom

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


51564 22-Sep-1999 phantom

Allow "Alpha" as 2nd argument for .Dt macro. So, we can go
with "Alpha architecture" manpages.


51182 11-Sep-1999 ache

pick up locales from locale subdir

Submitted by: "Alexey Zelkin" <phantom@crimea.edu>


51180 11-Sep-1999 ache

koi8-r mandoc tweaks

Submitted by: "Alexey Zelkin" <phantom@crimea.edu>


51178 11-Sep-1999 ache

source hyphen.us-ru from locale subdir


51055 07-Sep-1999 ru

Add FreeBSD 3.3 to the Fx and Os macros.


49316 31-Jul-1999 ache

change prev. commit: emulate latin1 on ascii if latin1 chars are
in the text as groff authors suppose


49309 31-Jul-1999 ache

Pick hardcoded latin1 chars definitions only if -Tlatin1


49261 30-Jul-1999 mpp

Teach the .At macro about releases v2, v3, v4, and v5 of AT&T UNIX.


47191 14-May-1999 fenner

Add 3.2 to the list of legal FreeBSD versions for the .Os FreeBSD macro.


47190 14-May-1999 fenner

Add 3.2 to the list of legal FreeBSD versions for the .Fx macro.


47164 14-May-1999 jkoshy

Complete the list of FreeBSD version numbers accepted by the .Fx macro.

PR: docs/11705
Submitted by: Stephen J. Roznowski <sjr@home.net>


44116 18-Feb-1999 fenner

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).


44055 15-Feb-1999 fenner

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.


44054 15-Feb-1999 fenner

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.


43724 07-Feb-1999 yokota

- 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.)


42840 19-Jan-1999 jdp

Correct the previous Y2K "fix". It caused man page dates to come
out like "January 19, 99+1900".


42258 03-Jan-1999 wollman

Add a macro for ISO/IEC 9945-1: 1996, the official designation of the most
recent POSIX.1 standard.


41554 06-Dec-1998 obrien

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>


39116 12-Sep-1998 wollman

Add a .St -p1003.1g.


38917 07-Sep-1998 alex

Added .St -susv2 --> Version 2 of the Single UNIX Specification


37508 08-Jul-1998 dt

Add XPG4.2.


32056 28-Dec-1997 wosch

Add OS macros for FreeBSD 2.2.6, OpenBSD 2.2, OpenBSD 2.3.


32015 27-Dec-1997 jkh

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>


31905 20-Dec-1997 jraynard

Year 2000 fixes for groff
PR: 4930
Submitted by: Stephen J. Roznowski


29622 19-Sep-1997 wosch

.Ox macro needs to support "OpenBSD 2.1"

PR: docs/4561
Submitted by: Norihiro Kumagai <kuma@slab.tnr.sharp.co.jp>


25747 12-May-1997 peter

add .St -p1003.1b and -p1003.1b-93


24395 29-Mar-1997 wosch

back out rev 1.8 (last minute CDROM releases)


24150 23-Mar-1997 wosch

Add last minute CDROM releases 2.1.6.1, 2.1.7.1, 2.2.1 to macro .Fx


24089 21-Mar-1997 mpp

Add all of the pre-FreeBSD 2.0 release to the .Fx macro.


24050 19-Mar-1997 mpp

Update the usage message for the ".Bf" macro to match the actual
arguments that it takes.


23428 06-Mar-1997 mpp

Bring the .Nx (NetBSD) macro into line with NetBSD's version.

Add the .Ox (OpenBSD) macro from OpenBSD.


23427 06-Mar-1997 mpp

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.


22991 22-Feb-1997 peter

Revert a $FreeBSD$ to $Id$ (file otherwise modified)


21673 14-Jan-1997 jkh

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.


21230 02-Jan-1997 mpp

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.


21136 31-Dec-1996 wosch

a uniq name for every manpage section in header macro .Dt


20646 18-Dec-1996 wollman

Teach mdoc macros to recognize section 9 and the i386 architecture.


19406 04-Nov-1996 wosch

add FreeBSD 2.1.6 and 3.0 for .Fx macro


18544 28-Sep-1996 wosch

Import Nx macro - NetBSD

Obtained from: NetBSD


18134 08-Sep-1996 pst

Look for old "man" macros in tmac.groff_an


18131 08-Sep-1996 pst

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


18128 08-Sep-1996 pst

Add Russian language / koi8-r font support.

Original author: ache


18100 07-Sep-1996 pst

This commit was generated by cvs2svn to compensate for changes in r18099,
which included commits to RCS files with non-trunk default branches.