OK, so at least that application isn't playing any tricks by detecting whether the input comes from a file or a terminal.
There is no way to control the buffers through QProcess, but maybe reimplementing QProcess::setupChildProcess() will help. You might try to alter the buffer size with setbuf, but I'm not sure if it's going to work (I think I've tried it to solve a similar problem, but without a success).
Unfortunately, I don't.
kconsole doesn't use pure QProcess, but a K3Process subclass. The most important difference is that KDE allows you to use a pty device to communicate with the child process.
Here are the relevant sources:
http://websvn.kde.org/trunk/KDE/kdeb....h?view=markup
http://websvn.kde.org/trunk/KDE/kdeb...pp?view=markup
http://api.kde.org/4.0-api/kdelibs-a...rocess_8h.html
http://api.kde.org/4.0-api/kdelibs-a...classKPty.html
Bookmarks