GNU bug report logs - #24191
diff: disable colorization for TERM=dumb

Previous Next

Package: diffutils;

Reported by: Jim Meyering <jim <at> meyering.net>

Date: Tue, 9 Aug 2016 01:56:01 UTC

Severity: normal

Done: Jim Meyering <jim <at> meyering.net>

Bug is archived. No further changes may be made.

Full log


Message #10 received at 24191-done <at> debbugs.gnu.org (full text, mbox):

From: Jim Meyering <jim <at> meyering.net>
To: 24191-done <at> debbugs.gnu.org
Cc: Daniel Colascione <dancol <at> dancol.org>
Subject: Re: [bug-diffutils] bug#24191: diff: disable colorization for
 TERM=dumb
Date: Sat, 13 Aug 2016 19:10:57 -0700
On Mon, Aug 8, 2016 at 6:54 PM, Jim Meyering <jim <at> meyering.net> wrote:
>     diff: disable colorization for TERM=dumb
>
>     * src/diff.c (main): With --color or --color=auto, when TERM is
>     "dumb", disable colorization.  Suggested by Daniel Colascione.
>     * NEWS (Bug fixes): Mention it.
>     * tests/colors: Add a test that would fail without this change,
>     yet passes with it.

Pushed.




This bug report was last modified 8 years and 285 days ago.

Previous Next


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