summaryrefslogtreecommitdiff
path: root/usr.bin/mandoc/main.c
AgeCommit message (Expand)Author
2015-04-29Improve the error message in case somebody has configured an invalid PAGER.Ingo Schwarze
2015-04-20Fix previous: Don't let man(1) warn twice about non-existant names.Ingo Schwarze
2015-04-19If apropos(1) finds no match, print "nothing appropriate" to stderrIngo Schwarze
2015-04-18Profit from the unified struct roff_man and reduce the number ofIngo Schwarze
2015-04-18Replace the structs mdoc and man by a unified struct roff_man.Ingo Schwarze
2015-04-16shorten "outdated mandoc.db" warning message; requested by deraadt@Ingo Schwarze
2015-04-03No need to hardcode /usr/bin/ as the path to more(1); helps portability.Ingo Schwarze
2015-04-02First step towards parser unification:Ingo Schwarze
2015-03-27Actually use the new man.conf(5) "output" directive.Ingo Schwarze
2015-03-27Parse the new man.conf(5) "output" directive.Ingo Schwarze
2015-03-27Modernize documentation by inserting blanks between option lettersIngo Schwarze
2015-03-17Simplify: Now that rc is global anyway, no need to pass it aroundIngo Schwarze
2015-03-17When the user exits the pager before the pager has drained all inputIngo Schwarze
2015-03-10We can keep track of the pager PID without additional complexity.Ingo Schwarze
2015-03-10Fix a regression caused in rev. 1.118, reported by kristaps@:Ingo Schwarze
2015-03-09Explicitly cast when assigning from char * to unsigned char * and vice versa.Ingo Schwarze
2015-02-27When man(1) and apropos(1) look for a file man1/foo.1 but it's unavailable,Ingo Schwarze
2015-02-16Delete the -V option. It serves no purpose but keeps confusing people.Ingo Schwarze
2015-02-10trim trailing white space, no code change;Ingo Schwarze
2015-02-07be more careful about argc == 0Ingo Schwarze
2015-01-20Split the -Werror message level into -Werror (broken manual, probablyIngo Schwarze
2015-01-16Let man(1) show manuals for the current architecture by default,Ingo Schwarze
2015-01-15Fatal errors no longer exist.Ingo Schwarze
2015-01-14if earlier files set a non-zero exit status,Ingo Schwarze
2015-01-13Be developer-friendly, 'cause OpenBSD devs like to:Ingo Schwarze
2015-01-13do not spawn a pager when there is no output; issue pointed out by deraadt@Ingo Schwarze
2015-01-01If man(1) only has one single argument, always interpret it as a name,Ingo Schwarze
2014-12-31When showing more than one formatted manual page, insert horizontal linesIngo Schwarze
2014-12-21Use -m for macro set selection in mandoc(1) mode only, not in man(1)Ingo Schwarze
2014-12-18update usage() and the list of non-standard (i.e. non-posix) options;Jason McIntyre
2014-12-17Be a bit more lenient in what to accept for section names givenIngo Schwarze
2014-12-15Let "man n open" do the same as "man -s n open" again, that is,Ingo Schwarze
2014-12-11slightly reshuffle some code to reduce the diff with portable;Ingo Schwarze
2014-12-05implement help(1)Ingo Schwarze
2014-12-02Switch the default output mode from -Tascii to -Tlocale.Ingo Schwarze
2014-11-26Simplify the mparse_open()/mparse_wait() interface.Ingo Schwarze
2014-11-11In man(1) mode without -a, stop searching after the first manual treeIngo Schwarze
2014-11-11Let -h imply -c (that is, not use the pager).Ingo Schwarze
2014-11-11implement -h (synopsis only) for preformatted (cat) pages;Ingo Schwarze
2014-10-30mandoc.1: fix a macro error in previousJason McIntyre
2014-10-30support UTF-8 and ISO-8859-1 input by integrating modified partsIngo Schwarze
2014-10-28Make the character table available to libroff so it can check theIngo Schwarze
2014-10-18plug file descriptor leaks on read or write failure;Ingo Schwarze
2014-09-03Add *.gz support to apropos(1) -a, manm(1), and even mandoc(1).Ingo Schwarze
2014-09-03If a manual page is installed gzip(1)ed, let makewhatis(8) takeIngo Schwarze
2014-09-03Implement the traditional -h option for man(1): show the SYNOPSIS only.Ingo Schwarze
2014-09-01In man(1) mode, change to the right directory before starting the parser,Ingo Schwarze
2014-08-30Introduce a man(1) -l option as an alias for mandoc -a.Ingo Schwarze
2014-08-27Add an implementation of man(1) into the /usr/bin/mandoc binary andIngo Schwarze
2014-06-21Reduce the verbosity of error messages caused by open(2) failures.Ingo Schwarze