This is the mail archive of the cygwin-patches@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: EIO error on background tty reads


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]