GNU bug report logs - #15992
'ls' ignores term capabilities when generating color.

Previous Next

Package: coreutils;

Reported by: Linda Walsh <coreutils <at> tlinx.org>

Date: Thu, 28 Nov 2013 20:32:02 UTC

Severity: normal

Done: Pádraig Brady <P <at> draigBrady.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Pádraig Brady <P <at> draigBrady.com>
To: 15992 <at> debbugs.gnu.org, coreutils <at> tlinx.org
Subject: bug#15992: 'ls' ignores term capabilities when generating color.
Date: Fri, 18 Apr 2014 11:28:16 +0100
[Message part 1 (text/plain, inline)]
On 04/17/2014 02:14 AM, Pádraig Brady wrote:
> On 04/16/2014 07:21 PM, Bernhard Voelker wrote:
>> On 04/16/2014 05:56 PM, Pádraig Brady wrote:
>>> I've cleaned up the patch and added a test.
>>> If you're Ok with it I'll push.
>>
>> Minor nit:
>>
>>> +++ b/tests/ls/color-term.sh
>>> [...]
>>> +# Don#t output colors
>>
>> s/Don#t/Don't/
>>
>> Otherwise +1.
>>
>> Thanks & have a nice day,
>> Berny
>>
> Guilherme confirmed privately that adjustments are OK,
> so pushing now.

I pushed this follow up to avoid test failures
(since tests were dependent on the COLORTERM
being set in the environment).

thanks,
Pádraig.

[ls-colorterm.patch (text/x-patch, attachment)]

This bug report was last modified 11 years and 94 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.