From: Luis Lavena Date: 2010-09-29T13:00:13+09:00 Subject: Re: Color sequences in ri on Windows On Sep 28, 9:09 pm, Eric Christopherson wrote: > > Well, using Kernel.system as an example, I get: > ←[0m←[1;32mKernel.system←[m > > (from ruby core) > --------------------------------------------------------------------------- --- >   system([env,] cmd [, arg, ...] [,options])    => true, false or nil > > --------------------------------------------------------------------------- --- > [etc.] > > You're saying that a default RubyInstaller installation shouldn't have > any documentation for Kernel.system? That seems odd. > No, we replaced ri documentation (due its bulkiness) with Windows Help files (CHM) > > But since you mention you generated yourself, this could be related to > > rdoc-data, right? > > Oh, possibly; I do have the rdoc-data gem. > > > 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? > > Where would I find those? In your home directory there should be a folder named .ri To know where is you home directory, execute "gem env path" There should be two directories, one under your Ruby installation (C: \RubyXYZ) and other inside Users or whatever is configured your system to store your personal files. Look for the kernel and system yaml files and see if there are ANSI codes in them. -- Luis Lavena