Author: Ralf Elvsén
Date: 11:38:17 04/08/02
Go up one level in this thread
On April 08, 2002 at 12:01:07, Russell Reagan wrote: >I'm curious if this will work for integrating winboard/xboard support for my >console chess program. Rather than determining whether or not to send output >based on whether the program is in winboard mode or console mode, could I simply >write to standard error for console output and standard output for >winboard/xboard output? If I recall correctly, winboard/xboard only reads from >the program's standard output. Thanks. > >Russell Xboard redirects stdout and stderr at startup so all output will go to Xboard. As I didn't like that I located the relevant code and commented out the stderr-thing, then recompiled Xboard. Now I write debuginfo to stderr. Ugly but it works, I don't have to care whether I run with Xboard or not. Btw, I have several other Xboard-hacks: I interact with my runtime-debugger via my own Xboard-menue, my engine can set the position instead of being Xboards slave etc. All very handy and time saving for debugging. Ralf
This page took 0 seconds to execute
Last modified: Thu, 15 Apr 21 08:11:13 -0700
Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.