I've run into something using Cygwin that was rather unexpected. When redirecting stdout to a file with a program such as vmstat, the output is buffered in 64k chunks.
No output appears until 64k of output has been produced. This was verified with a Perl script to see at what point output appears in a file. So a command such as this: vmstat 20 > vmstat.log is going to take a very long time to put anything in the output file. Unlike unix or linux, CTL-C does not flush the buffer to disk, the output just disappears. Is there some way to change this behavior? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/