public
Description: Mirror of Win32::Console Gem project with improved MinGW support
Homepage: http://rubyforge.org/projects/winconsole/
Clone URL: git://github.com/luislavena/win32console.git
luislavena (author)
Fri Apr 10 08:48:30 -0700 2009
commit  aff082dbb8302846525d0ccaa08e4931e4067889
tree    981061b0f61e43dd2e3f67617cc08528cc7e1936
parent  ceb2eecf18b43d2cb98efe1c003cc78c72ef5abb
README.txt
This file implements a port of Perl's Win32::Console
and Win32::Console::ANSI modules.

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.

Win32::Console consists of a Ruby .rb interface.
For best performance, this library has been also ported to C.  
If you lack a C compiler, you can still use the class thru the ruby
interface.  If you can compile it, then the ruby interface is not
used and the C functions are called instead.

Win32::Console::ANSI is a class derived from IO that seamlessly
translates ANSI Esc control character codes into Windows' command.exe 
or cmd.exe equivalents.

These modules allow you to develop command-line tools that can take 
advantage of the unix terminal functions while still being portable.
One of the most common uses for this is to allow to color your
output.
The modules are disted with Term/ansicolor.rb, too, as it is a nice
thing to verify it is working properly.