Alexandre Julliard wrote:
>
> Eric Pouech <[EMAIL PROTECTED]> writes:
>
> > > > How about having the debugger do an AllocConsole() instead?
> > > well, AllocConsole will only open an xterm if absolute positionning is required
> > > and if we want to take into account lawson's remark, then this has to be
> > > configurable (either use current unix-tty, or open a new xterm)
> > > we have to introduce an option somewhere (debugger option ?)
> > after playing a bit with the XXXConsoleYYY functions, I have another question:
> > - shall we, when opening a specific xterm with a pty/tty pair, remap
> > the file descriptors (0, 1, 2) (resp FILE handle stdin, stdout, stderr) to
> > the corresponding pseudo tty ?
>
> I think we are doing this already with the Win32 std handles.
yup
> I'm not sure we should do it for the Unix ones. Or maybe we should
> duplicate stderr first to make sure that debug messages go to the original
> terminal; we probably don't want them redirected to the new console.
the unsaid part of my question was whether or not I had to rewrite
all the fprintf:s in the debugger code
sounds the answer is yes
A+
--
---------------
Eric Pouech (http://perso.wanadoo.fr/eric.pouech/)
"The future will be better tomorrow", Vice President Dan Quayle