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


View this message in rfc822 format

From: Jim Meyering <jim <at> meyering.net>
To: 24191 <at> debbugs.gnu.org
Cc: Daniel Colascione <dancol <at> dancol.org>
Subject: bug#24191: diff: disable colorization for TERM=dumb
Date: Mon, 8 Aug 2016 18:54:51 -0700
[Message part 1 (text/plain, inline)]
    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.
[0001-diff-disable-colorization-for-TERM-dumb.diff (text/plain, attachment)]

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.