strange dup error

Chris January chris@atomice.net
Thu Apr 18 06:22:00 GMT 2002


Sometimes when I use Cygwin.bat to start bash and I have another instance of
bash running, I get this error appear at the top of the console:

   3996 [main] bash 2436 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

Win32 error 87 = ERROR_INVALID_PARAMETER
The control characters in the bash prompt are visible on the terminal - the
colour does not change.

I've searched the mailing list archives, but it doesn't seem to have been
reported before. I've been trying to find a way to replicate it, but at the
moment it seems to be random.

Regards
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/



More information about the Cygwin mailing list