Subject: Re: Background processes?
To: None <netbsd-help@netbsd.org>
From: Christos Zoulas <christos@zoulas.com>
List: netbsd-help
Date: 06/04/1999 14:57:23
In article <81F5585A3B93D111A8D10080ADB4CBB90CA2FC@DC> BruceM@cat.co.za (Bruce Martin) writes:
>We have written a set of processes that communicate via sockets. These
>run fine on multiple terminals in the foreground, but as soon as I try
>to put one in the background, we get problems.
>Our config server, when run "./config &" goes into the background fine.
>However, when I then type, say, "ls", I get a message:
>	+ Suspended (tty output)	./config
>
>I thought that only tty input should suspend a background process (I
>have made sure that the -tostop option is in stty). Why is my background
>process being terminated by output?

It is not being terminated, it is being suspended. You can type fg to continue
it. Are you absolutely positive that the tostop bit is not set?

christos