From: Eric Christopherson Date: 2010-10-01T04:43:54+09:00 Subject: Re: Color sequences in ri on Windows On Thu, Sep 30, 2010 at 11:34 AM, Roger Pack wrote: > >> Well, using Kernel.system as an example, I get: >> ←[0m←[1;32mKernel.system←[m > > ri doesn't have a "--no-color" option? > It probably should (and used to work fine).  Maybe take it up with them. Apparently it doesn't any longer. And I'm still a little confused as to why ri output now has colors by default, though -- I don't know if it's a change in ri, or if the new rdoc files I just installed have colors embedded in them, or what. (I don't recall which ri files used to display without colors.) Also (this is to Luis), I tried removing and reinstalling some gems, and I still don't have a .ri folder, nor have I found any YAML files in my whole Ruby installation. > Until then you could try installing the win32-console gem, or pipe your > output through wac [1] or perhaps instruct your computer to load > ansi.sys [2] (though I've never tried the latter). I did try win32console, but it didn't help. I will look into wac. And from my recent reading on the subject, ansi.sys doesn't work in modern versions of Windows. > > > [1] > http://groups.google.com/group/cukes/browse_thread/thread/14a4ded4d083f7c?pli=1 > [2] http://support.microsoft.com/kb/101875 > -- > Posted via http://www.ruby-forum.com/. > >