This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: MI testsuite to use PTY for inferior


   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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]