[git commit] man: remove -Tascii from nroff invocation
Denys Vlasenko
vda.linux at googlemail.com
Mon Oct 31 13:05:34 UTC 2016
commit: https://git.busybox.net/busybox/commit/?id=2e6af549715f5d7b4c2ab204e46c8b8f6f057045
branch: https://git.busybox.net/busybox/commit/?id=refs/heads/master
Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
miscutils/man.c | 6 ++++--
1 file 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)
More information about the busybox-cvs
mailing list