tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: colorls in base



On 2/16/19 3:16 AM, Kamil Rytarowski wrote:
On 16.02.2019 03:03, Christian Groessler wrote:
Me not. Let's agree to disagree...
Does it mean that people not interested in music can now prompt for
removing audio support? If they are not interested in it they can move
on and ignore it in their uses-cases.


I've never said that. And I also didn't want to remove the non-existing color support. I'm just opposing to adding it (for the reasons I've mentioned previously).
Didn't you notice my peace offer to not continue the discussion?



It's more visible in code or text editors as they
can show you whether the inserted program or config file is well formed
or not. There were also programming languages using them (forthColor) as
a part of syntax. In the ls(1) case it's much easier to spot that there
is something wrong with a file (like a broken symlink).

Can you see this in colored ls? Then maybe "ls -F" should be enhanced to
show this as well.

Yes (GNU ls).

Adding yet another magic bit in file properties misses the point. It's
the case where colors are useful for such perception of console output
and not replaceable with anything viable.


IDK what you mean with "file properties" in this sentence. Of course, the on-disk structures shouldn't be changed. But if "color ls" can detect and and display a dangling symlink as such, a "non-color ls" should be capable to do so  as well.



The world has moved on, it's today not just color vs no-color, but
truecolor vs ansicolor. For example vt.c was patched in the Linux kernel
in 2014 (rev. cec5b2a97a11a) to handle 24bit color codes in environments
(and they are rather far from fancy end-user environments).

Why not truecolor vs ansicolor vs monochrome. Different shades of gray?

Shades of gray are not distinguishable. Font size changes (supported on
some terminals and xray) would have similar issue.


Pah. Why are they not distinguishable for you? Do you have a problem with your eyes (just kidding)? To me yellow and green on the console are rather indistinguishable, as are red and brown. And dark red is unreadable at all (with a black backgound).

regards,
chris



Home | Main Index | Thread Index | Old Index