summaryrefslogtreecommitdiff
authorDenys Vlasenko <vda.linux@googlemail.com>2016-10-31 13:05:34 (GMT)
committer Denys Vlasenko <vda.linux@googlemail.com>2016-10-31 13:05:34 (GMT)
commit2e6af549715f5d7b4c2ab204e46c8b8f6f057045 (patch)
tree89b0772c98188262d9577abe8809e26273d5a8a7
parent7c3c92c533b65d4c29f2990915c9c424c3f6629d (diff)
downloadbusybox-2e6af549715f5d7b4c2ab204e46c8b8f6f057045.zip
busybox-2e6af549715f5d7b4c2ab204e46c8b8f6f057045.tar.gz
busybox-2e6af549715f5d7b4c2ab204e46c8b8f6f057045.tar.bz2
man: remove -Tascii from nroff invocation
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat
-rw-r--r--miscutils/man.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/miscutils/man.c b/miscutils/man.c
index adb7770..932f0b7 100644
--- a/miscutils/man.c
+++ b/miscutils/man.c
@@ -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)