Re: Reading from a pty after slave exited
Re: Reading from a pty after slave exited
- Subject: Re: Reading from a pty after slave exited
- From: Julian Scheid <email@hidden>
- Date: Fri, 7 May 2010 02:20:08 +1200
On Tue, Apr 27, 2010 at 9:39 PM, Terry Lambert <email@hidden> wrote:
>> Maybe you are referring to the VMIN/VTIME experiments that I mentioned
>> a few posts ago? For what it's worth, the reason I applied these to
>> the master end was because the only useful explanation of VMIN/VTIME I
>> could find so far --
>> http://www.unixwiz.net/techtips/termios-vmin-vtime.html -- makes it
>> sound like it is a setting applicable to reading, not writing, and
>> since in my example the master is what does the reading, that's where
>> I applied it.
>
> Yes, sorry it wasn't clear.
>
> The ttread that implements the VMIN/VTIME is only called from l_read through
> the linesw line discipline table, which is only called from ptsd_read()
> (cloning pty slave side) or ptsread() (non-cloning pty slave side).
I see, that makes sense. All sorted now at my end. Thanks for your
help and patience, much appreciated.
-Julian
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden