[Mongrel] feature request: output well in windows

Luis Lavena luislavena at gmail.com
Sat Dec 20 13:17:21 EST 2008

On Fri, Dec 19, 2008 at 9:04 AM, Roger Pack <lists at ruby-forum.com> 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.

Luis Lavena
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

More information about the Mongrel-users mailing list