Wirawan Purwanto wrote: > Why does the screen output displayed using MSVC's printf subroutine not get > shown immediately under Cygwin shell (bash, specifically)? Rather, it would > wait for a long time before showing the text lines (many lines at once). How > to change this behavior?
With -mno-cygwin, stdout is buffered. You can realize it if you put a fflush(stdout) after the printf: the behavior is what you expect. But, why this difference? I don't know. -- 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/