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

Re: ptyread eating CPU on Cygwin



> Peter, you that select does not work under Cygwin (read_poll). I asked on
> Cygwin list, but there are no known problems and many applications do use
> select.

The problem I was having was with putting the terminal temporarily into raw
mode without the full majesty of zle and setting a timeout there (in
bin_read()).  select is working fine in the main terminal code.  I didn't
have the week necessary to resolve all the possible ways of setting
timeouts, so I gave up.  I expect it can be done.

-- 
Peter Stephenson <pws@xxxxxxx>                  Software Engineer
Cambridge Silicon Radio, Unit 300, Science Park, Milton Road,
Cambridge, CB4 0XL, UK                          Tel: +44 (0)1223 392070



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