aboutsummaryrefslogtreecommitdiff
path: root/gnu/usr.bin/man
Commit message (Collapse)AuthorAgeFilesLines
* Document how manpath(1) handles user's path directories that end in "/bin".Ruslan Ermilov2001-10-011-0/+9
| | | | | | | | PR: docs/30940 MFC after: 3 days Notes: svn path=/head/; revision=84310
* Fixed some of style bugs.Ruslan Ermilov2001-09-121-1/+1
| | | | Notes: svn path=/head/; revision=83367
* SECURITY.Ruslan Ermilov2001-09-062-33/+18
| | | | | | | | Avoid using setre[ug]id() calls. Removed the setgid stuff we don't need. Notes: svn path=/head/; revision=83146
* Skip empty calls in the NAME section after the .Nm macro call.Ruslan Ermilov2001-08-091-0/+1
| | | | | | | | | | This makes the following difference: -groff_mdoc(7), -(7) - groff_mdoc reference for groff's mdoc implementation +groff_mdoc(7) - reference for groff's mdoc implementation Notes: svn path=/head/; revision=81358
* An empty request (single dot on the line) is treated as anRuslan Ermilov2001-08-091-2/+2
| | | | | | | | | | | | | | | | | empty line by troff(1) and is ignored. Teach makewhatis(1) about this. This makes the following difference: -groff_man(7), . groff_man(7) - groff `man' macros to support generation of man pages +groff_man(7) - groff `man' macros to support generation of man pages -groff_mdoc(7), -(7) - . groff_mdoc reference for groff's mdoc implementation +groff_mdoc(7), -(7) - groff_mdoc reference for groff's mdoc implementation -troff(1), . . troff(1) - format documents +troff(1) - format documents Noticed by: yar Notes: svn path=/head/; revision=81356
* Teach makewhatis(1) about mdoc(7) .Xr macro.Ruslan Ermilov2001-08-091-3/+9
| | | | | | | | | | | | | % whatis finger.conf finger.conf(5) - finger 1 alias configuration file % whatis finger.conf finger.conf(5) - finger(1) alias configuration file Reviewed by: MAINTAINER timeout Notes: svn path=/head/; revision=81355
* mdoc(7) police:Ruslan Ermilov2001-08-071-3/+5
| | | | | | | | | | Avoid using parenthesis enclosure macros (.Pq and .Po/.Pc) with plain text. Not only this slows down the mdoc(7) processing significantly, but it also has an undesired (in this case) effect of disabling hyphenation within the entire enclosed block. Notes: svn path=/head/; revision=81251
* mdoc(7) police: removed punctuation after the last SEE ALSO xref.Ruslan Ermilov2001-07-101-1/+1
| | | | Notes: svn path=/head/; revision=79557
* mdoc(7) police: removed HISTORY info from the .Os call.Ruslan Ermilov2001-07-102-2/+2
| | | | Notes: svn path=/head/; revision=79528
* mdoc(7) police: remove extraneous .Pp before and/or after .Sh.Dima Dorfman2001-07-092-2/+0
| | | | Notes: svn path=/head/; revision=79454
* mdoc(7) police: sort SEE ALSO xrefs (sort -b -f +2 -3 +1 -2).Ruslan Ermilov2001-07-061-2/+2
| | | | Notes: svn path=/head/; revision=79366
* Rewrite locale handling using nl_langinfo(CODESET), so aliases not needed hereAndrey A. Chernov2001-06-251-44/+77
| | | | | | | now Notes: svn path=/head/; revision=78779
* In debug mode don't print error for C,POSIX,ASCII,US-ASCII localesAndrey A. Chernov2001-06-101-2/+7
| | | | Notes: svn path=/head/; revision=78030
* Fix for new locale namesAndrey A. Chernov2001-06-101-1/+1
| | | | Notes: svn path=/head/; revision=77991
* Fix for new locale namesAndrey A. Chernov2001-06-102-4/+7
| | | | Notes: svn path=/head/; revision=77990
* mdoc.samples(7) is superseded by mdoc(7).Ruslan Ermilov2001-04-171-2/+1
| | | | Notes: svn path=/head/; revision=75595
* beforeinstall -> SCRIPTS.Ruslan Ermilov2001-04-074-50/+22
| | | | Notes: svn path=/head/; revision=75286
* space typo in last commitWolfram Schneider2001-03-301-1/+1
| | | | Notes: svn path=/head/; revision=75019
* * A comment in apropos.sh contains the misspelled wordWolfram Schneider2001-03-301-3/+3
| | | | | | | | | | | | | | | | | | | "locailzed"; it should read "localized". * The "test" operator can be a bit dangerous (e.g., if a newbie writes a script named "test" and has it call "apropos", which calls "test, ...). * In its use as "whatis", apropos formats the first line of the output differently than the following lines. Specifically, it leaves out all but one of the spaces that precede the dash in the first line. Submitted by: Rich Morin <rdm@cfcl.com> PR: 25126 Notes: svn path=/head/; revision=75018
* MAN[1-9] -> MAN.Ruslan Ermilov2001-03-275-14/+13
| | | | Notes: svn path=/head/; revision=74861
* Don't use MANDEPEND and MANSRC.Ruslan Ermilov2001-03-261-6/+3
| | | | Notes: svn path=/head/; revision=74804
* setlocale(3) has been fixed to match POSIX standard:Ruslan Ermilov2001-03-023-18/+6
| | | | | | | LC_ALL takes precedence over other LC_* envariables. Notes: svn path=/head/; revision=73349
* Make ``groff -man'' work again for both man(7) and mdoc(7) manpages.Ruslan Ermilov2001-02-232-5/+5
| | | | | | | | | The new Groff release will support this feature. Requested by: peter Notes: svn path=/head/; revision=72942
* Implement one nice feature of original BSD man(1):Ruslan Ermilov2001-02-192-1/+44
| | | | | | | | | | | | : As some manual pages are intended only for specific architectures, : man searches any subdirectories, with the same name as the current : architecture, in every directory which it searches. Machine specific : areas are checked before general areas. The current machine type may : be overridden by setting the environment variable MACHINE to the name : of a specific architecture. Notes: svn path=/head/; revision=72696
* Fixed the order of environment variables list.Ruslan Ermilov2001-02-191-9/+6
| | | | Notes: svn path=/head/; revision=72695
* Fix broken -L for short locale names.Ruslan Ermilov2001-02-161-0/+2
| | | | Notes: svn path=/head/; revision=72534
* Do not ever try to look into nonexisting locale subdirectories.Ruslan Ermilov2001-02-151-6/+6
| | | | | | | | (is_directory() returns -1 if the file does not exist, 1 if it is a directory or a symlink to a directory, and 0 otherwise.) Notes: svn path=/head/; revision=72522
* If both full-locale-name and short-locale-name searchesRuslan Ermilov2001-02-142-32/+98
| | | | | | | | | | | fail, look the manpage in the en.<charset> subdirectory. See the manpage for details. Suggested by: ache Notes: svn path=/head/; revision=72488
* Backout 1.38->1.41 (functional) changes pending the proper solution.Ruslan Ermilov2001-02-141-17/+13
| | | | | | | | | /usr/share/man/cat? is only allowed to store -Tascii formatted data. Requested by: ache Notes: svn path=/head/; revision=72481
* Do not allow non-absolute pathnames in the manpath.Ruslan Ermilov2001-02-131-0/+8
| | | | Notes: svn path=/head/; revision=72449
* Make it possible for any given locale to use differentRuslan Ermilov2001-02-131-8/+17
| | | | | | | | | | | | | groff(1) devices for localized and non-localized pages. Currently, for *.ISO_8859-1 locales the device in both cases is "latin1", and for KOI8-R locale it is "koi8-r" for localized and "ascii" for non-localized pages. Discussed with: des Notes: svn path=/head/; revision=72444
* Finish draining any input prior to closing the pipe, to prevent unsightlyMatthew Dillon2001-02-051-0/+3
| | | | | | | 'Broken pipe' messages from gzcat. Notes: svn path=/head/; revision=72029
* mdoc(7) police: split punctuation characters + misc fixes.Ruslan Ermilov2001-02-012-2/+2
| | | | Notes: svn path=/head/; revision=71895
* Revert part of previous commit and initialize locale_nroff to " -Tascii"Dag-Erling Smørgrav2001-01-281-4/+6
| | | | | | | | | so man(1) works properly when no locale is set. Spotted by: bde Notes: svn path=/head/; revision=71744
* Make an effort to actually pass the correct device to groff.Dag-Erling Smørgrav2001-01-271-13/+6
| | | | Notes: svn path=/head/; revision=71715
* Prepare for mdoc(7)NG.Ruslan Ermilov2000-12-272-2/+4
| | | | Notes: svn path=/head/; revision=70395
* Teach man(1) how to look inside compressed manualsRuslan Ermilov2000-12-222-70/+56
| | | | | | | | | for preprocessor directives. Avoid use of cat(1). PR: bin/23585 Notes: svn path=/head/; revision=70281
* mdoc(7) police: removed history info from the .Os call.Ruslan Ermilov2000-12-142-2/+2
| | | | Notes: svn path=/head/; revision=70013
* mdoc(7) police: use canonical form of .Dd macro.Ruslan Ermilov2000-12-114-4/+4
| | | | Notes: svn path=/head/; revision=69857
* Install the stock (as supplied by groff(1) distribution) tmac.anRuslan Ermilov2000-12-062-5/+6
| | | | | | | | and tmac.andoc files. The man(1), catman(1) and bsd.man.mk have been modified to call groff(1) with -mandoc argument. Notes: svn path=/head/; revision=69679
* Fixed manpage building.Ruslan Ermilov2000-12-051-3/+3
| | | | Notes: svn path=/head/; revision=69605
* mdoc(7) police: use the new features of the Nm macro.Ruslan Ermilov2000-11-202-4/+4
| | | | Notes: svn path=/head/; revision=68938
* Spelling fixesAndrey A. Chernov2000-09-171-2/+2
| | | | | | | Submitted by: "Peter Avalos" <pavalos@theshell.com> Notes: svn path=/head/; revision=65975
* Perl's version number needs upating.Mark Murray2000-07-021-1/+1
| | | | Notes: svn path=/head/; revision=62418
* Fix manpath for new perlAndrey A. Chernov2000-07-021-1/+1
| | | | Notes: svn path=/head/; revision=62374
* /etc/weekly -> /etc/periodic/weekly/320.whatisAlexander Langer2000-06-201-1/+1
| | | | | | | | PR: 19272 Submitted by: Uwe Pierau <uwe.pierau@tu-clausthal.de> Notes: svn path=/head/; revision=61857
* mdoc cleanup: use .Nm macro correctly, don't non mdoc macroAlexey Zelkin2000-05-101-4/+5
| | | | Notes: svn path=/head/; revision=60319
* The MANSECT environment variable was misrepresented as MANSEC. Fixed.Sheldon Hearn2000-04-051-2/+2
| | | | | | | | PR: 17745 Submitted by: nordwick@askjeeves.com (Jason "Just Change It" Nordwick) Notes: svn path=/head/; revision=59043
* Fix a minor grammar problem.Mike Pritchard2000-03-241-1/+1
| | | | Notes: svn path=/head/; revision=58510
* Better handling groff failures. If popen(ROFF_COMMAND) returns zero bytesAlexey Zelkin1999-12-281-3/+5
| | | | | | | | | | then handle it as problem. This commit fixes problem with archiving empty files. PR: gnu/5767 Submitted by: Bill Fenner <fenner@parc.xerox.com> Notes: svn path=/head/; revision=55182