From 2e6af549715f5d7b4c2ab204e46c8b8f6f057045 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Mon, 31 Oct 2016 14:05:34 +0100 Subject: man: remove -Tascii from nroff invocation Signed-off-by: Denys Vlasenko --- miscutils/man.c | 6 ++++-- 1 file 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=n -rLT=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) -- cgit v1.2.3