After a recent update, Cygwin bash shell works for any commands that don't require interaction, but if an app needs interaction (for example the python shell), it won't work, the prompt never appears, typing known working commands produces no output.

I've read other places where people suggest mintty, but it behaves the same way.

The shell is completely functional with command line recall, running scripts that don't require interaction etc..., but non-functional as soon as a program asks any or has any prompts.

All of this seems strange since bash is doing exactly what the other apps are doing, interacting with the user, but all other apps seem to be blocked from interacting.

emacs and vi both work, however they seem to be the exceptions to the rule.

cygwin python also works, but windows python does not, and most of my virtualenv's are built of out windows python.

2 Answers
2

Windows and Linux/Unix use different methods to interact with the terminal or console. The default Cygwin terminal is now mintty, which uses the standard Unix tty interface. Windows console apps expect to be able to use the Windows console interface, which is different from the tty interface and not supported by mintty.

If you need to run Windows interactive console apps, use the Windows console or one of the available alternatives that use the console interface. When using Cygwin's mintty, it's best to stick with Cygwin apps, at least the interactive ones.

I did reboot, I have now run rebaseall as administrator, and the problem persists. I'm going to reboot once again, and if that doesn't work, I guess I'll pull cygwin out and just reload it from scratch.
–
Mark0978Oct 21 '13 at 14:02