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-w32-2e6af549715f5d7b4c2ab204e46c8b8f6f057045.tar.gz busybox-w32-2e6af549715f5d7b4c2ab204e46c8b8f6f057045.tar.bz2 busybox-w32-2e6af549715f5d7b4c2ab204e46c8b8f6f057045.zip |
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 ".\\\"" | |||
30 | echo ".pl \n(nlu+10" | 30 | echo ".pl \n(nlu+10" |
31 | ) | gtbl | nroff -Tlatin1 -mandoc | less | 31 | ) | gtbl | nroff -Tlatin1 -mandoc | less |
32 | 32 | ||
33 | Some systems use -Tascii. | ||
34 | |||
33 | On another system I see this: | 35 | On another system I see this: |
34 | 36 | ||
35 | ... | tbl | nroff -mandoc -rLL=<NNN>n -rLT=<NNN>n -Tutf8 | less | 37 | ... | tbl | nroff -mandoc -rLL=<NNN>n -rLT=<NNN>n -Tutf8 | less |
@@ -55,8 +57,8 @@ struct globals { | |||
55 | setup_common_bufsiz(); \ | 57 | setup_common_bufsiz(); \ |
56 | G.col = "col"; \ | 58 | G.col = "col"; \ |
57 | G.tbl = "tbl"; \ | 59 | G.tbl = "tbl"; \ |
58 | /* replaced -Tlatin1 with -Tascii for non-UTF8 displays */ \ | 60 | /* Removed -Tlatin1. Assuming system nroff has suitable default */ \ |
59 | G.nroff = "nroff -mandoc -Tascii"; \ | 61 | G.nroff = "nroff -mandoc"; \ |
60 | G.pager = ENABLE_LESS ? "less" : "more"; \ | 62 | G.pager = ENABLE_LESS ? "less" : "more"; \ |
61 | } while (0) | 63 | } while (0) |
62 | 64 | ||