Re: [msysGit] Re: Need your help with MinGW Issue 17: --color options don't work (produce garbage)
- From
- Rogan Dawes <lists@dawes.za.net>
- Date
- Aug 15, 2007, 22:04 UTC
- Message-ID
- <46C37863.4020203@dawes.za.net>
- In-Reply-To
- <7vsl6ko51b.fsf@gitster.siamese.dyndns.org>
Junio C Hamano wrote:
Show 9 quoted lines
> Rogan Dawes <lists@dawes.za.net> writes: > >> Users that *do* need to use rxvt or SSH should simply disable the >> color mode, or alternatively, use the cygwin version. Color, while >> useful, is hardly critical functionality. > > Heh, that almost suggests that the native Windows command.com > support can disable the color without upsetting anybody ;-) >
If that is the easiest way, yes.
I *do* think that trying to get color working on the DOS cmdline is a worthy goal. I just don't think it is worth overcomplicating the issue and trying to handle rare corner cases such as someone SSHing into a Windows box, or running CMD inside rxvt.
One approach that might be more compatible with the existing escape code approach is to define the appropriate ANSI color escape sequences. Ah, a bit more googling shows that cmd.exe doesn't handle ANSI sequences in Windows NT and later.
Regards,
Rogan