From owner-freebsd-questions Thu Sep 14 11:54:40 2000 Delivered-To: freebsd-questions@freebsd.org Received: from bingnet2.cc.binghamton.edu (bingnet2.cc.binghamton.edu [128.226.1.18]) by hub.freebsd.org (Postfix) with ESMTP id 6485637B424 for ; Thu, 14 Sep 2000 11:54:37 -0700 (PDT) Received: from opal (cs.binghamton.edu [128.226.123.101]) by bingnet2.cc.binghamton.edu (8.9.3/8.9.3) with ESMTP id OAA24156 for ; Thu, 14 Sep 2000 14:54:31 -0400 (EDT) Date: Thu, 14 Sep 2000 14:54:25 -0400 (EDT) From: Zhiui Zhang X-Sender: zzhang@opal To: freebsd-questions@freebsd.org Subject: write to terminal in a background process Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I thought a background process can not write to terminal. It will get a signal if trying to do so. But someone presents me a small program: #include main() { printf("printing\n"); } $ a.out & and it does print. Can anyone explain this to me? Thanks. -Zhihui To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message