patchgrep - Patches: patch #3801, Red Hat's "color" patch

 
 

You are not allowed to post comments on this tracker with your current authentication level.

patch #3801: Red Hat's "color" patch

Submitter:  Charles Levert <charles_levert>
Submitted:  Tue 08 Mar 2005 11:58:41 AM UTC
   
 
Category:  None Priority:  5 - Normal
Status:  Wont Do Privacy:  Public
Assigned to:  None Open/Closed:  Closed

Mon 13 Jun 2005 08:26:49 PM UTC, comment #4: 

Obsoleted by bug #11022 is what I meant.

Julian Foad <julianfoad>
Mon 13 Jun 2005 08:23:46 PM UTC, comment #3: 

Obsoleted by patch #11022.

Julian Foad <julianfoad>
Thu 28 Apr 2005 12:19:50 PM UTC, comment #2: 

This patch #3801 is completely obsoleted by patch #3644.  The shortcoming of this approach are also discussed under bug #11022, which includes its own attached patch which can also be considered obsolete and should not be applied to CVS.

Charles Levert <charles_levert>
Thu 28 Apr 2005 11:44:39 AM UTC, comment #1: 

https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=138913

Summary: if grep's output causes the terminal to scroll while grep is printing text with a different background colour, the terminal fills the new line with that background colour and then grep may not fill the whole line with new text, so the end of the line remains the wrong colour.

This patch attempts to print a "clear to end of line" control sequence after the output, which gives the desired effect in this case.  I'm not completely sure that this is the right thing to do anyway, though it may be and I can't think of anything better.

However, the current version of the patch appears to miss the "only_matching" and "match_icase" cases.

Julian Foad <julianfoad>
Tue 08 Mar 2005 11:58:41 AM UTC, original submission:  

This item is created to document in Savannah the existence of the following patch from Red Hat/Fedora:
  <http://cvs.fedora.redhat.com/viewcvs/devel/grep/>
  :pserver:anonymous@cvs.fedora.redhat.com:/cvs/dist
  grep-2.5.1-color.patch

Here is the relevant log content:
  * Tue Nov 16 2004 Tim Waugh <twaugh@redhat.com> 2.5.1-39
  - Fixed last patch.
  * Tue Nov 16 2004 Tim Waugh <twaugh@redhat.com> 2.5.1-38
  - Applied patch from Karsten Hopp to fix background colour problems with --color output (bug #138913).

Charles Levert <charles_levert>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Digest:
   bug dependencies.

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

 

Follow 8 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2005-06-13 julianfoad DependenciesRemoved dependency to patch #3644 -
2005-06-13 julianfoad StatusNone Wont Do
    Open/ClosedOpen Closed
2005-04-28 charles_levert SummaryRed Hat\'s \ Red Hat's "color" patch
    Dependencies- Depends on bugs #11022
2005-04-28 charles_levert SummaryRed Hat's &quot;color&quot; patch Red Hat\'s \
    Dependencies- Depends on patch #3644
2005-04-28 charles_levert Dependencies- bugs #11022 is dependent

Back to the top

Powered by Savane 3.13-3230.
Corresponding source code