aboutsummaryrefslogtreecommitdiff
path: root/gnu/usr.bin/man
Commit message (Collapse)AuthorAgeFilesLines
* Correctly state the size of the help message.Eric Melville2002-06-241-1/+1
| | | | | | | Sponsored by: Apple Notes: svn path=/head/; revision=98777
* Remove /usr/share/perl/manAndrey A. Chernov2002-05-241-1/+0
| | | | Notes: svn path=/head/; revision=97202
* remove perl scripts from the build.Mark Murray2002-05-181-1/+3
| | | | Notes: svn path=/head/; revision=96878
* Removed now unused INTERNALSTATICLIB.Ruslan Ermilov2002-05-131-1/+2
| | | | | | | | INTERNALLIB now implies NOPIC and NOPROFILE. Removed gratuitous NOMAN. Notes: svn path=/head/; revision=96513
* Move ID tag.Eric Melville2002-04-271-2/+5
| | | | Notes: svn path=/head/; revision=95582
* When a compound section name is specified, search for pages that actuallyEric Melville2002-04-241-44/+95
| | | | | | | | | | match the requested section. Previously, the section would be trimmed and every entry matching the page name would be displayed. Sponsored by: Apple Notes: svn path=/head/; revision=95396
* Fix compilation in the non-FreeBSD case.Eric Melville2002-04-131-0/+2
| | | | | | | Sponsored by: Apple Notes: svn path=/head/; revision=94567
* Update perl's man path for 5.6.1Brian Somers2002-03-231-1/+1
| | | | Notes: svn path=/head/; revision=92993
* Revision 1.45 of gnu/usr.bin/man/man.c obviated the need to linkRuslan Ermilov2002-03-221-0/+2
| | | | | | | | | | | | manpages in machine-specific subdirectories (like man4/i386/) to "../". This change didn't propagate here resulting in a loss of whatis(1) database entries. Fix this. Reviewed by: tobez MFC after: 1 week Notes: svn path=/head/; revision=92943
* RETURN VALUES is for sections 2, 3 and 9, but here in section 1 man page,Philippe Charnier2002-03-121-3/+5
| | | | | | | | | DIAGNOSTICS should be used instead. Reviewed by: wosch Notes: svn path=/head/; revision=92182
* apropos(1) manual page doesn't tell that keyword can be regular expressionWolfram Schneider2002-03-091-0/+4
| | | | | | | | PR: gnu/31685 Submitted by: Andrey Simonenko <simon@simon.org.ua> Notes: svn path=/head/; revision=91952
* Reincarnate SETUID code in man(1), not compiled in by default.Ruslan Ermilov2002-01-221-7/+43
| | | | | | | | | The code will be fixed for all known security vulnerabilities, and a make.conf(5) knob (ENABLE_SUID_MAN) will be provided for those who still want it installed setuid for whatever reasons. Notes: svn path=/head/; revision=89653
* GC spurious -m in the usage().Ruslan Ermilov2002-01-181-4/+4
| | | | Notes: svn path=/head/; revision=89504
* Do not install man(1) setuid ``man''.Ruslan Ermilov2002-01-152-66/+3
| | | | | | | | | | | | | | | | | | | | | | | | | The catpaging and setuidness features of man(1) combined make it vulnerable to a number of security attacks. Specifically, it was possible to overwrite system catpages with arbitrarily contents by either setting up a symlink to a directory holding system catpages, or by writing custom -mdoc or -man groff(1) macro packages and setting up GROFF_TMAC_PATH in environment to point to them. (See PR below for details). This means man(1) can no longer create system catpages on a regular user's behalf. (It is still able to if the user has write permissions to the directory holding catpages, e.g., user's own manpages, or if the running user is ``root''.) To create and install catpages during ``make world'', please set MANBUILDCAT=YES in /etc/make.conf. To rebuild catpages on a weekly basis, please set weekly_catman_enable="YES" in /etc/periodic.conf. PR: bin/32791 Notes: svn path=/head/; revision=89390
* Now that we have the original BSD man(1)'s ${MACHINE} featureRuslan Ermilov2002-01-114-118/+40
| | | | | | | | | | | back (as of man.c,v 1.45), change the meaning of the -m option from poorly documented and badly coded "alternate system" to a much more useful "different architecture for the same system". PR: docs/31261 Notes: svn path=/head/; revision=89256
* 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