help-glpk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-glpk] Gusek : a GLPK IDE for Windows


From: Andrew Makhorin
Subject: Re: [Help-glpk] Gusek : a GLPK IDE for Windows
Date: Wed, 10 Dec 2008 06:49:35 +0300

> Can this be added to GLPK official source code?

I added that. The change will appear in the next release.

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.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]