Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 657034 - Portage Color Map for terminal with white background
Summary: Portage Color Map for terminal with white background
Status: CONFIRMED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Configuration (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-06-01 08:22 UTC by Account Removed
Modified: 2023-01-10 10:51 UTC (History)
3 users (show)

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


Attachments
Screenshot 1 (unreadable yellow "R") (bildschirmfoto.png,3.81 KB, image/png)
2018-06-01 08:22 UTC, Account Removed
Details
Screenshot 2 (set yellow=brown) (bildschirmfoto2.png,3.80 KB, image/png)
2018-06-01 08:23 UTC, Account Removed
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Account Removed 2018-06-01 08:22:06 UTC
Created attachment 534372 [details]
Screenshot 1 (unreadable yellow "R")

When a terminal console is set to have a white background, as is recommended for the health of human eyes, yellow text (used for numbers indicating merge progress and for warnings, according to "man color.map") is nearly unreadable for the human eye on that white background (see screenshot 1).

Looks like a workaround for this problem is to have the line

yellow = brown

in the file /etc/portage/color.map

(see screenshot 2)
But for a more generic and comfortable solution, I would suggest to offer an additional color map, that is optimized for white(or light) background color.

The user should that have the possibility to select that light background color map, maybe through setting a parameter in the file /etc/portage/color.map like

background = light

An example for the possibility of selecting color scheme for different background color is the editor "vim", where the user can put the line

set background=light

or

set background=dark

in the file .vimrc so "vim" sets the colors optimized for the according color of background.
Comment 1 Account Removed 2018-06-01 08:23:44 UTC
Created attachment 534374 [details]
Screenshot 2 (set yellow=brown)