summaryrefslogtreecommitdiff
path: root/usr.bin/man
AgeCommit message (Collapse)Author
2012-02-05Do not insert an empty ENTRY into the manpath list;Ingo Schwarze
it's useless and causes out-of-bounds array access later. While here, remove two unused local variables and two unused struct members. From Tobias Ulmer <tobiasu at tmux dot org> on tech@, thanks. "off to you" deraadt@
2012-01-05When iterating a TAILQ list replacing elements,Ingo Schwarze
get a pointer to the next element before freeing the previous one, do not access free'd pointers. Problem found the hard way by fgsch@ running "man -a x" with malloc.conf -> S on amd64. ok deraadt@
2011-10-09add a little vertical spacing to previous; ok schwarzeJason McIntyre
2011-10-09Correct the history of apropos(1), whatis(1) and whereis(1): TheseIngo Schwarze
utilities were already part of 2BSD. Also credit Bill Joy as the author. Document the HISTORY of options. Say a bit more about the fate of whereis(1). All information found on http://minnie.tuhs.org/cgi-bin/utree.pl and in the OpenBSD, NetBSD, and FreeBSD CVS trees. Using feedback from jmc@.
2011-09-17remove mdoc.samples(7): all info already is in mdoc(7)Ingo Schwarze
feedback and ok jmc@
2011-08-29as requested by Tomas Bodzar, remove the reference to the non-existentJason McIntyre
mount_portal(8): although i've just gone on record to say the change is pointless, he has correctly pointed out that it leads to a dead link in the online man pages.
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