From: Luis Lavena Date: 2010-03-15T07:03:31+09:00 Subject: [ANN] win32console 1.3.0 Released win32console version 1.3.0 has been released! * * * Win32::Console allows controling the windows command line terminal thru an OO-interface. This allows you to query the terminal (find its size, characters, attributes, etc). The interface and functionality should be identical to Perl's counterpart. A port of Perl's Win32::Console and Win32::Console::ANSI modules. This gem packages Gonzalo Garramuno's Win32::Console project, and includes a compiled binary for speed. The Win32::Console project's home can be found at: http://rubyforge.org/projects/win32console Changes: ### 1.3.0 / 2007-03-14 * Enhancements * Works with Ruby 1.9 * Usage of Hoe and rake-compiler to ease releasing and extension compilation. * Redirect STDERR to be processed also for ANSI codes. Closes GH-4 * Allow ECHO to be displayed [jloveces] * Bugfixes * Properly catch coloring when using autospec in Ruby 1.9 [vertiginous] Closes GH-3 * Known issues: * win32console no longer automatically translate encoding to the console output enconding. Please use Iconv to convert from your encoding (eg. UTF8) to current console output: current_cp = Win32::Console::OutputCP() Iconv.iconv("cp#{current_cp}", "utf-8", utf_string) A working example can be seen here: http://gist.github.com/265593 -- Luis Lavena AREA 17 - Perfection in design is achieved not when there is nothing more to add, but rather when there is nothing more to take away. Antoine de Saint-Exupéry