From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15901 invoked by alias); 11 Oct 2006 15:05:11 -0000 Received: (qmail 15891 invoked by uid 22791); 11 Oct 2006 15:05:11 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Wed, 11 Oct 2006 15:05:06 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1GXfdl-0007O7-Hk; Wed, 11 Oct 2006 11:05:01 -0400 Date: Wed, 11 Oct 2006 15:05:00 -0000 From: Daniel Jacobowitz To: Andrew STUBBS Cc: Denis PILAT , Eli Zaretskii , gdb-patches@sourceware.org Subject: Re: '\r' only end-of-line Message-ID: <20061011150501.GA28355@nevyn.them.org> Mail-Followup-To: Andrew STUBBS , Denis PILAT , Eli Zaretskii , gdb-patches@sourceware.org References: <452A6905.1040308@st.com> <452B9EB9.4040709@st.com> <452BB767.5000407@st.com> <452CC287.4050401@st.com> <20061011133254.GA25164@nevyn.them.org> <452CF82D.9080000@st.com> <20061011140049.GA26227@nevyn.them.org> <452D02BE.30502@st.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <452D02BE.30502@st.com> User-Agent: Mutt/1.5.13 (2006-08-11) X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2006-10/txt/msg00116.txt.bz2 On Wed, Oct 11, 2006 at 03:42:06PM +0100, Andrew STUBBS wrote: > Daniel Jacobowitz wrote: > >I am pretty sure you'll get nasty lossage from, e.g., GDB thinking it's > >not connected to a terminal. Error messages will show up after > >prompts, and questions will be suppressed. > > Yes, in the absence of a better solution, we have gdb_has_a_terminal > always return 1 for MinGW. It means that it doesn't work right for > pipes, but without this it does not work right in normal interactive > mode, which is worse. > > As far as I am aware this is a normal MinGW problem, not limited to use > with Expect. It works fine in a Windows command shell without this, which is how we currently use it. -- Daniel Jacobowitz CodeSourcery