[Konsole-devel] [Bug 139025] New: kwrited outputs debugging info on stdout which prevents getting output from other apps

Krzysztof Lichota krzysiek at lichota.net
Tue Dec 19 20:26:18 UTC 2006


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=139025         
           Summary: kwrited outputs debugging info on stdout which prevents
                    getting output from other apps
           Product: konsole
           Version: unspecified
          Platform: Ubuntu Packages
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: NOR
         Component: kwrited
        AssignedTo: konsole-devel kde org
        ReportedBy: krzysiek lichota net


Version:            (using KDE KDE 3.5.4)
Installed from:    Ubuntu Packages

KWrited uses puts() to output debugging information what device it is listening on. See http://lxr.kde.org/source/KDE/kdebase/konsole/konsole/kwrited.cpp?v=3.5-branch#080:
QString txt = i18n("KWrited - Listening on Device %1").arg(pty->ttyName());
setCaption(txt);
puts(txt.local8Bit().data());

As KWrited is a KDED module, this message is printed when first app in KDE session is started. I am using KDialog to get some choice and this message is landing in kdialog output.

Solution: change this puts into kdDebug()



More information about the konsole-devel mailing list