man: remove -Tascii from nroff invocation

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko 2016-10-31 14:05:34 +01:00
parent 7c3c92c533
commit 2e6af54971

View File

@ -30,6 +30,8 @@ echo ".\\\""
echo ".pl \n(nlu+10" echo ".pl \n(nlu+10"
) | gtbl | nroff -Tlatin1 -mandoc | less ) | gtbl | nroff -Tlatin1 -mandoc | less
Some systems use -Tascii.
On another system I see this: On another system I see this:
... | tbl | nroff -mandoc -rLL=<NNN>n -rLT=<NNN>n -Tutf8 | less ... | tbl | nroff -mandoc -rLL=<NNN>n -rLT=<NNN>n -Tutf8 | less
@ -55,8 +57,8 @@ struct globals {
setup_common_bufsiz(); \ setup_common_bufsiz(); \
G.col = "col"; \ G.col = "col"; \
G.tbl = "tbl"; \ G.tbl = "tbl"; \
/* replaced -Tlatin1 with -Tascii for non-UTF8 displays */ \ /* Removed -Tlatin1. Assuming system nroff has suitable default */ \
G.nroff = "nroff -mandoc -Tascii"; \ G.nroff = "nroff -mandoc"; \
G.pager = ENABLE_LESS ? "less" : "more"; \ G.pager = ENABLE_LESS ? "less" : "more"; \
} while (0) } while (0)