Re: MI testsuite to use PTY for inferior

Eli Zaretskii
2005-08-01T20:45:14Z

> Date: Mon, 1 Aug 2005 21:01:44 +0200 (CEST)
> From: Mark Kettenis <mark.kettenis@xs4all.nl>
> CC: gdb-patches@sources.redhat.com
>
> Terminals are quite different from "normal" pipes. For example stdio
> is line buffered for (pseudo) terminals but normally buffered for
> other streams.

I'm quite sure I've heard this once or twice before ;-)

Seriously, though: buffering and other aspects of I/O relevant to
terminals can be fixed by suitable calls to termios or similar
functions.

In addition, a file handle redirected to the pipe vis-a-vis a FE
doesn't necessarily need to be line buffered.

So I don't see this as a big problem. (At least in theory; I don't
think I will have enough free time to work on this for the Windows
port anytime soon.)