Peter Kümmel wrote: > Pavel Sanda wrote: > > Enrico Forestieri wrote: > >> On Fri, Jul 16, 2010 at 12:08:21PM +0200, Peter Kümmel wrote: > >>> void SystemcallPrivate::flush() > >>> { > >>> if (process_) { > >>> // If the output has been redirected, we write it all at once. > >>> // Even if we are not running in a terminal, the output could go > >>> // to some log file, for example ~/.xsession-errors on *nix. > >>> > >>> QString data = > >>> QString::fromLocal8Bit(process_->readAllStandardOutput().data()); > >>> ProgressInterface::instance()->appendMessage(data); > >>> if (!use_stdout_ && out_file_.empty()) > >>> cout << fromqstr(data); > >>> > >> OK, I see that all of this is now a real big mess. Here data is now always > >> empty, so no output goes to .xsession-errors. This is because the output > >> is now always consumed for the progress interface. > > > > was not the intention that progress shouldn't consume anything unless > > user opened its window? > > I wonder why we still need any terminal output? LyX is a Gui application.
i use terminal pretty regularly for debuging. things like greping or redirection to some file are hard to do in gui, also once lyx crashes, gui is in *** while terminal with messages is still living ;) pavel