I had a similar problem with Mercurial (hg) + OpenSSH, Python and MinTTY, but in MSYS instead of CygWin. I had the same issue with mysql . However, as far as I can tell, this problem and my problem were caused by the fact that MinTTY did not process applications using the built-in functions of the Windows console.
I solved my problem by following the solution found in comment 64 https://code.google.com/p/mintty/issues/detail?id=56#c64
With winpty ( https://github.com/rprichard/winpty ) a project compiled and installed in my path, I managed to run native Python (in interactive mode), Mercurial and MySQL from the MinTTY shell without special assemblies or switches (e.g. python -i ). All I needed to add was console.exe or console before the python or hg command. For convenience, I added aliases such as alias hg="console.exe hg" , so I can use the same commands, regardless of whether I am in the Linux shell or the Windows MinTTY bash shell.
martian111 Apr 19 '14 at 0:29 2014-04-19 00:29
source share