This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: MI testsuite to use PTY for inferior
- From: Mark Kettenis <mark dot kettenis at xs4all dot nl>
- To: eliz at gnu dot org
- Cc: gdb-patches at sources dot redhat dot com
- Date: Mon, 1 Aug 2005 21:01:44 +0200 (CEST)
- 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> <uack248er.fsf@gnu.org> <20050801113002.GB24853@white> <u7jf54htt.fsf@gnu.org>
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.
Mark