summaryrefslogtreecommitdiffstats
path: root/usr.bin/catman
Commit message (Collapse)AuthorAgeFilesLines
* Merge scandir(3) interface update to stable/8.kib2010-01-241-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MFC r201512: Modernize scandir(3) and alphasort(3) interfaces according to the IEEE Std 1003.1-2008. MFC r201602: Move scandir(3) and alphasort(3) into XSI namespace. MFC r201604: Use thunks to adapt alphasort-like interface to the comparision function required by qsort() and qsort_r(). MFC r202556 (by ache): Use strcoll() in opendir() and alphasort(). Remove some comments. MFC r202572 (by ache): Revert to using strcmp() for opendir(). MFC r202677 (by ache): Style. MFC r202679 (by ache): Style: rename internal function to opendir_compar(). MFC r202691 (by ache): For alphasort(3) add reference to strcoll(3). MFC r202693 (by ache): Style: reword comment.
* Restore the check against running as root that I accidentally removed inbrooks2009-06-201-0/+9
| | | | r194493.
* When checking if we can write to a file, use access() instead of abrooks2009-06-191-28/+2
| | | | | | | manual permission check based on stat output. Also, get rid of the executability check since it is not used. MFC after: 2 weeks
* Prepare for MACHINE and hw.machine switching to "pc98" on FreeBSD/pc98.ru2005-12-052-5/+24
| | | | Reviewed by: nyan
* Sync program's usage() with manpage's SYNOPSIS.ru2005-05-211-1/+2
|
* Added the EXIT STATUS section where appropriate.ru2005-01-171-1/+1
|
* Look into machine-specific manpage subdirectories too.ru2004-12-222-4/+18
| | | | | PR: bin/72243 MFC after: 3 weeks
* Fixed the only warning and mark as WARNS=6 clean.ru2004-12-222-1/+3
|
* - Fixed handling of manpage subdirectories:ru2004-12-221-20/+12
| | | | | | | | | | 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.
* Add (unsigned char) cast to ctype macrosache2003-06-101-2/+2
|
* Use setlocale & nl_langinfo to parse locale nameache2003-06-101-12/+12
|
* Remove deprecated locale namesache2003-06-101-2/+0
|
* Fixed catman(1) so that if the source files are compressed,ru2003-05-211-6/+8
| | | | | | | | | | 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)
* mdoc(7) police: sort xrefs in SEE ALSO.ru2002-12-131-1/+1
|
* Mostly support alternate manpage zipping.obrien2002-10-291-16/+35
|
* Revert last delta. SGR support in grotty(1) is disabled system-wideru2002-10-181-1/+1
| | | | in /usr/share/tmac/troffrc pending the issue resolution on -arch.
* Groff 1.18.1 comes in with ANSI color support, enabled by default.ru2002-10-111-1/+1
| | | | | | | | | | | | | | 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).
* No need to declare optind as an external int.dwmalone2002-09-041-1/+0
|
* mdoc(7) police: tidy up.ru2002-05-301-12/+12
|
* Add C rewrites of catman and makewhatis. These aren't quite asmarkm2002-05-183-0/+892
the submitter supplied them, as I did some WARNS=n fixups (mostly const-ification). Submitted by: John Rochester <john@jrochester.org>
OpenPOWER on IntegriCloud