aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/troff/n1.c
Commit message (Collapse)AuthorAgeFilesLines
* troff: support `\~` as an alias for `\ ` (#567)g-branden-robinson2022-08-121-0/+2
| | | | | | | | | | | | | | In groff, Heirloom Doctools troff, and neatroff, the `\~` escape sequence produces an adjustable (paddable) but unbreakable space. mandoc, which does not perform adjustment or render to typesetters, supports the escape sequence as a synonym for `\ `, the same as `\0`. This extension is of long pedigree: groff has supported it for at least 30 years, Heirloom for 17, mandoc for 13, and neatroff for 6. Do the same as mandoc to prevent mis-rendering of documents using this escape sequence. Heirloom Doctools troff, a descendant of Documenter's Workbench troff, would be a good place to look for a compatible implementation of the adjustable semantics for this sequence.
* Trivial changes: whitespace and modes.Dan Cross2020-01-101-5/+5
| | | | | | | | | Remote whitespace at the ends of lines. Remove blank lines from the ends of files. Change modes on source files so that they are not executable. Signed-off-by: Dan Cross <cross@gajendra.net>
* Use gcc -ansi -pedantic in 9c. Fix many non-C89-isms.rsc2006-04-011-2/+2
|
* ctype sign fixes (Tom Miller)rsc2005-10-311-2/+3
|
* Tweak to make troff compile silently.wkj2004-05-171-3/+3
|
* Checkpoint -- still merging with Taj's version of the world.wkj2004-05-161-15/+12
|
* Let's try this. It's BUGGERED.rsc2004-05-151-0/+1136