History log of /freebsd-10.0-release/usr.bin/catman/
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
259065 07-Dec-2013 gjb

- Copy stable/10 (r259064) to releng/10.0 as part of the
10.0-RELEASE cycle.
- Update __FreeBSD_version [1]
- Set branch name to -RC1

[1] 10.0-CURRENT __FreeBSD_version value ended at '55', so
start releng/10.0 at '100' so the branch is started with
a value ending in zero.

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

256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

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


227155 06-Nov-2011 ed

Add missing static keywords to catman(1)


224657 05-Aug-2011 uqs

For POLA reasons, disable SGR sequences in catpages.

See r222647 for a similar change to bsd.doc.mk after SGR was generally
turned on in groff.

Suggested by: ru
Approved by: re (kib)


224639 03-Aug-2011 uqs

Unbreak catman(1) by removing calls to col(1).

col(1) was mangling the SGR escapes and is not strictly required.

See r222647, r222648, r222650, and r222653 for more details.

Reported by: delphij
Reviewed by: ru
Approved by: re (kib)
MFC after: 3 weeks


201512 04-Jan-2010 kib

Modernize scandir(3) and alphasort(3) interfaces according to the IEEE
Std 1003.1-2008. Both Linux and Solaris conforms to the new definitions,
so we better follow too (older glibc used old BSDish alphasort prototype
and corresponding type of the comparision function for scandir). While
there, change the definitions of the functions to ANSI C and fix several
style issues nearby.

Remove requirement for "sys/types.h" include for functions from manpage.

POSIX also requires that alphasort(3) sorts as if strcoll(3) was used,
but leave the strcmp(3) call in the function for now.

Adapt in-tree callers of scandir(3) to new declaration. The fact that
select_sections() from catman(1) could modify supplied struct dirent is
a bug.

PR: standards/142255
MFC after: 2 weeks


201386 02-Jan-2010 ed

Build usr.bin/ with WARNS=6 by default.

Also add some missing $FreeBSD$ to keep svn happy.


194548 20-Jun-2009 brooks

Restore the check against running as root that I accidentally removed in
r194493.


194493 19-Jun-2009 brooks

When checking if we can write to a file, use access() instead of a
manual permission check based on stat output. Also, get rid of the
executability check since it is not used.

MFC after: 2 weeks


153115 05-Dec-2005 ru

Prepare for MACHINE and hw.machine switching to "pc98" on FreeBSD/pc98.

Reviewed by: nyan


146466 21-May-2005 ru

Sync program's usage() with manpage's SYNOPSIS.


140368 17-Jan-2005 ru

Added the EXIT STATUS section where appropriate.


139185 22-Dec-2004 ru

Look into machine-specific manpage subdirectories too.

PR: bin/72243
MFC after: 3 weeks


139183 22-Dec-2004 ru

Fixed the only warning and mark as WARNS=6 clean.


139182 22-Dec-2004 ru

- Fixed handling of manpage subdirectories:

catman /usr/share/man/man8
cd /usr/share/man; catman man8

- Don't print false warnings about invalid cat pages which are
machine-specific cat page subdirectories (visible with -v).

- Fixed one memory leak.


116137 10-Jun-2003 ache

Add (unsigned char) cast to ctype macros


116136 10-Jun-2003 ache

Use setlocale & nl_langinfo to parse locale name


116135 10-Jun-2003 ache

Remove deprecated locale names


115207 21-May-2003 ru

Fixed catman(1) so that if the source files are compressed,
the preformatted files are compressed with the same program
as the source, and if the source files are uncompressed, the
preformatted files are also uncompressed.

PR: bin/52213
Submitted by: Krister Joas <krister@gazonk.net>, ru
Approved by: re (jhb)


107826 13-Dec-2002 ru

mdoc(7) police: sort xrefs in SEE ALSO.


106120 29-Oct-2002 obrien

Mostly support alternate manpage zipping.


105388 18-Oct-2002 ru

Revert last delta. SGR support in grotty(1) is disabled system-wide
in /usr/share/tmac/troffrc pending the issue resolution on -arch.


104874 11-Oct-2002 ru

Groff 1.18.1 comes in with ANSI color support, enabled by default.
In "nroff" mode, italic font renders as an underlined text, which
makes it indistinguishable from the bold text on color monitors
(cons25 terminal type), yet it requires the less(1)'s -R option.
(Refer to the new grotty(1) manpage for details.)

So turn off the color support for now (when generating catpages),
until we figure out what do we do with this new feature. I have
a patch for grotty(1) that tells it to use the "reverse video"
attribute to render the italic font. Once this is accepted, we
can turn color support back on (if there won't be any objections
from the community).


102941 04-Sep-2002 dwmalone

No need to declare optind as an external int.


97598 30-May-2002 ru

mdoc(7) police: tidy up.


96845 18-May-2002 markm

Add C rewrites of catman and makewhatis. These aren't quite as
the submitter supplied them, as I did some WARNS=n fixups (mostly
const-ification).

Submitted by: John Rochester <john@jrochester.org>