summaryrefslogtreecommitdiffstats
path: root/usr.bin/man/man.1
Commit message (Collapse)AuthorAgeFilesLines
* MFC r315053-r315054, r315056bapt2017-03-261-8/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | r315053: Add share/man if it exists to the MANPATH localbase is not consistent with base for manpages: /usr/local/man vs /usr/share/man adding share/man allows to fix that inconsistency and would permit to remove tons of patches/modifications in the ports tree r315054: Extend functionality MANPATH in man(1) to followup with apropos(1) from mandoc. If MANPATH begins with a colon, it is appended to the default list; if it ends with a colon, it is prepended to the default list; or if it contains two adjacent colons, the standard search path is inserted between the colons. If none of these conditions are met, it overrides the standard search path. Import the MANPATH description from mandoc into the man(1) man page Reported by: kargl MFC after: 1 week r315056: Remove the warning when MANPATH is set in the environment The MANPATH environment variable behaviour is documented properly in the manpage and it now has extended to new feature that allows to make MANPATH env variable extending the default search path rather than overwriting it making the warning painful Reported by: kargl MFC after: 1 week
* mdoc: sort SEE ALSO.joel2014-12-261-7/+7
|
* Fix improper .Fx macro usage.trasz2014-11-191-9/+18
| | | | | | | Differential Revision: https://reviews.freebsd.org/D1158 Reviewed by: wblock@ MFC after: 1 month Sponsored by: The FreeBSD Foundation
* Replace the macros used in the previous man(1) commit with literal text,allanjude2014-09-261-9/+9
| | | | | | | | because the macros seem to be specific to groff, and do not render in mandoc Approved by: bcr (mentor) Sponsored by: ScaleEngine Inc.
* Update man(1) to list the different sections of the manualallanjude2014-09-251-1/+31
| | | | | | | | | Add each of the intro sections to the 'Also See' list PR: 193460 Differential Revision: D834 Approved by: bcr (mentor) Sponsored by: ScaleEngine Inc.
* Remove default support for 1aout section manpages. There haven't beenbrooks2013-01-161-1/+1
| | | | any since at least July 2002.
* Clean up markup.ru2011-08-041-31/+30
| | | | Approved by: re (kib)
* When MANCOLOR environment variable is set, enable ANSI color escapesru2011-06-031-3/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | in grotty(1). This makes it possible to view colorized manpages in color. When MANPAGER environment variable is set, use it instead of PAGER. Why another environment variable, one might ask? With color output enabled, both a terminal and a pager should support the ANSI color escapes. On a supporting terminal, less(1) with option -R would be such a pager, while "more -s" (the current default pager for man(1)) will show garbage. It means a different default pager is needed when color output is enabled, but many people have PAGER set customary, and it's unlikely to support ANSI color escapes, so introducing yet another variable (MANPAGER) seemed like a good option to me: - if MANPAGER is set, use that unconditionally; - if you disable color support (it is by default), and don't set MANPAGER, you get an old behavior: -P pager, $PAGER, "more -s", in that order; - if you enable color support (by setting MANCOLOR), and don't set MANPAGER, we ignore PAGER which is unlikely to support ANSI color escapes, and you get: -P pager, "less -Rs", in that order; - you might have good reasons for different man(1) and general purpose pagers; - later versions of GNU man(1) support MANPAGER.
* Added support for the MANWIDTH environment variable:ru2011-06-031-1/+7
| | | | | | | If set to a numeric value, used as the width manpages should be displayed. Otherwise, if set to a special value ``tty'', and output is to a terminal, the pages may be displayed over the whole width of the screen.
* Add the ability to display specific manual pages if passed on thegordon2010-10-071-0/+7
| | | | | | | | | commandline. This mirrors the old (undocumented) GNU man functionality. Also document this feature in the implementation notes section of the manpage. Submitted by: arundel Approved by: wes (mentor implicit)
* Add reference to intro(1) in SEE ALSO section.gordon2010-10-051-0/+1
| | | | | PR: docs/151216 Approved by: wes (mentor, implicit)
* Implementaiton of man, manpath, whatis, and apropos written entirely in sh.gordon2010-10-011-0/+299
| | | | | | | | | | | | | | | | | | Features of this new version in favor of the old one: BSD licensed -- old one is GPL. Imports configuration from /etc/man.conf and LOCALBASE/etc/man.d/*.conf allowing ports to extend the base functionality. The pluggable configuration can supplement the manual search path (retiring use.perl), add locales, and override language specific toolsets (attempt to merge the japanese/man port into the base system as much as possible). Much effort has been made to make this version mirror the functionality of the existing implementation. For 99% of users, it should be a drop in replacement. PR: gnu/143271, gnu/4419 Reviewed by: dougb (previous versions) Approved by: wes (mentor)
* kill the undeadpeter1997-07-131-188/+0
|
* Finish importing Lite2's src/usr.bin, except for ex, diff, grep, mail,bde1997-07-061-0/+188
| | | | | pascal and vmstat.sparc. All changed files on the vendor branch should already have been imported.
* recording cvs-1.6 file deathpeter1995-12-301-188/+0
|
* BSD 4.4 Lite Usr.bin Sourcesrgrimes1994-05-271-0/+188
OpenPOWER on IntegriCloud