From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29017 invoked by alias); 8 Feb 2006 16:03:49 -0000 Received: (qmail 29006 invoked by uid 22791); 8 Feb 2006 16:03:48 -0000 X-Spam-Check-By: sourceware.org Received: from fra-del-04.spheriq.net (HELO fra-del-04.spheriq.net) (195.46.51.100) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 08 Feb 2006 16:03:46 +0000 Received: from fra-out-03.spheriq.net (fra-out-03.spheriq.net [195.46.51.131]) by fra-del-04.spheriq.net with ESMTP id k18G3fTs029574 for ; Wed, 8 Feb 2006 16:03:41 GMT Received: from fra-cus-02.spheriq.net (fra-cus-02.spheriq.net [195.46.51.38]) by fra-out-03.spheriq.net with ESMTP id k18G3etE025142 for ; Wed, 8 Feb 2006 16:03:41 GMT Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by fra-cus-02.spheriq.net with ESMTP id k18G3cdr015854 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Wed, 8 Feb 2006 16:03:39 GMT Received: from zeta.dmz-eu.st.com (ns2.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id ED98EDA43; Wed, 8 Feb 2006 16:03:37 +0000 (GMT) Received: from mail1.cro.st.com (mail1.cro.st.com [164.129.40.131]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 2193547463; Wed, 8 Feb 2006 16:07:12 +0000 (GMT) Received: from st.com (crx1177.cro.st.com [164.129.47.77]) by mail1.cro.st.com (MOS 3.5.8-GR) with ESMTP id CGQ44855 (AUTH "denis pilat"); Wed, 8 Feb 2006 17:03:33 +0100 (CET) Message-ID: <43EA1655.609@st.com> Date: Wed, 08 Feb 2006 16:03:00 -0000 From: Denis PILAT User-Agent: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.0.1) Gecko/20020920 Netscape/7.0 MIME-Version: 1.0 To: Daniel Jacobowitz Cc: gdb-patches@sources.redhat.com, bash-maintainers@gnu.org Subject: Re: [readline-mingw] backspace key and TUI size References: <43E9A5B1.1030001@st.com> <20060208134335.GA22980@nevyn.them.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-O-Spoofed: Not Scanned X-O-General-Status: No X-O-Spam1-Status: Not Scanned X-O-Spam2-Status: Not Scanned X-O-URL-Status: Not Scanned X-O-Virus1-Status: No X-O-Virus2-Status: Not Scanned X-O-Virus3-Status: No X-O-Virus4-Status: No X-O-Virus5-Status: Not Scanned X-O-Image-Status: Not Scanned X-O-Attach-Status: Not Scanned X-SpheriQ-Ver: 4.2.01 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/msg00170.txt.bz2 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. Denis