hi!

On Wed, Dec 22, 2010 at 10:35:04PM +0100, Petr Baudis wrote:
> On Wed, Dec 22, 2010 at 08:55:09PM +0000, Darren Cook wrote:
> > >   Is there any simple way to make gogui and debug prints go well
> > > together? I'd like to start using gogui more when debugging Pachi, but
> > > I'm not sure how to display Pachi's debugging prints within gogui. It
> > > even (inexplicably) silences Pachi's stderr so I cannot watch them in
> > > gogui's terminal...
> > 
> > Windows or linux? At least on Linux, just write to stderr should work.
> > (I think stderr is unbuffered by default, and I don't have any explicit
> > flush calls in my code; I do make sure of the "\n" at the end of each
> > line though.)
> > (Actually I do flush stderr and stdout at the end of the main loop,
> > after processing each command; but I don't think I need to.)
> 
>   So is it expected that program's stderr output appears on gogui's
> stderr output? Since that's certainly not what I'm seeing and I never
> saw gogui behave that way on any system (though I'd certainly wish it
> very much to do this).

  Never mind, I upgraded to gogui-1.2.3 and the stderr output displays
fine in gtp shell window now.

  Thanks,

                                Petr "Pasky" Baudis
_______________________________________________
Computer-go mailing list
[email protected]
http://dvandva.org/cgi-bin/mailman/listinfo/computer-go

Reply via email to