CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2014/10/28 18:17:02
Modified files:
usr.bin/mandoc : chars.c html.c mandoc.h term.c
Log message:
In terminal output, unify handling of Unicode and numbered character
escape sequences just like it was earlier implemented for -Thtml.
Do not let control characters other than ASCII 9 (horizontal tab)
propagate to the output, even though groff allows them; but that
really doesn't look like a great idea.
Let mchars_num2char() return int such that we can distinguish invalid \N
syntax from \N'0'. This also reduces the danger of signed char issues
popping up.