[rspec-devel] Fwd: Changes in edge rspec render colored output useless on Windows

David Chelimsky dchelimsky at gmail.com
Mon Sep 22 20:07:25 EDT 2008


I've re-opened the ticket - can you please add your comments there?

http://rspec.lighthouseapp.com/projects/5645/tickets/413

On Mon, Sep 22, 2008 at 7:04 PM, Luis Lavena <luislavena at gmail.com> wrote:
> Hey Guys, for some reason this message never got into the list. I'm
> forwarding it again just in case.
>
> ---------- Forwarded message ----------
> Date: Tue, Sep 16, 2008 at 10:15 PM
> Subject: Changes in edge rspec render colored output useless on Windows
>
> Hello Guys,
>
> Doing a series of updates in some project just to find out that
> colored output under Windows is no longer working.
>
> win32console, which is the gem that allows ANSI emulation under
> Windows need to grab references and replace STDOUT and STDERR.
>
> After playing with git bisect, I found the offending commit:
>
> Only use color codes on tty; override for autospec
> http://github.com/dchelimsky/rspec/commit/4692fc0140f2c5ff3d25be5991db5336caefe15b
>
> Previous this commit, the output was correct, after it, not.
>
> The originating ticket with the discussion:
> http://rspec.lighthouseapp.com/projects/5645/tickets/413-disable-color-codes-on-stdout-when-stdout-tty-is-false
>
> It seems this change also introduced hacks for making AUTOTEST to work:
> http://rspec.lighthouseapp.com/projects/5645/tickets/422
>
> And we can now add it break windows fancy colored output.
>
> Suggestions?
> --
> Luis Lavena
> AREA 17
> -
> Human beings, who are almost unique in having the ability to learn from
> the experience of others, are also remarkable for their apparent
> disinclination to do so.
> Douglas Adams
> _______________________________________________
> rspec-devel mailing list
> rspec-devel at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-devel
>


More information about the rspec-devel mailing list