From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29828 invoked by alias); 8 Feb 2006 16:05:49 -0000 Received: (qmail 29819 invoked by uid 22791); 8 Feb 2006 16:05:48 -0000 X-Spam-Check-By: sourceware.org Received: from eastrmmtao06.cox.net (HELO eastrmmtao06.cox.net) (68.230.240.33) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 08 Feb 2006 16:05:46 +0000 Received: from localhost.localdomain ([68.9.66.48]) by eastrmmtao06.cox.net (InterMail vM.6.01.05.02 201-2131-123-102-20050715) with ESMTP id <20060208160547.SBEV9108.eastrmmtao06.cox.net@localhost.localdomain>; Wed, 8 Feb 2006 11:05:47 -0500 Received: from bob by localhost.localdomain with local (Exim 4.52) id 1F6rq5-0004tC-6m; Wed, 08 Feb 2006 11:06:41 -0500 Date: Wed, 08 Feb 2006 16:05:00 -0000 From: Bob Rossi To: Denis PILAT Cc: Daniel Jacobowitz , gdb-patches@sources.redhat.com, bash-maintainers@gnu.org Subject: Re: [readline-mingw] backspace key and TUI size Message-ID: <20060208160641.GE3975@brasko.net> Mail-Followup-To: Denis PILAT , Daniel Jacobowitz , 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.9i 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/msg00171.txt.bz2 On Wed, Feb 08, 2006 at 05:03:33PM +0100, Denis PILAT wrote: > Daniel Jacobowitz wrote: > > >On Wed, Feb 08, 2006 at 09:02:57AM +0100, Denis PILAT wrote: > > > > > >>Hi, > >> > >>When compiling gdb 6.4 for native window host (minGW) I get a gdb.exe > >>and a gdbtui.exe where there were 2 problems. > >>- In the gdbtui.exe version, the TUI interface do not fit in the DOS > >>command window. > >>- In the gdb.exe version, the backspace key do not behave correctly. > >> > >>I did some little modification in readline to fix both problems. I > >>attach the patch applied. > >>I've already submitted it to Chet Ramey (the readline maintainer at > >>bash-maintainers@gnu.org) who accepted it. > >>I don't know the gdb policy with readline synchronization, but I would > >>like it to be integrated as well in gdb distribution. > >> > >> > > > >We can import readline patches; I assume Chet didn't take this as-is > >(it has a stray printf in it). Chet, if you have a chance, could you > >send us the version you've applied, so we can merge it? > > > >Denis, I'm not sure why the backspace fix was necessary for you; my > >backspace works fine. What did this fix? > > > > > > > You're right, I forgot to remove a printf ... > > 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. Have you considered using the ncurses port from Cygwin? Bob Rossi