Re: MI testsuite to use PTY for inferior

Mark Kettenis
2005-08-01T19:34:32Z

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 ;-).

Mark