Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 266553 - x11-xterms/xterm-242 breaks window title handling
Summary: x11-xterms/xterm-242 breaks window title handling
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-17 15:44 UTC by catfish
Modified: 2009-09-24 08:08 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description catfish 2009-04-17 15:44:12 UTC
Hello,

I searched on "xterm title" and did not find this error previously reported.

I am running a current gentoo stable system on x86.  x11-xterms/xterm-242 was recently marked as stable.  it breaks window title changing (like via the bash PROMPT_COMMAND).  I dropped back to the previous stable version -- x11-xterms/xterm-239 -- and it works as expected.

Reproducible: Always

Steps to Reproduce:
1. emerge a current stable system
2. start X windows
3. invoke xterm

Actual Results:  
xterm title displays "xterm" on the window title.

Expected Results:  
xterm window title should display the contents of the BASH environment variable PROMPT_COMMAND

xterm title displays "xterm"; not the contents of the PROMPT_COMMAND.  xterm invoked with -T works as expected.  Adding "XTerm*allowTitleOps: true" and reloading ~/.Xresources via xrdb does not appear to change anything.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2009-04-18 15:21:32 UTC
Please post your `emerge --info' too.
Comment 2 catfish 2009-04-20 14:50:39 UTC
 $ emerge --info
Portage 2.1.6.7 (default/linux/x86/2008.0/desktop, gcc-4.3.2, glibc-2.8_p20080602-r1, 2.6.27-gentoo-r8 i686)
=================================================================
System uname: Linux-2.6.27-gentoo-r8-i686-Mobile_Intel-R-_Pentium-R-_III_CPU_-_M_1333MHz-with-glibc2.0
Timestamp of tree: Fri, 17 Apr 2009 07:15:01 +0000
app-shells/bash:     3.2_p39
dev-lang/python:     2.5.2-r7
dev-util/cmake:      2.4.8
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium3m -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=pentium3m -O2 -pipe -fomit-frame-pointer -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LC_ALL="C"
LDFLAGS="-Wl,-O1"
LINGUAS="en en_US ja"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
USE="X acl acpi alsa arts berkdb bluetooth branding bzip2 cairo cdr cjk cli cracklib crypt cups dbus dri dvd dvdr dvdread eds emboss encode esd evo exif fam fbcon firefox fortran gdbm gif gnome gpm gstreamer gtk hal iconv ipv6 isdnlog jpeg kde kdeenablefinal kdehiddenvisibility ldap libnotify mad midi mikmod mmx mmxext mp3 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl png postgres ppds pppd python qt3 qt3support qt4 quicktime readline reflection sdl session spell spl sse ssl startup-notification svg sysfs tcpd tiff truetype unicode usb vorbis win32codecs x86 xml xorg xulrunner xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="canon" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse wacom synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US ja" USERLAND="GNU" VIDEO_CARDS="trident vesa vga"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 konsti 2009-04-30 08:52:41 UTC
I confirm this. But this seems to belong to upstream since my xterm-242 on debian broke the same way also with downgrading helping out.
Comment 4 Rémi Cardona (RETIRED) gentoo-dev 2009-04-30 09:14:30 UTC
Please file a bug upstream and paste the url here, we'd really appreciate it since (obviously) most of us don't seem to use xterm.

Thanks for your help
Comment 5 catfish 2009-04-30 17:08:41 UTC
A bug report has been emailed upstream with a link to this bug report.

Thanks
Comment 6 Thomas Dickey 2009-04-30 18:47:40 UTC
That's a cut/paste bug, which was reported by
Matthieu Herrb on the xorg mailing list,
and is fixed in

ftp://invisible-island.net/temp/xterm-243c.patch.gz
Comment 7 catfish 2009-04-30 18:57:14 UTC
@ Comment #6

Thanks for the followup on the bug report and thank you for your time!
Comment 8 Samuli Suominen (RETIRED) gentoo-dev 2009-09-24 08:08:57 UTC
Fixed by

*xterm-248 (24 Sep 2009)

  24 Sep 2009; Samuli Suominen <ssuominen@gentoo.org> +xterm-248.ebuild:
  Version bump.

Per Comment #6 then.