This is the mail archive of the cygwin-patches@cygwin.com mailing list for the Cygwin project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
originally posted to the wrong list > Normally i would expect to see this error, say, 1 in 2 times I click the > Cygwin icon. But yesterday I clicked it about 30 times and I keep getting > the same error. > Error follows: > 3 [main] bash 776 fhandler_base::dup: dup(/dev/tty) failed, handle B, > Win32 error 87 > readline: warning: rl_prep_terminal: cannot get terminal settings←]0;~ > ←[32mchris@ADVENT02 ←[33m~←[0m > See this thread for more details: > http://sources.redhat.com/ml/cygwin/2002-05/msg01415.html > > Attached is a patch which fixes the bug, by giving the console window title > more time (up to 1 second) to change. FindWindow is called in a loop, so for > the normal execution path there is no extra overhead. > > Chris > > --- > 2002-06-30 Christopher January <chris@atomice.net> > > * tty.cc (tty_list::allocate_tty): retry FindWindow if it fails.
Attachment:
Changelog.tty.txt
Description: Text document
Attachment:
tty.cc.patch
Description: Binary data
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |