From owner-freebsd-hackers Fri Aug 24 15:16:35 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from holly.calldei.com (adsl-208-191-149-190.dsl.hstntx.swbell.net [208.191.149.190]) by hub.freebsd.org (Postfix) with ESMTP id AD39F37B406; Fri, 24 Aug 2001 15:16:31 -0700 (PDT) (envelope-from chris@holly.calldei.com) Received: (from chris@localhost) by holly.calldei.com (8.11.4/8.9.3) id f7OMFnv61064; Fri, 24 Aug 2001 17:15:49 -0500 (CDT) (envelope-from chris) Date: Fri, 24 Aug 2001 17:15:48 -0500 From: Chris Costello To: Mike Barcroft Cc: hackers@FreeBSD.ORG, Peter da Silva Subject: Re: Proposed Utility - detach(1) Message-ID: <20010824171548.A60451@holly.calldei.com> Reply-To: chris@calldei.com References: <20010824141955.B64018@coffee.q9media.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010824141955.B64018@coffee.q9media.com>; from mike@FreeBSD.ORG on Fri, Aug 24, 2001 at 02:19:55PM -0400 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Friday, August 24, 2001, Mike Barcroft wrote: > I would appreciate comments on the usefulness of a utility which would > allow one to detach a process from a TTY. I imagine the utility would > be very small and just call daemon(3) and execlp(3). > > Would a utility like this be useful? Is this functionality already > available in a system utility? All shells implement this: sh: $ sleep 5 & $ [1] 61049 Exit 0 sleep 5 ksh: $ sleep 5 & [1] 61052 $ [1] + Done sleep 5& csh: % sleep 5 & [1] 61058 % [1] Done sleep 5 etc. Why does this need to be implemented in a separate executable? -- +-------------------+----------------------------------------+ | Chris Costello | God didn't create the world in 7 days. | | chris@calldei.com | He pulled an all-nighter on the 6th. | +-------------------+----------------------------------------+ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message