Your message dated Thu, 07 May 2026 14:33:10 +0200
with message-id <[email protected]>
and subject line Obsolete/Cannot reproduce
has caused the Debian Bug report #202342,
regarding screen: terminals which utilize \E]n;...\a xterm escape sequence not
recognized (Eterm/kterm)
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
202342: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=202342
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Package: screen
Version: 3.9.15-1
Severity: minor
Tags: patch
The following escape sequences are passed to the parent terminal if the
XVT capability is set.
\E]1;IconName\a
\E]20;BackgroundImage\a
\E]39;DefaultForegroundColor\a
\E]39;DefaultBackgroundColor\a
The XVT capability is only set if the terminal name contains either
"xterm" or "rxvt". However, Eterm is also capable of processing these
codes, and kterm can handle the IconName and silently ignores the rest.
I've included a patch that allows any of the four above mentioned
terminals to receive the escape sequences. A more robust solution would
be to allow the XVT capability to be specified at runtime.
Note that to confirm this bug, you man need to change the hardstatus
line in Debian's default /etc/screenrc from
termcapinfo xterm*|rxvt*|kterm*|Eterm* hs:ts=\E]0;:fs=\007:ds=\E]0;\007
to
termcapinfo xterm*|rxvt*|kterm*|Eterm* hs:ts=\E]2;:fs=\007:ds=\E]2;\007
Patch:
diff -urN screen-3.9.15/termcap.c screen-3.9.15.patched/termcap.c
- --- screen-3.9.15/termcap.c 2002-11-26 05:51:09.000000000 -0600
+++ screen-3.9.15.patched/termcap.c 2003-07-21 17:01:36.000000000 -0500
@@ -219,7 +219,8 @@
/* ISO2022 */
if ((D_EA && InStr(D_EA, "\033(B")) || (D_AS && InStr(D_AS, "\033(0")))
D_CG0 = 1;
- - if (InStr(D_termname, "xterm") || InStr(D_termname, "rxvt"))
+ if (InStr(D_termname, "xterm") || InStr(D_termname, "rxvt") ||
+ InStr(D_termname, "kterm") || InStr(D_termname, "Eterm"))
D_CXT = 1;
/* "be" seems to be standard for xterms... */
if (D_CXT)
- -- System Information
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux marge 2.4.20 #1 Sat Mar 15 17:03:22 CST 2003 i686
Locale: LANG=C, LC_CTYPE=C
Versions of packages screen depends on:
ii base-passwd 3.5.3 Debian base system master password
ii debconf 1.2.35 Debian configuration management sy
ii libc6 2.3.1-16 GNU C Library: Shared libraries an
ii libncurses5 5.3.20021109-2 Shared libraries for terminal hand
ii libpam0g 0.76-9 Pluggable Authentication Modules l
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQE/HGxXo1bI1Ubu/SwRAh3VAJ9bKuekpOp5cVzo6qI6w+ntcvc+ZgCdHzIV
dyra9jEpEiX/MIFiG2tomgg=
=40Ge
-----END PGP SIGNATURE-----
--- End Message ---
--- Begin Message ---
Tags: unreproducible
Hi,
Thanks for this report and patch.
I rechecked this on current screen 5.0.1 in Debian and could not
reproduce the reported behaviour with current terminfo data (including
Eterm). The issue appears to be obsolete in current code/terminfo
behaviour.
kterm was removed from Debian in 2018.
Closing as obsolete/unreproducible.
If this is still reproducible on 5.0.1-1, please reopen with further
details.
--- End Message ---