/etc/DIR_COLORS does not contain TERM screen.linux This causes screens not to get colors. Reproducible: Always Steps to Reproduce: 1. emerge the newest bash version 2. emerge the newest screen version 3. start screen Actual Results: The terminal inside screen has no colors Expected Results: The terminal should have colors like the rest of the system. It can easily be fixed by adding this line to /etc/DIR_COLORS: TERM screen.linux
I ran a check on this since I use PuTTY (and thus, my TERM gets set to putty), and from what I can tell, the 'dircolors' used /etc/bash/bashrc to check the valid terms, does not read /etc/DIR_COLORS, but rather has its own builtin database. If you want to modify that, you have to craft a patch to coreutils to mod it, which I've done for "TERM putty", but haven't yet put the patch up anywhere.
the plan is to update bashrc to use dircolors so we dont have to maintain two sep lists for the same thing
I already talked with agriffis about this issue. We'll change the dircolors call to just grep /etc/DIR_COLORS for the current TERM. This allows users to add additional terms.
Seems to have been fixed, closing bug.
Ok, I fixed it after you closed this. *shrug* See app-shells/bash/files/bashrc