From: Alex Young Date: 2007-09-05T16:19:31+09:00 Subject: Re: running ruby Nobuyoshi Nakada wrote: > Hi, > > At Wed, 5 Sep 2007 05:18:28 +0900, > Alex Young wrote in [ruby-talk:267595]: >> Right click on the title bar of the console window, and select >> Properties. Set the colours up on the Colors tab. I don't know if it's >> possible to control this from Ruby - I'd expect it would be, but I've >> never needed to... > > I guess you can do it by setting the ColorTable## under the > registory key, \\HKEY_CURRENT_USER\Console. I don't know if > there are other ways. > I was thinking more along the lines of control codes. You can run "color 70" at the command prompt, and that'll invert the colours (documented here: http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/cmd.mspx?mfr=true) but I can't think how to do that from within a script running under that shell. -- Alex