Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Cygwin, zpty and EOL



On Jul 6,  7:21pm, Andrej Borsenkow wrote:
} Subject: Cygwin, zpty and EOL
}
} I noted very interesting thing - every ptyread() returns single line, at
} the end of line I see read() that returns 0 (zero) bytes.

That's because it's using a non-blocking read.

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com

Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net   



Messages sorted by: Reverse Date, Date, Thread, Author