From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28195 invoked by alias); 10 May 2005 21:38:25 -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 28089 invoked from network); 10 May 2005 21:38:22 -0000 Received: from unknown (HELO cgf.cx) (66.30.17.189) by sourceware.org with SMTP; 10 May 2005 21:38:22 -0000 Received: by cgf.cx (Postfix, from userid 201) id D4FB513C9F2; Tue, 10 May 2005 17:38:21 -0400 (EDT) Date: Tue, 10 May 2005 21:41:00 -0000 From: Christopher Faylor To: Mark Mitchell , gdb-patches@sources.redhat.com, bug-readline@gnu.org, Eli Zaretskii Subject: Re: PATCH: Use getche on Win32 Message-ID: <20050510213821.GA8600@trixie.casa.cgf.cx> Mail-Followup-To: Mark Mitchell , gdb-patches@sources.redhat.com, bug-readline@gnu.org, Eli Zaretskii 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> <20050510203127.GA10559@nevyn.them.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050510203127.GA10559@nevyn.them.org> User-Agent: Mutt/1.5.8i X-SW-Source: 2005-05/txt/msg00233.txt.bz2 On Tue, May 10, 2005 at 04:31:28PM -0400, Daniel Jacobowitz wrote: >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. Windows does support CTRL-C and does have process groups. I don't know how close the concept of a windows process group is to UNIX, though. cgf