[Konsole-devel] tab text escape sequence removed?

Robert Knight robertknight at gmail.com
Wed May 27 23:45:35 UTC 2009


Hello Jim,

There is no support in KDE 4 for setting different window and tab
titles yet - the priority was getting good automatically chosen tab
titles out of the box.  There is a wishlist report open for this -
http://bugs.kde.org/show_bug.cgi?id=162326 once that is done,
supporting
an escape sequence to set different tab and window text would be possible.

Regards,
Robert.

2009/5/28 Jim Mahood <jim at mahood.com>:
> Hello,
>
> I haven't used konsole since the 3.x days, but have recently returned to
> it.  Back then, I had an escape sequence in my shell's prompt that told
> konsole what to use for its tab text.  This sequence was:
>
> \033]30;text here\007
>
> Using the same prompt in konsole 2.2.3, this no longer works.  I see that
> the tab formatting has been moved into the settings dialog, and I see that
> I can use %w, but that uses the window title (\033]0;window title\007) as
> the tab text, whereas I used to be able to set the window title and the
> tab text independently.
>
> So, my question.. looking at konsole's Emulation module, it seems that the
> "30" escape sequence has not been implemented.  Is there anything I've
> missed that would let me control the tab text directly or is the %w
> solution now my only option (window and tab must have the same title)?
>
>
> Thanks,
>
> Jim Mahood
>
> NOTES:
>
> Working example from kde3.x from Stephan Binner:
> http://bugs.kde.org/show_bug.cgi?id=56764
>
> My tcsh prompt in question:
> set prompt = "%{\033]30;%m\007%}%{\033]0;%n@%m:%/\007%}[%B%n%b@%m] %B%/%b>"
> (sets tab to hostname, and window title to user at host:/path/)
> _______________________________________________
> konsole-devel mailing list
> konsole-devel at kde.org
> https://mail.kde.org/mailman/listinfo/konsole-devel
>



More information about the konsole-devel mailing list