Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 147704 - make default portage colours more readable on black and white backgrounds
Summary: make default portage colours more readable on black and white backgrounds
Status: RESOLVED LATER
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: NeedPatch
Depends on:
Blocks:
 
Reported: 2006-09-15 10:07 UTC by David Grant
Modified: 2007-07-04 22:41 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Grant 2006-09-15 10:07:55 UTC
Portage/emerge is using a lot of yellow these days, for use flags and also for the  numbers in "Emerging (5 of 10)". One of the two most popular desktop environments, KDE, uses a white background by default for it's terminal program, Konsole. xterm's background is also white by default. I recommend that the konsole package be patched in some way to use a black background by default, or portage should stop using yellow.

I think the ideal approach is for portage/emerge to use colours that will work on a white background and a black background, the two extremes. That way it doesn't matter what colour scheme any of the terminal programs use by default.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-09-15 10:11:23 UTC
So remap them as needed? :)

*** This bug has been marked as a duplicate of 125120 ***
Comment 2 David Grant 2006-09-16 16:11:25 UTC
Jakub,

I think remapping is great, but I think setting the defaults to better colours is a good idea as well.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-09-17 01:02:14 UTC
Well so what exactly is "better colors"?
Comment 4 SpanKY gentoo-dev 2006-09-17 01:08:49 UTC
there is no such thing as "most backgrounds"

would help to provide two sets of colors; one for light backgrounds and one for dark backgrounds so people can quickly pick a set, but other than that the current defaults are just fine
Comment 5 David Grant 2006-09-17 02:45:38 UTC
Actually I have idea that I think would improve the defaults and be a simple change (it also wouldn't require any documentation change). Just change the yellow from super-ultra-yellow to a different shade of yellow. The yellow that eix uses for keyword masked packages is readable even on white. And I have not seen any problem with any other colours I don't think, just yellow.
Comment 6 Marius Mauch (RETIRED) gentoo-dev 2007-06-06 23:46:57 UTC
If someone comes up with a patch that implements a better default color scheme post it here, but it has to be something more specific "the color that xyz uses for foo"
Comment 7 David Grant 2007-06-07 16:57:58 UTC
I think "Just change the yellow from super-ultra-yellow to a different shade of yellow" is pretty specific. Why should I spend any time figuring out how to patch this when one of the authors of the software could easily change this in 2 seconds?
Comment 8 Marius Mauch (RETIRED) gentoo-dev 2007-06-07 17:11:08 UTC
Well, I won't waste time figuring what other "shade of yellow" would make people happy.
Comment 9 Pacho Ramos gentoo-dev 2007-06-08 07:57:28 UTC
there is a related article in:
http://www.gentoo.org/news/en/gwn/20060918-newsletter.xml#doc_chap3

Purple looks great ;-)
Comment 10 David Grant 2007-06-09 07:31:30 UTC
From portage article: "When using a white background for a terminal emulator and portage displays some text in yellow (e.g. new useflags with the "%") it can be very hard to read."

This is pretty idiotic when you think about it. Read the original bug report. KDE's konsole uses a white background by default and so does xterm apparently. And portage uses pure yellow for new useflags meaning they are almost unreadable. So here we have a weekly report admitting the fact that it can be very hard to read (in fact very hard to read on my out-of-the-box gentoo systems).

We also see in Bug #125120, the reporter saying "The default color scheme provided by portage with the new USE= flag output is rather unreadable on a white background."

http://forums.gentoo.org/viewtopic-t-427948.html
In this forum post, a user says: "My opinion is to get rid of that very unreadable yellow output. I'll probably file a bug for it. Who also thinks that yellow is just bad?

Another user suggests purple, as someone suggested here in comment #9. "That shows up on white and black backgrounds. :) Plus it's the official color of Gentoo and it goes great with my theme. Looks great too. I think all yellow references should be changed to purple."

Another user says: "I agree!!! Yellow is very hard to read for me too. Please, change the default color to any other color which is well readable on white and black terminals."

It's not that hard. But whatever, portage is only on one of my machines now anyways so I don't really care that much.

"Well, I won't waste time figuring what other "shade of yellow" would make
people happy."

Nice cop-out.
Comment 11 Marius Mauch (RETIRED) gentoo-dev 2007-06-29 07:28:40 UTC
Well, if someone gives us an exact ansi color code we can revisit this, doesn't has to be an actual patch.
Comment 12 Pacho Ramos gentoo-dev 2007-06-29 12:21:40 UTC
(In reply to comment #11)
> Well, if someone gives us an exact ansi color code we can revisit this, doesn't
> has to be an actual patch.
> 

I am currently using 0xAA00AA , but is possible that David prefers other one :-/
Comment 13 Bo Ørsted Andresen (RETIRED) gentoo-dev 2007-06-29 20:59:00 UTC
(In reply to comment #12)
> (In reply to comment #11)
> > Well, if someone gives us an exact ansi color code we can revisit this,
> > doesn't has to be an actual patch.
> 
> I am currently using 0xAA00AA , but is possible that David prefers other one
> :-/

I think he was more interested in the escape sequence used to produce the correct color in a console (documented in `man 4 console_codes`)...
Comment 14 David Grant 2007-07-04 22:41:10 UTC
Pacho, anything other than pure yellow is fine. :-)