On Tue, Mar 4, 2008 Johannes Schindelin wrote:
>
>  On Tue, 4 Mar 2008, Peter Harris wrote:
>
>  > It looks like msys-based apps get color if they're running under an msys
>  > shell. It looks like git is compiled as a mingw application, not an msys
>  > application.
>
>  Ah, that is the explanation.
>
>  No, Git should not be compiled as an MSys application.  MSys only provides
>  a very rudimentary POSIXish environment, and it is really only meant for
>  the official MSys programs.  (We slightly abused it, to get git-svn to
>  run.)

That makes sense.

For reference, the ANSI color code is in the file
MSYS-1.0.11-20071204-src\source\winsup\cygwin\fhandler_console.cc
...and msys is GPL2, so maybe we can borrow some of that code. Hmm.

Peter Harris

Reply via email to