# Feature request: output well in windows

**URL:** <https://www.ruby-forum.com/t/feature-request-output-well-in-windows/156022>\
**Category:** Mongrel\
**Created:** [December 19, 2008, 12:04pm UTC](https://www.ruby-forum.com/t/feature-request-output-well-in-windows/156022 "2008-12-19T12:04:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rogerdpack](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/45deac/32.png) [@rogerdpack](https://www.ruby-forum.com/u/rogerdpack)\
**Post date:** [December 19, 2008, 12:04pm UTC](https://www.ruby-forum.com/t/feature-request-output-well-in-windows/156022/1 "2008-12-19T12:04:44Z")

</div>

I realize not many people will benefit from this, but it would be nice  
if mongrel\_rails, in development mode, output the tail of its log “with”  
color output on windows.  
Currently it outputs it with the Linux style coloration marking which is  
somewhat confusing.  
Thanks!  
-=R

---

<div class="post-metadata">

**Author:** ![rogerdpack](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/45deac/32.png) [@rogerdpack](https://www.ruby-forum.com/u/rogerdpack)\
**Post date:** [December 20, 2008, 7:18pm UTC](https://www.ruby-forum.com/t/feature-request-output-well-in-windows/156022/2 "2008-12-20T19:18:21Z")

</div>

On Fri, Dec 19, 2008 at 9:04 AM, Roger P. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> I realize not many people will benefit from this, but it would be nice  
> if mongrel\_rails, in development mode, output the tail of its log “with”  
> color output on windows.  
> Currently it outputs it with the Linux style coloration marking which is  
> somewhat confusing.

Is not possible.

For that mongrel will require to depend on win32console to capture  
ANSI coloring and output colored strings.

ANSI coloring differs from Windows coloring since Windows allow page  
locks and memory buffers to be updated. In that front, ANSI is dumb.

If you want color highlight use tail from msys 😉

Anyway, now I realize it better, mongrel\_rails doesn’t output with  
colors, the one that outputs is Rails to log/development.log.

## Regards,

## Luis L. 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

---

<div class="post-metadata">

**Author:** ![rogerdpack](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/45deac/32.png) [@rogerdpack](https://www.ruby-forum.com/u/rogerdpack)\
**Post date:** [December 20, 2008, 8:20pm UTC](https://www.ruby-forum.com/t/feature-request-output-well-in-windows/156022/3 "2008-12-20T20:20:29Z")

</div>

> Is not possible.
> 
> For that mongrel will require to depend on win32console to capture  
> ANSI coloring and output colored strings.

Interesting. Thanks for the info 🙂  
-=R
