From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28683 invoked by alias); 1 May 2006 17:22:22 -0000 Received: (qmail 28675 invoked by uid 22791); 1 May 2006 17:22:21 -0000 X-Spam-Check-By: sourceware.org Received: from nile.gnat.com (HELO nile.gnat.com) (205.232.38.5) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 01 May 2006 17:22:20 +0000 Received: from localhost (localhost [127.0.0.1]) by filtered-nile.gnat.com (Postfix) with ESMTP id BF86948CBEA for ; Mon, 1 May 2006 13:22:17 -0400 (EDT) Received: from nile.gnat.com ([127.0.0.1]) by localhost (nile.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 23067-01-9 for ; Mon, 1 May 2006 13:22:17 -0400 (EDT) Received: from takamaka.act-europe.fr (s142-179-108-108.bc.hsia.telus.net [142.179.108.108]) by nile.gnat.com (Postfix) with ESMTP id 7774A48CBD5 for ; Mon, 1 May 2006 13:22:17 -0400 (EDT) Received: by takamaka.act-europe.fr (Postfix, from userid 507) id B6BCC47E7F; Mon, 1 May 2006 10:22:16 -0700 (PDT) Date: Mon, 01 May 2006 17:22:00 -0000 From: Joel Brobecker To: gdb@sources.redhat.com Subject: Re: MinGW gdb run in non-DOS terminal Message-ID: <20060501172216.GE936@adacore.com> References: <20060501170512.GD936@adacore.com> <20060501171137.GA7482@nevyn.them.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060501171137.GA7482@nevyn.them.org> User-Agent: Mutt/1.4i Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-05/txt/msg00002.txt.bz2 > It is roughly unsolvable. A cygwin "terminal" is in fact a Windows > pipe; isatty() returns false, therefore the C library selects > line-buffered mode, which is a pretty standard thing for C runtimes > to do. :-(. In fact, I see the same in GPS where cygwin is nowhere in sight. > I suppose that if the CLI is in use, you could automatically turn off > buffering. But there may be plenty of other problems... Maybe we should start with that. Would you mind pointing me in the area where this should be done? I can experiment with that and see if we have any other obvious problems. -- Joel