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

Bug#399714: ANSI color output (attached)



Loïc Minier <lool@dooz.org> writes:

>  I wish lintian would support ANSI color output.  The attached patch
>  works for me.

Thank you for the patch!  This looks basically good to me and I haven't
forgotten about it, but I wanted to get a new version of lintian uploaded
that supports the new gettext msgcmp.

The one thing that I think should probably be changed is that lintian
should probably default to not using color and support
--color={never,always,auto} similar to ls.  The problem with defaulting to
using color is that we have no idea what background and foreground color
someone is using for their shell and we may inadvertantly produce
something that's unreadable.  That looks like it's a fairly simple change
to your patch.

-- 
Russ Allbery (rra@debian.org)               <http://www.eyrie.org/~eagle/>



Reply to: