redhat62_colorized_stuff

This is part of The Pile, a partial archive of some open source mailing lists and newsgroups.



Subject: Annoying color features in RH6.2
From: Prentice Bisbal <pbisbal@pppl.gov>
Date: Thu, 30 Mar 2000 09:14:33 -0500


Does anyone know how to turn off the annoying color feature for the man pages
in RH 6.2?

I renamed the colorls.* files in /etc/profile.d and changed 
	
	COLOR tty
to
	COLOR none

in /etc/DIR_COLOR, but the man pages are still in color making them practically
unreadable, especially against the black background I prefer for my terminals
windows. I can't find any documentation for diabling this feature for the
manpages.

IMHO, this feature is completely unnecessary and extremely annoying. RH should
have left this feature turned off by default and documented how to turn it *on*
instead. 

===
Subject: Re: Annoying color features in RH6.2
From: "Pete Peterson" <petersonp@genrad.com>
Date: Thu, 30 Mar 2000 16:50:15 -0500



I haven't loaded 6.2 yet, but I detest the color "ls" that has been around
for a while.  It makes things much harder to read on just about any kind
of background.  The light blue is nearly unreadable on a white background
and the dark blue is nearly unreadable on a black background.  Other
background colors are likely to have similar problems.

It also breaks scripts, putting rubbish escape sequences into the output.

I definitely agree that it should **NOT** be the default!

If you find out how to make this bad undesirable behavior go away, please
send me the solution.

===

Subject: Re: Annoying color features in RH6.2
From: Bernhard Rosenkraenzer <bero@redhat.de>
Date: Thu, 30 Mar 2000 23:55:47 +0200 (CEST)


On Thu, 30 Mar 2000, Pete Peterson wrote:

> I haven't loaded 6.2 yet, but I detest the color "ls" that has been around
> for a while.  It makes things much harder to read on just about any kind
> of background.

That's a matter of taste; most people seem to like it.

> The light blue is nearly unreadable on a white background
> and the dark blue is nearly unreadable on a black background.

That's why we didn't configure it to use light blue on white or dark blue
on black for anything.

> It also breaks scripts, putting rubbish escape sequences into the output.

This isn't true, we're using ls --color=auto, not ls --color=yes.
  --color=auto colorizes only interactive output, nothing that's piped or
part of a "for i in `ls`" type construct.

> If you find out how to make this bad undesirable behavior go away, please
> send me the solution.

rm -f /etc/profile.d/colorls*

===

Subject: Re: Annoying color features in RH6.2
From: Prentice Bisbal <pbisbal@pppl.gov>
Date: Thu, 30 Mar 2000 16:57:36 -0500


Turning off the color ls feature is easy. What about getting rid of the color
in man pages? 


On Thu, 30 Mar 2000, Bernhard Rosenkraenzer wrote:
> That's why we didn't configure it to use light blue on white or dark blue
> on black for anything.

Then why is the blue it uses on the black background so dark in my man pages? 

===


Subject: Re: Annoying color features in RH6.2
From: Bernhard Rosenkraenzer <bero@redhat.de>
Date: Fri, 31 Mar 2000 00:04:12 +0200 (CEST)


On Thu, 30 Mar 2000, Prentice Bisbal wrote:

> Turning off the color ls feature is easy. What about getting rid of the color
> in man pages? 

What color? I'm not seeing color in man pages. Can you tell
me a sample man page that is colorized? Does it happen on
the console, or only in xterms?  It's probably related to
changes in less though... does it still happen with export
PAGER=more ?

===

Subject: Re: Annoying color features in RH6.2
From: Prentice Bisbal <pbisbal@pppl.gov>
Date: Thu, 30 Mar 2000 17:08:19 -0500


It happens in *any* man page in an xterm - whether it is on my local linux
machine or another machine (Linux, Solaris, DUX). I haven't tried it from a
console. I imagine it's something with X-windows (Xresources? ) but I can't
find it...

===

Subject: Re: Annoying color features in RH6.2
From: Prentice <pbisbal@pppl.gov>
Date: Fri, 31 Mar 2000 12:28:03 -0500


Is anyone following this thread anymore? Getting rid of the colors in ls was
easy - I just deleted /etc/profile.d/colorls.* If I wanted to it just for
myself, I could have added unalias ls (or something like that) to my .bashrc
file. 

The problem is with the *MAN* pages - they come up in color, and the dark
blue and green are practically impossible to read. I imagine this is a matter
of fixing some X11 settings somewhere, but the question is "where?"  In this
case, it looks like my xterminal window is adding the color, since man pages on
remote machines (other O/S's, too) are coming up in color, too. I think I could
edit /etc/termcap to make all ther terminal types monchrome, but that would be
a lot of work and would probably make *everything* black and white, including
menu-based programs like ntsysv or disk druid. 

There's got be be an easy way to do this. Doesn't anyone at RH who know how
they are doing this read this list?

===

Subject: Re: Annoying color features in RH6.2
From: Isaiah Weiner <iweiner@redhat.com>
Date: Fri, 31 Mar 2000 13:01:29 -0500


On Fri, Mar 31, 2000 at 12:28:03PM -0500, Prentice wrote:
> Is anyone following this thread anymore? Getting rid of the colors in ls was
> easy - I just deleted /etc/profile.d/colorls.* If I wanted to it just for
> myself, I could have added unalias ls (or something like that) to my .bashrc
> file. 

    My point was that doing that isn't good practice, where systems
    administration goes.

    /etc/skel/.bashrc:

    # .bashrc

    # User specific aliases and functions

    # Source global definitions
    if [ -f /etc/bashrc ]; then
            . /etc/bashrc
    fi

    If you add "unalias ls" or "alias ls='ls --youroptions'" to $HOME/.bashrc
    after 'fi', you've continued to allow for shell profiles (which is really
    quite cool, when you get into it) and still gotten your way.

> The problem is with the *MAN* pages - they come up in color, and the dark
> blue and green are practically impossible to read. I imagine this is a matter
> of fixing some X11 settings somewhere, but the question is "where?"  In this
> case, it looks like my xterminal window is adding the color, since man
> pages on remote machines (other O/S's, too) are coming up in color, too. I
> think I could edit /etc/termcap to make all ther terminal types monchrome,
> but that would be a lot of work and would probably make *everything* black
> and white, including menu-based programs like ntsysv or disk druid. 
> 
> There's got be be an easy way to do this. Doesn't anyone at RH who know how
> they are doing this read this list?

    Do any other colors seem awkward?  And does the color appear while
    in console mode, or just X?  What kind of video card are you using?
    I only ask because I've seen this happen before with cruddy cards,
    and the default behavior doesn't include color for the manual pages.

===

Subject: Re: Annoying color features in RH6.2 
From: "Lance A. Brown" <brown9@niehs.nih.gov>
Date: Sat, 01 Apr 2000 17:32:52 -0500


Isaiah Weiner <iweiner@redhat.com> writes:

>> The problem is with the *MAN* pages - they come up in color, and
>> the dark blue and green are practically impossible to read. I
>> imagine this is a matter of fixing some X11 settings somewhere, but
>> the question is "where?"  In this case, it looks like my xterminal
>> window is adding the color, since man pages on remote machines
>> (other O/S's, too) are coming up in color, too. I think I could
>> edit /etc/termcap to make all ther terminal types monchrome, but
>> that would be a lot of work and would probably make *everything*
>> black and white, including menu-based programs like ntsysv or disk
>> druid.

It is not the man program doing this.  It is xterm.  I had to put:

XTerm*colorBDMode:   False
XTerm*colorBLMode:   False
XTerm*colorULMode:   False

in my .Xresources file to get rid of the colorification of man pages.
Check the man page for xterm/nxterm to see the new options.

===








the rest of The Pile (a partial mailing list archive)

doom@kzsu.stanford.edu