# \[ANN\] Win32::Console + Win32::Console::ANSI

**URL:** <https://rubytalk.org/t/ann-win32-console-win32-console-ansi/9709>\
**Category:** ruby-talk\
**Created:** [16 January 2004 09:31 UTC](https://rubytalk.org/t/ann-win32-console-win32-console-ansi/9709 "2004-01-16T09:31:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![gga](https://avatars.discourse-cdn.com/v4/letter/g/b487fb/32.png) [@gga](https://rubytalk.org/u/gga)\
**Post date:** [16 January 2004 09:31 UTC](https://rubytalk.org/t/ann-win32-console-win32-console-ansi/9709/1 "2004-01-16T09:31:36Z")

</div>

Announcing the first release of a full port of Perl’s Win32::Console and  
Win32::Console::ANSI.

[http://rubyforge.org/projects/win32console/](http://rubyforge.org/projects/win32console/)

These module allow working with Windows’ Consoles much more easily (changing  
colors, positioning cursor, querying info, and emulating ANSI control  
characters).  
It was also done as an exercise to get myself familiar with ruby’s C  
extensions.

Win32::Console is available in both .rb (similar to Win32API\_Console as it was  
largely based on it) and C++ versions for full speed. But both have identical  
interfaces to Perl (ie. much simpler).

Win32::Console::ANSI allows window’s consoles to seamlessly receive and  
translate Unix ANSI Esc control codes (ie. have all your prints and puts use  
ANSI codes like colors as used in Term/ansicolor.rb).

v0.5 - Module is for most purposes, functional and useful.  
All functions have been ported, but not tested (reading routines, specially).  
No docs (read Perl docs for now).
