After a recent re-install of Cygwin I've been experiencing some odd behavior -- in that terminal output from a running application is not showing up when written, but will suddenly pop into existence under certain conditions.
For my particular situation, I'm running a Django server:
python manage.py runserver
This should spit out several status messages to the terminal as the server spins up, and should also display server requests and replies (in addition to Python
However, when I modify a file that is part of the Django app the server restarts automatically (as it should) and all the output suddenly appears for the previous session.
A previous install of Cygwin worked fine.
The only known difference I have is that the previous install using the Cygwin Python (in
/usr/bin) while my new install uses the Windows Pyton (in
/cygdrive/c/Python27). This was done for MySQL data connectivity purposes.
An addition oddity, which may point to a larger issue, is that after I run the server Cygwin requires 2 clicks on the close button (top-right 'X') to close the terminal window. The first click renders the terminal useless, but the window itself remains; a second click removes it from the screen.
Has anyone encountered a situation where Cygwin is not updating the terminal output, and located a handy fix?