Red Hat Bugzilla – Bug 120112
can't turn off color man output
Last modified: 2007-11-30 17:10:39 EST
Description of problem:
When I type 'man man', I get multicolored output. I don't like
multicolored output (though I understand that others might), and I
want to switch it off. In searching through the manpages for man,
nroff, groff, and grotty the only thing I could find that seemed like
it might turn off color is the '-c' option to nroff. But nroff is
already getting the '-c' option in /etc/man.config, and I've still got
NROFF /usr/bin/nroff -c -mandoc
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. 'man man'
Actual results: color output
Either 'nroff -c -mandoc' should be producing monochrome output, or
man's manpage should tell me how to switch off color output.
gunzip -c /usr/share/man/man1/man.1.gz |/usr/bin/gtbl |/usr/bin/nroff
-c -mandoc |more
produces the same (color) output. I'm pretty sure that's what man is
doing under the hood.
I'm now running Fedora Core 2, with man-1.5m2-6, and I've still got
the same problem.
Putting the line:
in my .Xdefaults seems to have turned off the worst of the color.
There's still some, but at least the annoying hard-to-read blue is gone.
"-b" (or NOCOLOR in the conf file) will turn off color in the latest
rawhide (by prefixing a ".color 0" groff request to the beginning of
the troff source)