From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4547 invoked by alias); 2 Aug 2005 03:45:39 -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 4526 invoked by uid 22791); 2 Aug 2005 03:45:36 -0000 Received: from nitzan.inter.net.il (HELO nitzan.inter.net.il) (192.114.186.20) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Tue, 02 Aug 2005 03:45:36 +0000 Received: from HOME-C4E4A596F7 (IGLD-80-230-142-141.inter.net.il [80.230.142.141]) by nitzan.inter.net.il (MOS 3.6.5-GR) with ESMTP id BAM54699 (AUTH halo1); Tue, 2 Aug 2005 06:45:28 +0300 (IDT) Date: Tue, 02 Aug 2005 03:45:00 -0000 Message-Id: From: Eli Zaretskii To: gdb-patches@sources.redhat.com In-reply-to: <20050801205242.GA20064@nevyn.them.org> (message from Daniel Jacobowitz on Mon, 1 Aug 2005 16:52:42 -0400) Subject: Re: MI testsuite to use PTY for inferior Reply-to: Eli Zaretskii References: <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> <20050801205242.GA20064@nevyn.them.org> X-SW-Source: 2005-08/txt/msg00039.txt.bz2 > Date: Mon, 1 Aug 2005 16:52:42 -0400 > From: Daniel Jacobowitz > Cc: Mark Kettenis , gdb-patches@sources.redhat.com > > You can't fix it via termios; it isn't a property of the terminal (and > we don't have a terminal, anyway). It's set by the application startup > code based on the result of isatty() on fd 0, usually - at least both > mingw32 and GNU/Linux do it this way. If this is the buffering you are worried with, it can be fixed with a call to setvbuf, right? > The default for non-terminals is block buffered, which if you're > waiting for output is really annoying. We could fflush and fsync the MI output stream, if this is the main annoyance.