From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20070 invoked by alias); 1 Aug 2005 19:01:54 -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 20058 invoked by uid 22791); 1 Aug 2005 19:01:51 -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:01:51 +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 j71J1i62006028; Mon, 1 Aug 2005 21:01:44 +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 j71J1iVY031281; Mon, 1 Aug 2005 21:01:44 +0200 (CEST) Received: (from kettenis@localhost) by elgar.sibelius.xs4all.nl (8.13.4/8.13.4/Submit) id j71J1i1w026583; Mon, 1 Aug 2005 21:01:44 +0200 (CEST) Date: Mon, 01 Aug 2005 19:01:00 -0000 Message-Id: <200508011901.j71J1i1w026583@elgar.sibelius.xs4all.nl> From: Mark Kettenis To: eliz@gnu.org CC: gdb-patches@sources.redhat.com In-reply-to: (message from Eli Zaretskii on Mon, 01 Aug 2005 21:45:18 +0300) Subject: Re: MI testsuite to use PTY for inferior References: <17131.5769.342629.658975@farnswood.snap.net.nz> <20050730173855.GA21401@white> <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> X-SW-Source: 2005-08/txt/msg00027.txt.bz2 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. Mark