Comments (5)
What exactly is the bug?
I suggest that you read on the eix manpage the description of the variables TERM_ALT{1,2,3}, DARK, TERM_DARK, COLORFGBG_DARK and set it according to your needs.
If you think that some of the defaults is faulty, be precise, but be aware that the informations which eix can get "automatically" are limited to the TERM and COLORFGBG variables.
from eix.
I also recommend to read the section BUGS (and sort of FAQ) on the eix manpage
from eix.
Ah, didn't see those yet, I see. Thanks for the pointer.
Setting BG0 - BG3 to none in /etc/eixrc/00-eixrc
does remove the background color.
Wouldn't it make more sense to have the background color default to none, though?
This way it wouldn't have any issues out of the box with non-black/transparent terminals and should be pretty visible with most, if not all, color schemes by default.
Besides, if a theme's configured for a black background, the background it's used on should already be black anyway, there shouldn't be a need to manually set it to black per-character.
If a user does desire the black per-character background, they can still configure it, but I'd think most users (that don't have a pure-black background) would prefer not having the black per-character background or would sooner change their whole eix color scheme.
Or am I missing something obvious here?
from eix.
and should be pretty visible with most, if not all, color schemes by default.
Unfortunately, this is not the case: It is not possible to produce a color scheme which uses about 100 of the 256 available colors (eix really makes use of a lot of colors to transport information) such that they all can be optically distinguished and such that most colors are visible (in the sense that they can be read) on most backgrounds. Moreover, there are a lot of terminals which have a very bright background and which do not set COLORFGBG at all, i.e. there are a lot of cases where the heuristics of eix is simply wrong.
When eix switched to 256 color output first, there were of lot of users complaining that at least the default should be such - no matter whether the heuristics succeeds - the output should be readable. The only reasonable way to get such a default (without using only 16 colors always by default) seems to force setting the background color.
Since the default cannot simultaneously be readable and beautiful and use 256 colors in all cases, and IMHO 16 colors is a very poor default for eix, I decided to exclude the second of these 3 conflicting goals.
from eix.
Hmm, fair enough, makes sense.
Never realized eix really uses that many colors. I mean, I noticed it uses a lot of color (and it's lovely), but I never realized it used that many.
In that case I can imagine it'd be pretty much impossible to find a color scheme that works well with everything, AFAIK the standard 16 colors automatically get inverted if they are the same color as the background, but I guess that won't work with 256 colors.
That'd leave you with a choice between forcing users to change the theme themselves to get it usable or using a less-optimal-but-generic theme by default, i.e. by setting the background.
Neither option is optimal, so I guess it makes sense compatibility wins then.
Anyway, thanks for your explanation and pointing me to the solution.
Eix is among the first things I install on any Gentoo box and it's one of the most useful Gentoo utilities IMO, so keep up the good work!
from eix.
Related Issues (20)
- eix-test-obsolete: Feature request to --clean obsolete entries HOT 1
- Ability to hide updates that change only ebuild revision in eix-diff HOT 1
- eix-test-obsolete should tolerate */* and cat/* in package.license HOT 1
- eix doesn't understand -r0 HOT 4
- GPKG format (binary package) support in eix HOT 9
- Include remote-id URls in HOMEPAGE or other field in `eix` output HOT 4
- Not linked with protobuf-22.0 - undefined reference to «google::protobuf::internal::ThreadSafeArena::thread_cache_» HOT 4
- 0.36: eix-diff doesn't list masked packages [by default]? HOT 1
- eix doesn't check cli options' arguments HOT 1
- eix lists deleted ebuilds from overlays HOT 7
- eix -r/--regex option should be case-sensitive by default HOT 1
- {upgrade} does not expand to 1 even though at least one slot can be upgraded HOT 7
- eix-diff should highlight update of sys-apps/portage whenever it's available HOT 1
- [FR] Complain about unreadable portage configs HOT 6
- eix-remote update needs to fail if not run as root. HOT 1
- eix-remote fails to create temporary directory on pambase[mktemp] system HOT 1
- eix-sync fails with "quoter_pipe.sh from https://github.com/vaeth/quoter/ is needed" HOT 5
- eix and terminology's transluciency HOT 2
- "eix --color -S" silently ignores -S HOT 7
- eix-test-obsolete: profile support HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from eix.