From: Luis Lavena Date: 2010-09-29T08:48:06+09:00 Subject: Re: Color sequences in ri on Windows On Sep 28, 8:14 pm, Eric Christopherson wrote: > After installing some gems, the system recommended that I refresh ri > and rdoc. I may have actually updated the ri and rdoc programs too; > unfortunately I don't remember which commands I used. After that, > whenever I use ri the output is full of ANSI color sequences; I'm on > Windows (using 1.9.1p429 from RubyInstaller) using the Windows > console, so they don't display as color. I thought maybe installing > win32console would fix it, but it didn't. > > So: What commands might I have typed that put color sequences into ri? > And how do I either remove the color sequences, or make them display > as color? By "ri colors" you mean invoking "ri Kernel.system" ? If you used RubyInstaller releases, you should get: No usage information available for this program Note to developer: requested section(s) [Installing Documentation] not found But since you mention you generated yourself, this could be related to rdoc-data, right? I'm unaware of any command that turns ri ANSI color coding except if the documentation was generated with these colors. Can you check the ri yaml documents for these ANSI escape sequences? -- Luis Lavena