diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2016-10-31 14:05:34 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2016-10-31 14:05:34 +0100 |
commit | 2e6af549715f5d7b4c2ab204e46c8b8f6f057045 (patch) | |
tree | 89b0772c98188262d9577abe8809e26273d5a8a7 | |
parent | 7c3c92c533b65d4c29f2990915c9c424c3f6629d (diff) | |
download | busybox-2e6af549715f5d7b4c2ab204e46c8b8f6f057045.tar.gz |
man: remove -Tascii from nroff invocation
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r-- | miscutils/man.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/miscutils/man.c b/miscutils/man.c index adb7770b4..932f0b794 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) |