^Z fg

2002-12-15 Thread abc
FBSD 4.7R
-
the following appears to be different behavior than i have
experienced in the past, and somewhat unusual.  please reply
off list as well if you reply.

$ startx 

is the command above supposed to operate like ^Z (suspend)?
i would not think so.  i would think that such commands
detach from the terminal and run in the background
regardless of further commands in the foreground; however,
following the command above with fg brings the process to
the foreground, as if one had started a process in the
foreground and suspended it with ^Z.  is this a bug?

thank you.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: ^Z fg

2002-12-15 Thread Christopher Rosado
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


On Sun, 15 Dec 2002 23:41:56 GMT
[EMAIL PROTECTED] 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 [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message