> Date: Tue, 11 Oct 2011 22:11:23 +0200
> From: Sebastian Pipping <sebast...@pipping.org>
> 
> >       * The implementation is clean and portable and doesn't add lots of
> >         complexity to the code.  Does everything support the color codes
> >         you're using?  I don't want to have to link with ncurses or
> >         something to get portable colorization.
> 
> No plans on using ncurses here.  I suppose if we do what grep does were
> safe enough portability-wise?  I'll check what I can learn from there.

Please don't assume that writing some special character sequences to
stdout is all that's needed.  This is so on Posix platforms, but not
Windows or DOS.  To be truly portable, there should be an API that
accepts a string and the information how to color it, and then a
platform-specific backend actually produces the colored output and
writes it to the screen.

Thanks.

_______________________________________________
Bug-make mailing list
Bug-make@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-make

Reply via email to