From owner-freebsd-questions@FreeBSD.ORG Thu Aug 30 09:10:09 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 12FF8106566C for ; Thu, 30 Aug 2012 09:10:09 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirg.bris.ac.uk (dirg.bris.ac.uk [137.222.10.102]) by mx1.freebsd.org (Postfix) with ESMTP id C440A8FC19 for ; Thu, 30 Aug 2012 09:10:08 +0000 (UTC) Received: from ncsc.bris.ac.uk ([137.222.10.41]) by dirg.bris.ac.uk with esmtp (Exim 4.72) (envelope-from ) id 1T70lL-0002HZ-1e for freebsd-questions@freebsd.org; Thu, 30 Aug 2012 10:10:07 +0100 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by ncsc.bris.ac.uk with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1T70lK-0001c5-L4 for freebsd-questions@freebsd.org; Thu, 30 Aug 2012 10:10:06 +0100 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.5/8.14.5) with ESMTP id q7U9A6gV083060 for ; Thu, 30 Aug 2012 10:10:06 +0100 (BST) (envelope-from mexas@mech-cluster241.men.bris.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.5/8.14.5/Submit) id q7U9A6J7083058 for freebsd-questions@freebsd.org; Thu, 30 Aug 2012 10:10:06 +0100 (BST) (envelope-from mexas) Date: Thu, 30 Aug 2012 10:10:06 +0100 (BST) From: Anton Shterenlikht Message-Id: <201208300910.q7U9A6J7083058@mech-cluster241.men.bris.ac.uk> To: freebsd-questions@freebsd.org Subject: where is all terminal output sent if the controlling terminal is closed? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: mexas@bristol.ac.uk List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Aug 2012 09:10:09 -0000 I occasionally build ports with extra logs enabled. When I then launch such programs from, say xterm on the background (&), I get lots of output on the controlling terminal. If I then close the terminal, where does all the output goes? I presume it's still being sent to the PID of the parent xterm. But this process no longer exists, so what happens then? Thanks Anton