summaryrefslogtreecommitdiff
path: root/usr.bin/man
AgeCommit message (Collapse)Author
2011-07-07For man -a and -w, drop companion pages that are also in the path,Ingo Schwarze
such that we don't display them twice. To be able to do that path check, we have to brace-expand the search path up front - of course, for -a and -w only, so it doesn't slow us down in the standard case. As a free bonus, let -wa print all the filenames without looking at the timestamps. In the past, -w implied -a, so that's not introducing any incompatibility. Issue originally reported and fix OK'd by guenther@, and deraadt@ agrees with the semantics.
2011-07-05When both a formatted and an unformatted version of the same manual pageIngo Schwarze
are available in the same tree, only show the newer of the two. So far, this only handles the case without -a; i need to look at the case with -a next.
2011-05-25add one more signal block for handling '_intmp' (the list of files scheduledTheo de Raadt
to be deleted at termination), and then make the signal handler race safe. ok nicm
2010-10-28rewrite EXAMPLES, so that it makes a bit more sense;Jason McIntyre
2010-10-22whining verboten; ok deraadtMike Belopuhov
2010-09-19- remove BUGS: it was out of dateJason McIntyre
- better Nd; from schwarze ok schwarze
2010-09-03add an EXIT STATUS section for /usr/bin;Jason McIntyre
2010-07-22document exit returns; from daniel dickmanJason McIntyre
2010-03-19Fix three bugs in man(1):Ingo Schwarze
* when combining -m $path with -s $section, -s was ignored * when combining -m with -s, ONLY $path was searched, like with -M * when combining -M (or $MANPATH) with -s, -M was ignored Instead, when combining -m, -M or $MANPATH with -s, let's simply look into $path/{cat,man}$section{/$arch,} first (for -m) or only (for -M or $MANPATH). Do not change the behaviour in other cases. This required a rewrite of the whole path handling, as a bonus also making the code easier to understand. Hopefully, it helps to fix www.openbsd.org/cgi-bin/man.cgi properly. Jason convinced me that changing the manual is not really needed. Regression tests will follow when the tree unlocks completely. "you are on the right track" beck@ tested and agreed by jmc@
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
2009-06-04xfs -> nnpfs;Jason McIntyre
2009-02-08bump the posix reference in STANDARDS to IEEE Std 1003.1-2008, with a fewJason McIntyre
updates to follow;
2008-12-30make -S case insensitive; this avoids any confusion over the factJason McIntyre
that MD page headers use mixed case; tidy up the man page regarding this; diff from Ingo Schwarze ok sobrado millert krw
2008-12-06remove old version of man.conf, since the current one is in /etc;Jason McIntyre
pointed out by hyjial ok deraadt
2008-04-27Add section n for Tcl/Tk related pages.Deanna Phillips
ok jmc@, no objections espie@
2008-01-11add a note about shell built-ins;Jason McIntyre
2008-01-04-k and -f accept multiple arguments; from Pierre RiteauJason McIntyre
2008-01-03document "exit" for logging out of systems, instead of "logout":Jason McIntyre
it works for both csh and ksh, and is covered by posix; from Pierre Riteau
2007-09-07we have man section 3f by default now;Jason McIntyre
2007-08-06the ellipsis is not an optional argument; while here, sync the usageIgor Sobrado
and synopsis of commands lots of good ideas by jmc@ ok jmc@
2007-06-04make jmc happy by somewhat smarter synopsis scanning code for -h; okOtto Moerbeek
jaredy@
2007-06-01more adosfs removal;Jason McIntyre
2007-05-31convert to new .Dd format;Jason McIntyre
2007-05-30- use a consistent text for STANDARDSJason McIntyre
- note which options are extensions to POSIX
2007-05-23- attempt to explain (sub)sections before we start discussing themJason McIntyre
- merge the "-s section" and "section" parts: it doesn't make sense to keep them separate
2007-05-23update the section list;Jason McIntyre
2007-05-23for -S, note that machines have pages for all archs, and this mechanismJason McIntyre
allows one to view pages for one arch whilst using another (this seems to be not always clear to people);
2007-05-23improve the descriptions for -f and -k, specifically making itJason McIntyre
clear that they run, respectively, whatis(1) and apropos(1);
2007-05-23remove some unneccessary bracketing;Jason McIntyre
2007-05-19improve the descriptions of "section" and "subsection"; ok millertJason McIntyre
2007-03-20remove some bogus *p tests from charles longeauTed Unangst
ok deraadt millert
2007-01-09fix usageTheo de Raadt
2006-12-14Coverity CID 2996: Don't return without closing fp.Jasper Lievisse Adriaanse
Fix from christos NetBSD. ok otto@, millert@ (earlier version)
2006-05-09i.e. -> e.g.Jason McIntyre
2005-12-07update the man -k example, and reword for clarity;Jason McIntyre
2005-12-06Remove fdescfsPedro Martelletto
2005-11-27ISOXXX/ISO-XXX -> ISO XXXJason McIntyre
2005-11-24Remove kernfs, okay deraadt@.Pedro Martelletto
2005-11-12use asprintf instead; dhill@mindcry.orgTheo de Raadt
2005-10-31Rewrite -m processing to not use queue internals and make it moreOtto Moerbeek
simple as well. ok hshoexer@ jaredy@ henning@
2005-10-17Use queue macros instead of directly accessing fields. ok pat@ "put itOtto Moerbeek
in" deraadt@
2005-05-26byebye umap, union and null references; pedro@ ok.Federico G. Schwindt
2005-04-15document mdoc(7) and mdoc.samples(7);Jason McIntyre
from pascoe@
2004-09-15remove unused codeTheo de Raadt
2004-02-23- mark up punctuationJason McIntyre
- use more suitable macros where necessary - a little grammar - sort options and sync usage() (last part checked by henning)
2003-12-16Support MANPAGER environment variable plus some KNF I had in my tree.Todd C. Miller
Closes PR 3563
2003-11-09cosmetic change; don't put an ending semicolon on the same line asTodd C. Miller
a for() loop.
2003-08-08- add descriptions of the different sectionsJason McIntyre
- add .Xr's to the intro pages - little cleanup ok millert@
2003-06-10mostly ansi cleanup; pval okTheo de Raadt
2003-06-10- section reorderJason McIntyre
- COMPATIBILITY merge - macro cleanup - kill whitespace at EOL - new sentence, new line ssh pages ok markus@