This is the mail archive of the cygwin@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]

REPOST: strange dup error


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]