[Konsole-devel] [Bug 231405] New: Setting terminal title - ANSI string terminator not supported
grawity at gmail.com
grawity at gmail.com
Sat Mar 20 11:25:19 UTC 2010
https://bugs.kde.org/show_bug.cgi?id=231405
Summary: Setting terminal title - ANSI string terminator not
supported
Product: konsole
Version: 2.4.1
Platform: Archlinux Packages
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
AssignedTo: konsole-devel at kde.org
ReportedBy: grawity at gmail.com
Version: 2.4.1 (using KDE 4.4.1)
OS: Linux
Installed from: Archlinux Packages
TL;DR summary: Konsole should treat "\e]0;<title>\e\\" (set window title) the
same way it interprets "\e]0;<title>\007".
I have this string as part of my $PS1 ('bash' prompt string):
\e]0;<title>\e\\
This is supposed to set the window title in Xterm-compatible terminal
emulators. However, Konsole 2.4.1 (KDE 4.4.1) does not support this and reports
an error:
Undecodable sequence: \001b(hex)\\
It seems that Konsole does not recognize the standard string terminator
sequence "\e\\" (ESC \). Everything works fine if I use "\007" (BEL) as string
terminator, but I would prefer to use the standard one.
According to <http://invisible-island.net/xterm/xterm.faq.html#how2_title>:
# The terminator "\007" is a problem area. Xterm historically uses this
character, though it is non-ANSI. The "correct" character should be a "\233"
string terminator, or "\033\\", which is the 7-bit equivalent. XFree86 xterm
recognizes either (the "\007" or string terminator); waiting for the first of
these.
Most other terminal emulators also accept both "\007" and "\033\\" - I tested
VTE-based ones qw[roxterm xfce4-terminal gnome-terminal], rxvt, and PuTTY.
Konsole is the only one so far that requires "\007".
--
Configure bugmail: https://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