Date: Sun, 15 Dec 2002 16:48:59 -0700 From: Christopher Rosado <rbg@gayteenresource.org> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
-----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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021215164859.70fc9405.rbg>