GNU bug report logs - #20062
[PATCH] diff: add support for --color

Previous Next

Package: diffutils;

Reported by: Giuseppe Scrivano <gscrivan <at> redhat.com>

Date: Sun, 8 Mar 2015 21:57:02 UTC

Severity: normal

Tags: patch

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

Bug is archived. No further changes may be made.

Full log


Message #143 received at 20062 <at> debbugs.gnu.org (full text, mbox):

From: Giuseppe Scrivano <gscrivan <at> redhat.com>
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: 20062 <at> debbugs.gnu.org
Subject: Re: [bug-diffutils] bug#20062: [PATCH] diff: add support for --color
Date: Fri, 11 Sep 2015 18:41:01 +0200
Hi Paul,

Paul Eggert <eggert <at> cs.ucla.edu> writes:

> I finally got around to looking at it.  Doesn't it have the problem
> that if you type Control-C while it is in the middle of outputting a
> change-color sequence, your terminal may end up in a strange state?  I
> thought there was a standard way in other GNU programs to deal with
> this, but am not familiar with the topic.

we are dealing with the issue in the last version of the patch, and that
was the main issue reported and that took a while to get addressed :)

No, 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.

Thanks,
Giuseppe




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

Previous Next


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