← Commit list

30f17e955

Denys Vlasenko
Denys Vlasenko
2014-03-03
SUCCESS Duration: 142s

Subject

man: default to ascii

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

miscutils/man.c+2 -1
@@ -106,7 +106,8 @@ static int run_pipe(const char *pager, char *man_filename, int man, int level)
/* "2>&1" is added so that nroff errors are shown in pager too.
* Otherwise it may show just empty screen */
cmd = xasprintf(
- man ? "gtbl | nroff -Tlatin1 -mandoc 2>&1 | %s"
+ /* replaced -Tlatin1 with -Tascii for non-UTF8 displays */
+ man ? "gtbl | nroff -Tascii -mandoc 2>&1 | %s"
: "%s",
pager);
system(cmd);