From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7630 invoked by alias); 8 Feb 2006 16:14:58 -0000 Received: (qmail 7618 invoked by uid 22791); 8 Feb 2006 16:14:57 -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, 08 Feb 2006 16:14:55 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1F6ry0-00073M-Iv; Wed, 08 Feb 2006 11:14:52 -0500 Date: Wed, 08 Feb 2006 16:14:00 -0000 From: Daniel Jacobowitz To: Denis PILAT Cc: gdb-patches@sources.redhat.com, bash-maintainers@gnu.org Subject: Re: [readline-mingw] backspace key and TUI size Message-ID: <20060208161452.GA26965@nevyn.them.org> Mail-Followup-To: Denis PILAT , gdb-patches@sources.redhat.com, bash-maintainers@gnu.org References: <43E9A5B1.1030001@st.com> <20060208134335.GA22980@nevyn.them.org> <43EA1655.609@st.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <43EA1655.609@st.com> User-Agent: Mutt/1.5.8i 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-02/txt/msg00172.txt.bz2 On Wed, Feb 08, 2006 at 05:03:33PM +0100, Denis PILAT wrote: > Our host is i686-pc-mingw32, gdb is compiled under cygwin with > "-mno-cygwin" flag to avoid cygwin dependencies. > We also use pdcurses library since ncurse is not available on windows. > I think that's why you don't see the problem. With this patch, I'm not > using the tputs() function anymore on Windows, as it was not used for MSDOS. Ah - we (CodeSourcery) don't use a curses library at all; just the standard Windows and MinGW DLLs. See win32-termcap.c. Are those functions not being used for you? I just don't think the patch could be right. If you're using the same termcap layer that my builds are using, it should have no effect; but if you're using a termcap library that gives you a real backspace capability string, and outputing that does the wrong thing, then either your pdcurses library or your termcap entry for the Windows console sounds pretty broken to me. -- Daniel Jacobowitz CodeSourcery