From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7626 invoked by alias); 1 Aug 2005 19:34:32 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 7614 invoked by uid 22791); 1 Aug 2005 19:34:29 -0000 Received: from sibelius.xs4all.nl (HELO sibelius.xs4all.nl) (82.92.89.47) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Mon, 01 Aug 2005 19:34:29 +0000 Received: from elgar.sibelius.xs4all.nl (root@elgar.sibelius.xs4all.nl [192.168.0.2]) by sibelius.xs4all.nl (8.13.0/8.13.0) with ESMTP id j71JYNoB030600; Mon, 1 Aug 2005 21:34:23 +0200 (CEST) Received: from elgar.sibelius.xs4all.nl (kettenis@localhost.sibelius.xs4all.nl [127.0.0.1]) by elgar.sibelius.xs4all.nl (8.13.4/8.13.3) with ESMTP id j71JYM21014460; Mon, 1 Aug 2005 21:34:22 +0200 (CEST) Received: (from kettenis@localhost) by elgar.sibelius.xs4all.nl (8.13.4/8.13.4/Submit) id j71JYMsk024168; Mon, 1 Aug 2005 21:34:22 +0200 (CEST) Date: Mon, 01 Aug 2005 19:34:00 -0000 Message-Id: <200508011934.j71JYMsk024168@elgar.sibelius.xs4all.nl> From: Mark Kettenis To: drow@false.org CC: eliz@gnu.org, gdb-patches@sources.redhat.com In-reply-to: <20050801192545.GA17803@nevyn.them.org> (message from Daniel Jacobowitz on Mon, 1 Aug 2005 15:25:45 -0400) Subject: Re: MI testsuite to use PTY for inferior References: <17131.64575.780190.163527@farnswood.snap.net.nz> <20050730230309.GA22547@white> <20050731012111.GB13808@nevyn.them.org> <20050731131653.GC22547@white> <20050731153051.GA28158@nevyn.them.org> <20050731212021.GA24144@white> <20050801113002.GB24853@white> <200508011901.j71J1i1w026583@elgar.sibelius.xs4all.nl> <20050801192545.GA17803@nevyn.them.org> X-SW-Source: 2005-08/txt/msg00029.txt.bz2 Date: Mon, 1 Aug 2005 15:25:45 -0400 From: Daniel Jacobowitz 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 > > (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