MI testsuite to use PTY for inferior

Mark Kettenis mark.kettenis@xs4all.nl
Mon Aug 1 19:34:00 GMT 2005


   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



More information about the Gdb-patches mailing list