summaryrefslogtreecommitdiff
path: root/usr.bin/mandoc/main.c
AgeCommit message (Expand)Author
2015-10-11Finally use __progname, err(3) and warn(3).Ingo Schwarze
2015-10-10Decide whether to use_pager as early as possible,Ingo Schwarze
2015-10-06modernize style: "return" is not a function; ok cmp(1)Ingo Schwarze
2015-07-28Remove the hack of scrolling forward and backward with +G1G thatIngo Schwarze
2015-07-21When creation of the temporary tags file fails, call the pagerIngo Schwarze
2015-07-19Do not fork and exec gunzip(1), just link with libz instead.Ingo Schwarze
2015-07-19If we aren't on a tty, clear the pager flag up front.Ingo Schwarze
2015-07-18Insist that manual page file name extensions must begin with a digit,Ingo Schwarze
2015-07-17Initial, still somewhat experimental implementation to leverageIngo Schwarze
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