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

Bug#456943: Weird colored output issues



On Sun, Dec 23, 2007 at 11:00:17AM +0100, Loïc Minier wrote:
>         Hi,
> 
> On Fri, Dec 21, 2007, Thomas Dickey wrote:
> > I'd suggest you reassign this to gnome-terminal (but since it applies
> > to each of the other terminals I mentioned, that would require some
> > additional work).
> 
>  Thanks for your thorough analysis!  I can only imagine you're correct
>  in pointing out that gnome-terminal and friends are not honoring the
>  rules of VT10x standards, and I'll clone the bugs against the
>  implementations you mentionned.  My top interest in the bug is to have
>  grep --color display properly (instead of mangling the output in
>  standards-compliant terms); do you think a more reasonnable sequence
>  could be used by grep instead so that I can recommend a proper
>  implementation when reassigning to grep?

At the moment, I can't think of anything except the less-elegant solution
of inserting newlines into the text to make it wrap as expected.  (It's
less elegant since redirecting the text to a file will have the newlines,
and also because then grep would have to know the terminal width).

-- 
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net

Attachment: pgpcF7s4DW6i4.pgp
Description: PGP signature


Reply to: