From owner-freebsd-questions Sun May 7 22: 5:52 2000 Delivered-To: freebsd-questions@freebsd.org Received: from itouch.co.nz (fw2.wilsonandhorton.co.nz [203.99.66.4]) by hub.freebsd.org (Postfix) with ESMTP id 40BE037B6D9 for ; Sun, 7 May 2000 22:05:45 -0700 (PDT) (envelope-from jonc@itouch.co.nz) Received: (from jonc@localhost) by itouch.co.nz (8.9.3/8.9.3) id RAA02204; Mon, 8 May 2000 17:05:06 +1200 (NZST) (envelope-from jonc) Date: Mon, 8 May 2000 17:05:06 +1200 From: Jonathan Chen To: Joshua Delong Thomas Cc: freebsd-questions@freebsd.org Subject: Re: Application Dependencies (Not make dependencies) Message-ID: <20000508170506.B1033@jonc.ntdns.wilsonandhorton.co.n> References: <20000508092414.C685@jonc.ntdns.wilsonandhorton.co.n> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: ; from jdt2101@ksu.edu on Sun, May 07, 2000 at 10:17:51PM -0500 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, May 07, 2000 at 10:17:51PM -0500, Joshua Delong Thomas wrote: > I was under the impression that this is not true for linux. Just in idle > curiosity, would you happen to know why the difference? The critical difference is how the xterm's shell responds when the session dies. With csh or tcsh, programs running in background do not receive a NOHUP signal; with sh (and perhaps bash), they do. So unless the application specifically handles or masks NOHUP, they will terminate. > > On Sun, May 07, 2000 at 03:38:11PM -0500, Joshua Delong Thomas wrote: > > > When I start an app in an xterm, it should be completely dependent upon > > > the xterm running, right? I'm curious because I run apps from > > > an xterm and I send it to the background, and when I close the xterm the > > > process continues running. Is that supposed to happen? > > > > Yes, if you're not running sh(1). If you're running sh(1), when the xterm > > dies, a NOHUP signal is sent to the application. > > -- > > Jonathan Chen > > -- Jonathan Chen To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message