From owner-freebsd-questions Sun Dec 15 15:47:40 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5CA5437B401 for ; Sun, 15 Dec 2002 15:47:39 -0800 (PST) Received: from topher.gintera.net (topher.gintera.net [64.81.97.41]) by mx1.FreeBSD.org (Postfix) with ESMTP id 78AEB43EB2 for ; Sun, 15 Dec 2002 15:47:38 -0800 (PST) (envelope-from rbg@gayteenresource.org) Received: from topher.gintera.net (chris@localhost [127.0.0.1]) by topher.gintera.net (8.12.6/8.12.6) with SMTP id gBFNmxLk059188; Sun, 15 Dec 2002 16:48:59 -0700 (MST) (envelope-from rbg@gayteenresource.org) Date: Sun, 15 Dec 2002 16:48:59 -0700 From: Christopher Rosado To: abc@anchorageinternet.org Cc: questions@FreeBSD.ORG Subject: Re: & ^Z fg Message-Id: <20021215164859.70fc9405.rbg@gayteenresource.org> In-Reply-To: <200212152341.gBFNfuw7082259@en26.groggy.anc.acsalaska.net> References: <200212152341.gBFNfuw7082259@en26.groggy.anc.acsalaska.net> X-Mailer: Sylpheed version 0.8.6claws109-dillo (GTK+ 1.2.10; ) X-Operating-System: FreeBSD 4.7-RELEASE-p2 X-PGP-Fingerprint: 840B 13E5 D072 B448 4207 2149 938D 4BAD BA1E 0BB8 Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Sun, 15 Dec 2002 23:41:56 GMT abc@anchorageinternet.org wrote: AO> $ startx & AO> AO> is the command above supposed to operate like ^Z (suspend)? AO> i would not think so. i would think that such commands AO> "detach" from the terminal and run in the background AO> regardless of further commands in the foreground; however, AO> following the command above with "fg" brings the process to AO> the foreground, as if one had started a process in the AO> foreground and suspended it with ^Z. is this a bug? No. This is normal behavior. ^Z merely suspends a program so that you may work on other tasks. You can also run bg(1) to send the suspended process into the background, at which time you will see something similar to the following output: [1]+ glxgears & fg(1) merely brings a backgrounded process to the foreground, regardless whether it was sent into the background with an ampersand or bg(1). - -- Christopher Rosado -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE9/RTrk41LrboeC7gRApQkAJ4/SSxnMmaspq5+r0Yge8QIrp+BcACg1UMQ t9jdlRIUFUWGxdfYQquUVR0= =d9TD -----END PGP SIGNATURE----- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message