summaryrefslogtreecommitdiffstats
path: root/man.3
Commit message (Collapse)AuthorAgeFilesLines
* Remove `Sp', `Vb', and `Ve' (as per schwarze@'s changes in OpenBSD),Kristaps Dzonsons2010-12-051-18/+2
| | | | which are now accomodated for the new libroff modifications.
* Cleaned up library manuals: removed old escapes, added EXAMPLES, strippedKristaps Dzonsons2010-10-101-51/+7
| | | | out some superfluous stuff.
* Implement a simple, consistent user interface for error handling.Ingo Schwarze2010-08-201-6/+1
| | | | | | | | | | | | | | | | | We now have sufficient practical experience to know what we want, so this is intended to be final: - provide -Wlevel (warning, error or fatal) to select what you care about - provide -Wstop to stop after parsing a file with warnings you care about - provide consistent exit status codes for those warnings you care about - fully document what warnings, errors and fatal errors mean - remove all other cruft from the user interface, less is more: - remove all -f knobs along with the whole -f option - remove the old -Werror because calling warnings "fatal" is silly - always finish parsing each file, unless fatal errors prevent that This commit also includes a couple of related simplifications behind the scenes regarding error handling. Feedback and OK kristaps@; Joerg Sonnenberger (NetBSD) and Sascha Wildner (DragonFly BSD) agree with the general direction.
* Remove \*(C+ from the pre-predefined strings. It is always `ds'-definedKristaps Dzonsons2010-08-161-1/+0
| | | | | | when being used in manuals. Since we now support `ds', it's no longer necessary to account for it. From a bug report originally by Thomas Jeunet.
* Re-constitution of `ds' symbol processing. First, push theKristaps Dzonsons2010-07-071-1/+0
| | | | | | | | | roff_getstr() family of functions into roff.c with the "first_string" directly in struct roff. Second, pre-process each line for reserved words in libroff, splicing and re-running a line if it has one (this allows defined symbols to be macros). Remove term.c's invocation of the roff_getstrn() function. Removed function documentation in roff.3 and added roff.7 `ds' documentation.
* Following clue-stick applied by schwarze@, back out const-ness of regsetKristaps Dzonsons2010-06-271-2/+4
| | | | | | | | | passed in to libmdoc and libman. Fix mdoc.3 and man.3 EXAMPLE sections to include regset. Add MDOC_SYNPRETTY flag cueing front-end to nicely format certain values as if SEC_SYNOPSIS were the current section.
* Downstream maintainers: this removes UGLY! I don't want divergingKristaps Dzonsons2010-06-271-2/+6
| | | | | | | | | functionality and UGLY works quite well thanks to schwarze@'s careful attention. This also backs out function-prototype changes for struct regset, instead stuffing a pointer to the regset directly into struct mdoc/man/roff.
* Churn-ish check-in getting mdoc_parseln() and man_parseln() to accept aKristaps Dzonsons2010-06-261-1/+7
| | | | const struct regset pointer. No functionality.
* Added roff.3, which documents the roff parser interface.Kristaps Dzonsons2010-05-251-3/+2
| | | | | | | | | | | Small fix in mdoc.3 and man.3 pointing to old mdoc_cb and man_cb. Fix in Makefile adding mandoc.h to HEADS. Collapsed all HTML files into HTMLS variable (too confusing otherwise). Removed "htmls" command from Makefile (only I used it and it's just taking up space).
* Clean-up: added `Nm mdoc' to mdoc.3.Kristaps Dzonsons2010-05-251-53/+53
| | | | | | Clean-up: new-sentence, new-line for man.3. Clean-up: alpha-ordered man.3 `Nm' sections and prototypes.
* As per Jason McIntyre's heartful urgings, do away with '.' separators ↵Kristaps Dzonsons2010-04-131-44/+0
| | | | | | between logical sections. Change email address to BSD.lv one (this is not an academic project...)
* Whitespace fix.VERSION.1.9.21Kristaps Dzonsons2010-03-311-1/+1
|
* Escape TH -> Th (noticed by Joerg Sonnenberger).Kristaps Dzonsons2010-03-301-0/+24
| | | | Moved pod2man escapes into man.3 (they're not part of -man or -mdoc, technically).
* Fixed re-adjustment of scope in exiting roff instructions (libman).Kristaps Dzonsons2010-03-271-28/+88
| | | | | | Added title-case check for (libman). Fixed premature closure of roff instruction scope (libman). Added documentation of ignored roff macros to man(3).
* Removed offsets from most parts (no reason for indentation).Kristaps Dzonsons2010-02-171-18/+20
| | | | | Using POSIX2008 idioms for examples (thanks Joerg Sonnenberger). Removed references to fgetln().
* Fix white-space issues found by mandoc's better white-space finder.Kristaps Dzonsons2010-01-071-1/+1
| | | | Fixed bogus `\\' escapes in some manuals.
* Fixed mandoc.1 examples (new -Thtml options).Kristaps Dzonsons2009-10-031-1/+1
| | | | | Fixed manuals to use `In', not `Fd'. Moved buf* functions into html.c.
* Made tree/term/out() functions return void.Kristaps Dzonsons2009-09-161-1/+1
| | | | Put err() functions back into front-ends (no use making it needlessly complex).
* Updated libman AST documentation.Kristaps Dzonsons2009-08-171-1/+7
| | | | Version (not yet finalised, but tagging in Makefile): 1.9.0.
* Removed trailing whitespace in manuals.Kristaps Dzonsons2009-07-201-24/+24
|
* Fixed man.3 mdoc.3 const-nesses.Kristaps Dzonsons2009-07-051-2/+2
|
* Fixed email address in manual AUTHOR reference.Kristaps Dzonsons2009-06-111-1/+1
| | | | | | Set max right margin to 80 columns (schwarze@openbsd.org). Fixed centre-field heading position (schwarze@openbsd.org). Also fixed -Tman centre-field.
* Fixed license email address.Kristaps Dzonsons2009-06-101-1/+1
|
* Using proper license template (const).Kristaps Dzonsons2009-04-121-13/+11
|
* Manual .Dt fields CAPITALISED.Kristaps Dzonsons2009-04-121-1/+1
| | | | | | | | Indent set to 5 chars (nroff compat). Half-indent set to 3 chars (nroff compat). Default behaviour is loose-y (ignore macro/char/escape). Added -fstrict. Added unknown-character ignoring.
* Added some new manuals (mdoc.3 mandoc_char.7).Kristaps Dzonsons2009-03-271-0/+279
Support for .br in libman.