From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12678 invoked by alias); 30 Nov 2006 03:59:15 -0000 Received: (qmail 12667 invoked by uid 22791); 30 Nov 2006 03:59:14 -0000 X-Spam-Check-By: sourceware.org Received: from out2.smtp.messagingengine.com (HELO out2.smtp.messagingengine.com) (66.111.4.26) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 30 Nov 2006 03:59:07 +0000 Received: from db2.internal (db2.internal [10.202.2.12]) by out1.messagingengine.com (Postfix) with ESMTP id 1215A48FCB; Wed, 29 Nov 2006 22:59:07 -0500 (EST) Received: from heartbeat1.messagingengine.com ([10.202.2.160]) by db2.internal (MEProxy); Wed, 29 Nov 2006 22:59:07 -0500 Received: from [150.203.45.115] (nungatta.anu.edu.au [150.203.45.115]) by mail.messagingengine.com (Postfix) with ESMTP id CE66115967; Wed, 29 Nov 2006 22:59:03 -0500 (EST) Message-ID: <456E5704.8060102@anu.edu.au> Date: Thu, 30 Nov 2006 03:59:00 -0000 From: John Pye User-Agent: Thunderbird 1.5.0.8 (X11/20061115) MIME-Version: 1.0 To: Joel Brobecker , Andrew STUBBS , gdb@sourceware.org Subject: Re: usability: exiting from GDB References: <456A79B5.2020505@anu.edu.au> <456AFA30.80508@st.com> <456CFDF8.10408@anu.edu.au> <20061129050452.GK9968@adacore.com> <456D33C6.4050407@anu.edu.au> <20061129133748.GC28834@nevyn.them.org> In-Reply-To: <20061129133748.GC28834@nevyn.them.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-11/txt/msg00241.txt.bz2 Hi again I have been reading the thread, yes. But my last post wasn't expressed very clearly, sorry. The ctrl-D behaviour is what I would prefer, certainly, and this would be more shell-like. But I don't like the confirmation question "Exit anyway?". The hook-quit thing does turn off the confirmation in the case of the "q" command, but *does not* work for the ctrl-D exit method. I guess the main thing is to get the ctrl-D functionality right. Presuming that others agree that this change would be desirable? I find the ctrl-C behaviour unhelpful (ie suggesting I quit instead of asking me if I'd like to go ahead and do it) but it's not important really. Cheers Daniel Jacobowitz wrote: > On Wed, Nov 29, 2006 at 06:16:22PM +1100, John Pye wrote: > >> The whole thing is that gdb is like a shell. And shells can be exited by >> typing ctrl-D. It's about consistency with other similar tools. That's >> my feeling, anyway. >> > > Did you read the previous replies to your message? Shells don't exit > when you press C-c and it would be upsetting to at least some users if > GDB did; it does exit if you press C-d at a prompt. > > Daniel Jacobowitz wrote: > On Wed, Nov 29, 2006 at 06:16:22PM +1100, John Pye wrote: > >> The whole thing is that gdb is like a shell. And shells can be exited by >> typing ctrl-D. It's about consistency with other similar tools. That's >> my feeling, anyway. >> > > Did you read the previous replies to your message? Shells don't exit > when you press C-c and it would be upsetting to at least some users if > GDB did; it does exit if you press C-d at a prompt. > >