From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14597 invoked by alias); 27 Nov 2006 07:43:08 -0000 Received: (qmail 14584 invoked by uid 22791); 27 Nov 2006 07:43:07 -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; Mon, 27 Nov 2006 07:42:58 +0000 Received: from db2.internal (db2.internal [10.202.2.12]) by out1.messagingengine.com (Postfix) with ESMTP id 4AF7FA852; Mon, 27 Nov 2006 02:42:58 -0500 (EST) Received: from heartbeat2.messagingengine.com ([10.202.2.161]) by db2.internal (MEProxy); Mon, 27 Nov 2006 02:42:58 -0500 Received: from [150.203.42.12] (stg-02.anu.edu.au [150.203.42.12]) by mail.messagingengine.com (Postfix) with ESMTP id 4D768A767; Mon, 27 Nov 2006 02:42:56 -0500 (EST) Message-ID: <456A96F3.9060605@anu.edu.au> Date: Mon, 27 Nov 2006 07:43:00 -0000 From: John Pye User-Agent: Thunderbird 1.5.0.8 (X11/20061115) MIME-Version: 1.0 To: Eli Zaretskii CC: gdb@sourceware.org Subject: Re: usability: exiting from GDB References: <456A79B5.2020505@anu.edu.au> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 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/msg00173.txt.bz2 Hi Eli I guess the reason for that is that I think of gdb as a 'shell' that can be exited in the same way as bash, ipython, etc. About that 'ctrl-C' behaviour -- any reason why this couldn't be changed (perhaps to do with signal handlers or somesuch)? Or what about user-configurable exit confirmation -- that might be the most sensible course of action, perhaps? Cheers JP Eli Zaretskii wrote: >> Date: Mon, 27 Nov 2006 16:37:57 +1100 >> From: John Pye >> >> I often find that in exiting GDB, which requires ctrl-D to be pressed >> twice, I press ctrl-D three times and end up also logging out of my >> terminal program, which is annoying. >> > > Any reasons why you don't use `q'? That's one-character command, and > it doesn't run any risk to inadvertently log you off. >