> How can we allow background processes to read from stdin?
> Is there an equivalent to TOSTOP flag for stdin?
Nothing stops background processes from reading from stdin. E.g.
some_command < foo &
will run some_command in the background, reading from the file foo.
I think you meant to ask how to allow background processes to read from
the terminal. I think the only way would be to use a shell without job
control. But as the other response pointed out, this is probably a bad
idea if multiple processes are trying to read from the terminal
simultaneously.
--
Barry Margolin,
bar...@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***