[Konsole-devel] [Bug 169607] New: setting title with terminal codes doesn't work

Gabe Yoder gyoder at stny.rr.com
Fri Aug 22 18:30:25 UTC 2008


http://bugs.kde.org/show_bug.cgi?id=169607

           Summary: setting title with terminal codes doesn't work
           Product: konsole
           Version: unspecified
          Platform: Compiled Sources
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: konsole-devel at kde.org
        ReportedBy: gyoder at stny.rr.com


Version:            (using KDE 4.1.0)
Compiler:          gcc 4.3.1 
OS:                Linux
Installed from:    Compiled From Sources

I have a command line application which explicitly sets the window title using
terminal codes.  It uses the following snippet of code to set the title:

fprintf(stderr, "%c]0;%s%c", 0x1B, msg.c_str(), 0x07);
fflush(stderr);

This works in an xterm or konsole from KDE 3.5.9, but with konsole from KDE
4.1.0, the title isn't set (while the application is running I only get a title
like "dirName : appName" when I expect to only get the contents of my msg
string).  Has support for setting the window title been dropped, or have I
missed some option to make it work properly?


-- 
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the konsole-devel mailing list