EIO error on background tty reads
Rafael Kitover
caelum@debian.org
Mon Jun 30 21:39:00 GMT 2003
cgf wrote:
>>What I don't understand is if a background write to a terminal without
>>sending a
>>SIGTTOU which it explicitly ignores is allowed, why not a background read?
>
>Because that's the way it works. Have you tried this with linux? I wrote
>a test case yesterday. linux raises an EIO when a background read is
>attempted, SIGTTIN is ignored, and the process is not a member of the
>terminal's process group. Test case below.
Thank you for the test case! The problem with screen may have had more
to do with the process group than with the read itself, I will do more
testing on cygwin and linux and fix the appropriate sources, in which case
I'm sorry for having wasted your time.
--
Rafael
More information about the Cygwin-patches
mailing list