man: remove -Tascii from nroff invocation
authorDenys Vlasenko <vda.linux@googlemail.com>
Mon, 31 Oct 2016 13:05:34 +0000 (14:05 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Mon, 31 Oct 2016 13:05:34 +0000 (14:05 +0100)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
miscutils/man.c

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