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

Re: PATCH: ptyread eating CPU on Cygwin



Bart Schaefer wrote:

> On Oct 19,  1:49pm, Andrej Borsenkow wrote:
> }
> } So I suggest adding "read-with-timeout" possibilty, and making blocking read
> } default. It is also useful to distinguish between EOF and timeout with
> } different return code.
> 
> This sounds right to me, too.

Yes, to me, too.  I hope to find the time at the weekend...

I even think about removin non-blocking ptys altogether -- and add
allow `zpty -w' with a timeout, too.  Hm, the print builtin can't be
given a timeout, but the -t option for it is still unused. Should we?

Bye
 Sven


--
Sven Wischnowsky                         wischnow@xxxxxxxxxxxxxxxxxxxxxxx



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