From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5400 invoked by alias); 30 Nov 2006 12:34:57 -0000 Received: (qmail 5323 invoked by uid 22791); 30 Nov 2006 12:34:56 -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; Thu, 30 Nov 2006 12:34:42 +0000 Received: from fra-out-02.spheriq.net (fra-out-02.spheriq.net [195.46.51.130]) by fra-del-04.spheriq.net with ESMTP id kAUCYd52025536 for ; Thu, 30 Nov 2006 12:34:39 GMT Received: from fra-cus-02.spheriq.net (fra-cus-02.spheriq.net [195.46.51.38]) by fra-out-02.spheriq.net with ESMTP id kAUCYap5005743 for ; Thu, 30 Nov 2006 12:34:37 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 kAUCYYO3003309 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Thu, 30 Nov 2006 12:34:36 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 60990DA47; Thu, 30 Nov 2006 12:34:33 +0000 (GMT) Received: from mail1.bri.st.com (mail1.bri.st.com [164.129.8.218]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 7A452473A0; Thu, 30 Nov 2006 12:34:32 +0000 (GMT) Received: from [164.129.15.13] (bri1043.bri.st.com [164.129.15.13]) by mail1.bri.st.com (MOS 3.7.5a-GA) with ESMTP id CIG62577 (AUTH stubbsa); Thu, 30 Nov 2006 12:34:13 GMT Message-ID: <456ECFC4.2060204@st.com> Date: Thu, 30 Nov 2006 12:34:00 -0000 From: Andrew STUBBS User-Agent: Thunderbird 1.5.0.8 (Windows/20061025) MIME-Version: 1.0 To: John Pye Cc: 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> <20061129141233.GA29477@cox.net> <456E5776.4090906@anu.edu.au> <456E9721.8346C359@dessent.net> <456EC746.7070605@anu.edu.au> In-Reply-To: <456EC746.7070605@anu.edu.au> Content-Type: text/plain; charset=ISO-8859-1; format=flowed 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/msg00249.txt.bz2 John Pye wrote: > I did try this, but not with a suitable examples, perhaps. For example, > I was thinking of: > > kompare & > ctrl-D > > Also note > su > wget http://example.com/bigfile.iso & > ctrl-D > > > There is no confirmation request in these case, although I'm not > completely confident on drawing the distinction between these and the > 'cat &' case that was given. > > As the programs that I tend to be working on are often like this, I > hadn't really notices the 'stopped jobs' warning. The examples you give are not stopped jobs. They are background jobs. 'cat &' starts cat and then tries to put it in the background, but it doesn't like that so it stops (I'm not sure what mechanism stops it). Other programs are less fussy - they will run in the back ground quite happily. When the shell quits, they continue running, still in the background. Try this instead: bash$ kompare bash$ The Ctrl-Z stops (pauses) the foreground job. By this mechanism you can reproduce the effect with any program that does not have special SIGSTOP handling. Sorry if I sent you a slightly less than general case example. Andrew