I think that the "real output" did not work, because in most
implementations of the C run-time library it is checked if the device
assigned to stdout is a terminal device or not (via isatty), and if so,
stdout is open in non-buffered mode (_IONBF) otherwise it is fully
buffered (_IOFBF). Thus, if you launch glpsol from the command line,
stdout is assigned to tty and therefore non-buffered, so you have the
"real output". If the glpsol executable is called from SciTE, which
replaces the standard output handle by a pipe handle, the output is
buffered, because the pipe is not a tty device.