This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: Question about tty.cc
> I wonder if, these days, there are any better ways of doing what this
> code is doing. As I said, this code has been this way for years.
> Increasing the timeout is going to have a negative effect on cygwin tty
> programs.
>
> Wait. Hmm. This is only going to be a problem for programs run directly
> via a windows console, right? It shouldn't be a problem for a child of
> bash since it is inheriting the tty handle explicitly.
>
> So, a slowdown should only be in an initial cygwin process. Is this what
> you're seeing?
The problem occurs clicking on a shortcut in explorer - the console window
takes a little while to open and sometimes it simply takes too long for the
tty code to catch it.
Chris
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/