win32console version 1.3.0 has been released!
- http://rubyforge.org/projects/winconsole
- http://github.com/luislavena/win32console
- http://rdoc.info/projects/luislavena/win32console
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 G.'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
- Properly catch coloring when using autospec in Ruby 1.9
-
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: Test upcoming win32console gem with auto codepage adjustment · GitHub
-