On Sat, 2008-11-29 at 11:39 +0100, gregor herrmann wrote: > In 2.1.0 the friendly --color option doesn't work any more. > > If I change the following: [define %default_colors before creating the $GLOBAL output object] > I get --colors=always back.
That looks "obviously correct" to me; thanks. > - --colors=auto still fails because $self->stdout gets changed from > \*STDOUT to \*::OUTPUT_PIPE somewhere and therefore _do_color returns false. > Unfortunately I have no idea where/how this happens ... I'm guessing you're calling lintian with "-i"? If so, that's because the extra output is generated by piping lintian's output to lintian-info, which now causes the colour to be disabled when using "auto". I'm looking at a patch that makes lintian able to generate the output itself, thus allowing the combination of -i and --color=auto to work again (and will post it to the list for review once I've done some more testing). Regards, Adam -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]