From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21995 invoked by alias); 8 Feb 2006 18:03:01 -0000 Received: (qmail 21986 invoked by uid 22791); 8 Feb 2006 18:03:00 -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 18:02:59 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1F6teb-0008QQ-AA; Wed, 08 Feb 2006 13:02:57 -0500 Date: Wed, 08 Feb 2006 18:03:00 -0000 From: Daniel Jacobowitz To: gdb-patches@sourceware.org, bash-maintainers@gnu.org Subject: Re: [readline-mingw] backspace key and TUI size Message-ID: <20060208180257.GA32320@nevyn.them.org> Mail-Followup-To: gdb-patches@sourceware.org, bash-maintainers@gnu.org References: <43E9A5B1.1030001@st.com> <20060208134335.GA22980@nevyn.them.org> <43EA1655.609@st.com> <20060208161452.GA26965@nevyn.them.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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/msg00184.txt.bz2 On Wed, Feb 08, 2006 at 07:56:17PM +0200, Eli Zaretskii wrote: > > Date: Wed, 8 Feb 2006 11:14:52 -0500 > > From: Daniel Jacobowitz > > Cc: gdb-patches@sources.redhat.com, bash-maintainers@gnu.org > > > > 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. > > But win32-termcap.c is not a general solution for readline, it's > private to GDB, right? SHouldn't this problem be solved in readline > rather than in GDB (and in every other application that uses > readline)? I don't remember the reasoning, but this was discussed before, and the current solution was preferred. Either you give readline a termcap library, or you supply stubs. It sounds like there is a termcap library we could make use of on Windows, but there isn't one standard with the OS, and the one there is seems to have some problems; I'm all for leaving alone one of the bits of this whole mess which works OK... -- Daniel Jacobowitz CodeSourcery