Re: MI testsuite to use PTY for inferior

Bob Rossi
2005-08-01T19:43:58Z

On Mon, Aug 01, 2005 at 09:34:22PM +0200, Mark Kettenis wrote:
> Date: Mon, 1 Aug 2005 15:25:45 -0400
> From: Daniel Jacobowitz <drow@false.org>
>
> On Mon, Aug 01, 2005 at 09:01:44PM +0200, Mark Kettenis wrote:
> > Date: Mon, 01 Aug 2005 21:45:18 +0300
> > From: Eli Zaretskii <eliz@gnu.org>
> >
> > (Shrug) What about redirecting one of the streams to another file
> > handle? I think any modern platform will support this. We could, for
> > example, make this an option (it could be on by default if PTYs aren't
> > supported).
> >
> > Terminals are quite different from "normal" pipes. For example stdio
> > is line buffered for (pseudo) terminals but normally buffered for
> > other streams. So this affects basically any program.
>
> Yes, but I think Eli's still basically right here: if you don't have
> PTYs, then preserving terminal semantics isn't terribly important.
>
> Oh, yes. As long as it isn't the default, this certainly makes sense.
> So anyone who cares about windows, feel free to implement this ;-).

To me, it's more or less to hear a public profession of how GDB should
work on windows. This allows me to change the way GDB works involving
TTY's and not feel so bad.

Bob Rossi