From owner-freebsd-questions Fri Oct 30 06:25:22 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA14266 for freebsd-questions-outgoing; Fri, 30 Oct 1998 06:25:22 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from laker.net (jet.laker.net [205.245.74.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA14261 for ; Fri, 30 Oct 1998 06:25:20 -0800 (PST) (envelope-from sfriedri@laker.net) Received: from nt (digital-pbi-142.laker.net [208.0.233.42]) by laker.net (8.9.0/8.9.LAKERNET.NO-SPAM.SPAMMERS.AND.RELAYS.WILL.BE.TRACKED.AND.PROSECUTED.) with SMTP id JAA26453; Fri, 30 Oct 1998 09:25:04 -0500 Message-Id: <199810301425.JAA26453@laker.net> From: "Steve Friedrich" To: "freebsd-questions@FreeBSD.ORG" , "Ralf.Luettgen" Date: Fri, 30 Oct 1998 09:23:33 -0500 Reply-To: "Steve Friedrich" X-Mailer: PMMail 98 Professional (2.01.1600) For Windows NT (4.0.1381;3) MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Subject: Re: running processes afer logout Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, 30 Oct 1998 11:28:58 +0100 (CET), Ralf.Luettgen wrote: >I established a telnet connection from a sun to my FreeBSD box. I start some >programs in the background (with &) and the terminate the connection. The >processes are stil running on my FreeBSD box. > >Now my question: >Is it a normal behavior that they are still running? I think when I close a >connection all processes of this shell has to die. If you'd like to control this behavior, see man stty and read about hup and -hup. Actually, I just read the man page and it's very unclear on this. I'm not sure if FreeBSD works the same as previous unixes I've used. Try stty hup and logout and see if the processes get terminated and then try again with stty -hup. I think -hup tells stty to NOT terminate processes active when you logout. Unix systems measure "uptime" in years, Winblows measures it in minutes. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message