From owner-freebsd-hackers Thu May 30 13:32:57 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from haegar.informatik.uni-wuerzburg.de (wi4x41.informatik.uni-wuerzburg.de [132.187.101.41]) by hub.freebsd.org (Postfix) with ESMTP id 4EBBB37B405 for ; Thu, 30 May 2002 13:32:53 -0700 (PDT) Received: by haegar.informatik.uni-wuerzburg.de (Postfix, from userid 1000) id 3D2861A788; Thu, 30 May 2002 23:01:09 +0200 (CEST) Date: Thu, 30 May 2002 23:01:09 +0200 From: Matthias Buelow To: echo dev Cc: hackers@FreeBSD.ORG Subject: Re: C ???? Message-ID: <20020530230109.A10339@haegar.informatik.uni-wuerzburg.de> References: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from echo_dev@hotmail.com on Thu, May 30, 2002 at 08:17:24PM +0000 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 echo dev writes: >I am coding a scheduler. It is going to paste a msg to the screen after a >certain time. How might i run this in the background? I tried just casting >it into the background with the name& but it did'nt work. I need it to asked >the questions and then put it self into the background. If someone could >give me some liks to some docs I woould be vary grateful.. If your backgrounded program stops when it tries to write to the terminal, you might want to unset tostop on the terminal via stty(1): tostop (-tostop) Send (do not send) SIGTTOU for background output. This causes background jobs to stop if they attempt terminal out­ put. --mkb To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message