Comment 6 for bug 242115

Revision history for this message
Aaron Bentley (abentley) wrote : Re: [Bug 242115] Re: cdiff should detect if there is a terminal

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Daniel Clemente wrote:
> The problem is that --color=always is the default, instead of
> --color=auto, which is more a reasonable and extended behaviour.

color=auto will disable color when cdiff is piped to less -R, which is
broken. It is entirely appropriate for a program designed to emit
colorized diffs to default to emitting colorized diffs.

Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkoMMCUACgkQ0F+nu1YWqI0MPgCfS6/yvD8sJrlqO701oHMbKviP
TA8An1S5sDzDO5YjNQ18Humnl87beWit
=TPRf
-----END PGP SIGNATURE-----