You seem to think that someone whose opinion differs from yours is a valid excuse to belittle and insult them
No, I don't. Reread the thread to see that.
I use a snarky, spiky response to raise heckles, then show factual help and advice on solving the issue. It works: on those capable, it makes them think. On those not capable, it makes them retaliate. If I omit the snarky bit, the advice is ignored. So, I find the snarky bit necessary when others might be lead astray by the associated misconceptions, as the most effective way to correct the misconceptions.
That's neither adult, nor civil behaviour.
Go play SWJ on twitter, please. Here, that sort of indignant posturing is met with laughter, as is proper.
all we're doing is voicing the opinion that some of the default colour choices are ergonomically poor
Unless you prove that by showing a better set, that is just farting in the wind: no positive value to anyone, just stinking up someone elses air.
I could voice my opinion that you are an <
X> with an inflated <
Y>, but doing so is also just farting in the wind, and contributes nothing to this thread. What you write here shows that already, and those who care, will see it for themselves; there is absolutely no reason for me to do so.
As I mentioned above, I have not encountered anyone who had a better set of default ls/grep/gcc ANSI color outputs.
What I do have encountered, and have helped others set, quite a few times, is adjust the representation of those 16 colors in their preferred terminal emulator and text editors, including background color,
to better suit their particular use case. This is the key point here.
The default color set is explicitly designed to not be optimal for anyone, but to work with both dark and light backgrounds. Different terminal emulators, and different desktop environments, default to a different terminal background color, and bash cannot detect it in a portable manner. So, the default set is a compromise, and must be treated as such.
This is typical to Linux: the defaults work for most situations, but to make the system work well for you, you need to override them.
If the developers assumed, like you do, that terminal emulators typically have a white background, then they could have picked a better set; but that set would almost certainly be completely horrible for the other half of terminal emulators that default to a dark background. For example, on this Ubuntu 18.04 LTS installation, gnome-terminal, mate-terminal, terminator, and xterm all default to a dark background.
For Xterm, it depends on your local
/etc/X11/app-defaults/XTerm-color file, and what you have set for the
*VT100*background: setting.
The developers, however, have been completely open about this, and have tried to make it as easy as possible for users to override the color sets, both the ANSI color sequences used for different elements via
LS_COLORS/
GCC_COLORS/
GREP_COLORS, and the actual display representation of those colors, to match their own workflow: their preferred terminal emulator color scheme including background color, and use cases.
Can you see the fundamental disjoint here? That the defaults are not intended to be polished or ergonomic for
any specific user case like yours, but are a set that works in all situations
well enough? And that
that is exactly the huge alien idea I'm trying to get you to understand?
Commercial products need to have a specific supported polished configuration, with users on their own if they deviate from it.
Some push that to Linux also, and that is what I oppose.
It is a bug of sorts to have to dig up through documentation (other than a quick
man -k colors,
man bash, or
man ls) to find this functionality, and if rstofer has some advice on where the documentation should be for users to be more likely to find it, I've already offered to help push a fix to that. (I now think
man dircolors would be the best place, but it'll be next Thursday I talk to suitable test
victims users to see if they'd find the advice there.)
But to claim that the defaults are bad is wrong, because the defaults are supposed to work on different background colors, and therefore cannot be optimal or even particularly ergonomic for your case; and to not realize that your particular terminal background color is not a given by any means, is just silly. Shellfish, even.
The only reasonable action, aside from making the documentation better, is to
customize the tool to fit your needs best.
See? I've been trying to help you see this seemingly alien idea all along. I'm not angry, I'm not shouting; I'm just using whatever tools I have to point it out. If I do it nicely and in a politically correct manner, the idea is lost among the babble. The snarkiness itself is just a tool to get others to notice the alien idea here.
So calm down and look at the world you've missed for your presuppositories.