Closed GoogleCodeExporter closed 8 years ago
Issue 56 again. Unlike issue 362 regarding the CRT unit, the problem here isn't
the use of console-specific functions, but buffering. To a non-Cygwin program,
Cygwin pty devices look like pipes, and for those, full buffering is enabled by
default.
Possible workarounds include flushing output frequently using the Flush
procedure, or disabling buffering. In C that can be done using setvbuf(), not
sure whether FPC has an equivalent. SetTextBuf might do it.
The utilities mentioned in issue 56 might help here too.
Original comment by andy.koppe
on 2 Dec 2012 at 6:56
Original issue reported on code.google.com by
faram...@gmail.com
on 1 Dec 2012 at 4:24Attachments: