From kdevelop-bugs Wed Sep 30 10:46:16 2009 From: Andreas Pakulat Date: Wed, 30 Sep 2009 10:46:16 +0000 To: kdevelop-bugs Subject: [Bug 208854] run tag shows one output whereas konsole output shows Message-Id: <20090930104617.0DAC72223F () immanuel ! kde ! org> X-MARC-Message: https://marc.info/?l=kdevelop-bugs&m=125430770009609 https://bugs.kde.org/show_bug.cgi?id=208854 --- Comment #7 from Andreas Pakulat 2009-09-30 12:46:12 --- (In reply to comment #6) > It would be better though if we showed the same output as konsole. We actually do show the same output (minus any colors, which can be added relatively easily). > After all, KDevelop will look broken when this happens, no matter what the technical reason is. > > Maybe we can take a look at what konsole does differently.. I'm not an expert on terminal emulators, but I think thats the reason konsole has no buffer, while KDevelop has. We're getting the process output via a pipe, while I think konsole gets that output in a different way. And the OS simply doesn't buffer the pseudo terminal that Konsole uses. I don't think its useful to spend time on trying to find a way of "working around" the OS. Its a well known fact that you won't see stdout output directly until you use fflush(). Oh, another thing is that we actually do need to wait for the line-end character as we cannot convert the given byte array into a QString without knowing the line is done. Else we might have received only part of a multi-byte sequence. -- Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. _______________________________________________ KDevelop-bugs mailing list KDevelop-bugs@kdevelop.org https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-bugs