From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9299 invoked by alias); 10 May 2005 20:31:36 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 9275 invoked from network); 10 May 2005 20:31:32 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sourceware.org with SMTP; 10 May 2005 20:31:32 -0000 Received: from drow by nevyn.them.org with local (Exim 4.50) id 1DVbO4-0002m6-7K; Tue, 10 May 2005 16:31:28 -0400 Date: Tue, 10 May 2005 20:49:00 -0000 From: Daniel Jacobowitz To: Eli Zaretskii Cc: Mark Mitchell , bug-readline@gnu.org, gdb-patches@sources.redhat.com Subject: Re: PATCH: Use getche on Win32 Message-ID: <20050510203127.GA10559@nevyn.them.org> Mail-Followup-To: Eli Zaretskii , Mark Mitchell , bug-readline@gnu.org, gdb-patches@sources.redhat.com References: <200505092015.j49KFoPw028903@sethra.codesourcery.com> <01c55512$Blat.v2.4$85bf3480@zahav.net.il> <42804E09.9060508@codesourcery.com> <01c55598$Blat.v2.4$baecd3c0@zahav.net.il> <428113E4.9090807@codesourcery.com> <01c5559e$Blat.v2.4$1b76ee60@zahav.net.il> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <01c5559e$Blat.v2.4$1b76ee60@zahav.net.il> User-Agent: Mutt/1.5.8i X-SW-Source: 2005-05/txt/msg00229.txt.bz2 On Tue, May 10, 2005 at 11:22:17PM +0300, Eli Zaretskii wrote: > > Date: Tue, 10 May 2005 13:04:52 -0700 > > From: Mark Mitchell > > CC: bug-readline@gnu.org, gdb-patches@sources.redhat.com > > > > > "DTRT" in this case means raise SIGINT when Ctrl-C is pressed and go > > > left one character when left-arrow is pressed. > > > > I take it, then, that you are asking that I implement that functionality > > in readline? > > Well, since we are talking about Readline for GDB, and given the > importance of SIGINT in GDB, I'd say at least Ctrl-C should work as > expected. That's a whole different problem; there's no way to read characters that will cause proper SIGINT delivery, since the times when GDB cares about SIGINT are the times when it is not in readline. I don't know if that's implementable at all (maybe Chris does?), but it won't be near here. Does Windows offer anything like appropriate job / pgrp semantics? That'd really surprise me. > Editing keys are less critical, since one can always use > Ctrl-n, Ctrl-p, etc. (but it would be nice to have arrows, Home, End, > Delete, and Insert keys as well). > > > I don't mind doing so; I was merely trying to make something useful > > available as soon as possible. > > If it's important that the current CVS snapshots are available ASAP > for MinGW users, even though one cannot interrupt the debuggee with > Ctrl-C, then I don't mind that you check this into the GDB CVS, > provided that it will be followed soon by more patches to take care of > the above issues. I would prefer not to commit patches now that will require followup patches to change their behavior later; there's not that much of a rush AFAIK. -- Daniel Jacobowitz CodeSourcery, LLC