bug-diffutils
[Top][All Lists]
Advanced

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

[bug-diffutils] bug#20062: bug#20062: [PATCH] diff: add support for --co


From: Paul Eggert
Subject: [bug-diffutils] bug#20062: bug#20062: [PATCH] diff: add support for --color
Date: Fri, 11 Sep 2015 09:56:25 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0

Giuseppe Scrivano wrote:
unfortunately there is not a standard way to deal with it.  Last
time I looked at it, grep was suffering from this issue (Ctrl-C in the
middle of a color sequence) would leave the terminal in a funny state.

That's a bug in grep, and I just now filed a bug report for it here:

http://bugs.gnu.org/21461

Admittedly it is a pain to handle signals correctly, but as long as we're adding the feature to diff we should do it right. I suggest looking at how GNU 'ls' does it; 'ls' is reasonably bullet-proof against the problem.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]