Red Hat Bugzilla – Bug 186862
add support for color ls for xterm-256color
Last modified: 2008-01-17 09:37:08 EST
If TERM is set to xterm-256color, color ls does not work by default
Can you please add the line:
to /etc/DIR_COLORS (and/or /etc/DIR_COLORS.xterm) to make this work?
It might even be nice to add separate support for xterm-256colors in order to
take advantage of the higher number of colors.
The format would be like
for the color foreground:
and for the background:
xterm in FC5 is compiled with 256 colors support by default, gnome-terminal will
soon get support for 256 colors, so more and more users could use this...
If someone that has some clue about colors can decide which of the 256 colors to
use for each file type, I can do the rest.
It would be nice if the colors chosen are readable on both a white and a black
One easy way to see the available colors is to run:
env TERM=xterm-256color emacs -nw -f list-colors-display
Sorry for that forgotten bugzilla. Closing NEXTRELEASE. There is similar
bugzilla ticket against RAWHIDE (#239266) , got fixed in RAWHIDE
(coreutils-6.9-17.fc9) and will be fixed later in F8/F7.
(In reply to comment #2)
> Sorry for that forgotten bugzilla. Closing NEXTRELEASE. There is similar
> bugzilla ticket against RAWHIDE (#239266) , got fixed in RAWHIDE
> (coreutils-6.9-17.fc9) and will be fixed later in F8/F7.
Looking at coreutils-6.9-17.fc9, this BZ is NOT fixed. This is not only about
adding a line in /etc/DIR-COLORS so that colors work on a 256 color terminals,
but more about actually making use of the 256 colors to improve the display.
So please reopen this bug. Thanks.
According to bugzilla title and description this bugzilla actually IS FIXED in
coreutils-6.9-17.fc9. You wrote "it might even be nice" about that enhanced
color support - I agree with you and I will try to do something like that for
F9. Anyway - that bugzilla is against FC-5 which is EOL(and was EOL when I got
maintainance of coreutils in OCT 2007) and there will be no updates for it.
Because of that NEXTRELEASE is correct closing state for me.
So support for colored ls for xterm-256color was imho added, this bugzilla is
marked as F8target(actually missed), I(or you) could create new bugzilla against
Rawhide with Keywords FutureFeature - but I think this FC-5 ticket should stay
(In reply to comment #4)
> So support for colored ls for xterm-256color was imho added, this bugzilla is
> marked as F8target(actually missed), I(or you) could create new bugzilla against
> Rawhide with Keywords FutureFeature - but I think this FC-5 ticket should stay
OK, I didn't know what the correct protocol is. I opened another BZ: 429121
with this topic. Thanks