Re: MI testsuite to use PTY for inferior

Mark Kettenis
2005-08-01T19:01:54Z

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.

Mark