Re: ANSI color and manpages

Steve Sarette <sarette2233-/[email protected]> Wed, 10 Dec 2003 00:14:12 -0800
Newsgroups gmane.linux.usability.annoyances
Message-ID <[email protected]>
I don't see colors for my man page output on my Gentoo box, but I do 
for my ls output. You can suppress color output for ls using:

ls --color=none

You can change your color coding for ls output using the dircolors(1) 
command. If man isn't working for you, look here:

http://www.gnu.org/manual/fileutils-4.1/html_node/fileutils_36.html

I don't know if that will fix your man output or not but its a place to 
start.

	- Steve

On Dec 9, 2003, at 11:36 PM, The Rev. Shamim, D.D., LFHCfS wrote:

> I don't know whose idea it was to enable all that ANSI colour crap by
> default. (Is it only RedHat that does it, or do other distributions do
> it too?) What's worse, the colors seem set up for the "cool" look of
> black backgrounds, with lots of white and pale yellow. Try using a
> light background in your xterms: all man pages become unreadable!
>
> I've managed to fix ls:
>     unalias ls
>     COLOR none (in /etc/DIR_COLORS)
>     rm /etc/profile.d/*color*
>
> But man is still broken. I've tried setting the environment variable
> GROFF_NO_SGR. I've added -c to the NROFF setting in /etc/man.config.
> I've set TERM to vt100. I still get the goddamn white and pale yellow
> text. (Yes, I did logout/login after making the changes.) Can anyone
> tell me how to disable the !@^%#@&^$%*^& colors? If I can expunge all
> signs of SGR ANSI color from my system I'll be happy.
>
> -s
> _______________________________________________
> annoyances mailing list
> [email protected]
> http://michelangelo.renaissoft.com/mailman/listinfo/annoyances
>