Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 28233 - Emerge doesn't update the window title of a screen session
Summary: Emerge doesn't update the window title of a screen session
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
: 35334 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-09-08 19:11 UTC by mike
Modified: 2011-10-30 22:17 UTC (History)
1 user (show)

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


Attachments
Modifies output.py to change screen session window name (output.py.patch,437 bytes, patch)
2003-09-08 19:15 UTC, mike
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description mike 2003-09-08 19:11:30 UTC
Emerge only changes the window title for xterm, Eterm, aterm, and rxvt.  Does
not change the window title of a screen window, or the shell containing that
screen session.

Reproducible: Always
Steps to Reproduce:
1. Open a screen session
2. Emerge any ebuild
3. View window titles using C-a w 

Actual Results:  
The title of the current screen window is not updated by the emerge.

Expected Results:  
Screen window name should provide similar information as is found in the title
bar of xterm & Eterm sessions.

Portage 2.0.49-r3 (default-x86-1.4, gcc-3.3.1, glibc-2.3.2-r1, 2.4.20-xfs-r2)
=================================================================
System uname: 2.4.20-xfs-r2 i686 AMD Athlon(tm) processor
ccache version 2.2 [enabled]
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-tbird -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=athlon-tbird -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs"
GENTOO_MIRRORS="http://toughguy.caltech.edu/pub/linux/gentoo
http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 oss apm avi crypt encode foomaticdb gif jpeg libg++ mad mikmod mmx mpeg
ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib gtkhtml gdbm
berkdb slang readline arts tetex bonobo svga tcltk guile mysql sdl gpm tcpd pam
libwww ssl perl python esd imlib oggvorbis gtk motif opengl mozilla cdr X dvd qt
-java -gnome kde cups"
Comment 1 mike 2003-09-08 19:15:52 UTC
Created attachment 17304 [details, diff]
Modifies output.py to change screen session window name

The output of xtermTitle() is longer than allowed to be in a screen window
title.	The patch simple cuts off the output after the maximum number of
characters.  (/usr/lib/python2.2/site-packages/output.py)
Comment 2 Kurt Lieber (RETIRED) gentoo-dev 2003-09-08 19:23:55 UTC
assigned to wrong product.  fixing.
Comment 3 Masatomo Nakano (RETIRED) gentoo-dev 2003-11-02 12:40:57 UTC
The patch doesn't work for me on my screen session.
Then, I changed as following and it works.
-    if myt in ["xterm","Eterm","aterm","rxvt"]:
+    if myt in ["xterm","Eterm","aterm","rxvt","screen"]:

But I'm not sure if it's good or bad because I'm not familiar with screen.
What do you think?
Comment 4 Masatomo Nakano (RETIRED) gentoo-dev 2003-12-08 07:11:55 UTC
fixed in cvs
Comment 5 Masatomo Nakano (RETIRED) gentoo-dev 2003-12-08 07:12:22 UTC
*** Bug 35334 has been marked as a duplicate of this bug. ***
Comment 6 Marius Mauch (RETIRED) gentoo-dev 2004-02-08 17:55:28 UTC
supposed to be fixed in 2.0.50 which is stable now. If this bug is not fixed please reopen.