[FFmpeg-devel] [PATCH] add colours to warnings and errors

Måns Rullgård mans
Sun May 2 14:59:45 CEST 2010


Diogo Franco <diogomfranco at gmail.com> writes:

> On 05/02/2010 08:48 AM, M?ns Rullg?rd wrote:
>> Michael Niedermayer <michaelni at gmx.at> writes:
>> 
>>> This patch now makes ansi and win32 exclusive so that ansi is not possible
>>> on win32 anymore.
>>> Is this intended?
>> 
>> I suspect it will disable colour in cygwin xterm at the very least.
>> 
>> It was so much easier when we could just write to 0xb800...
>> 
> Cygwin has ANSI color emulation when you run it in microsoft's lousy
> console window, so maybe check for no _CYGWIN (or whatever is the
> cygwin-specific define)?

We do not accept such lists of if this or not that and something but
not something else.

> Running non-cygwin programs inside cygwin terminal emulators (like
> cygputty, mintty or xterm) will disable colors anyway because isatty
> will return false.

I was talking about running cygwin programs in cygwin xterm.  _WIN32
is set on cygwin iirc, so this patch would disable any kind of
colouring there.

-- 
M?ns Rullg?rd
mans at mansr.com



More information about the ffmpeg-devel mailing list