Bug 129152 - window titles no longer change when su'd or ssh'd
Summary: window titles no longer change when su'd or ssh'd
Keywords:
Status: CLOSED DUPLICATE of bug 129115
Alias: None
Product: Fedora
Classification: Fedora
Component: setup
Version: rawhide
Hardware: i686
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-08-04 14:50 UTC by Joshua M. Thompson
Modified: 2014-03-17 02:47 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-02-21 19:04:56 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Joshua M. Thompson 2004-08-04 14:50:44 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7)
Gecko/20040626 Firefox/0.9.1

Description of problem:
As of the latest gnome-terminal update my window titles no longer
change  if I "su -" to another user, ssh to a remote server or use
"screen."


Version-Release number of selected component (if applicable):
gnome-terminal-2.7.3-1

How reproducible:
Always

Steps to Reproduce:
1. Open a terminal window
2. ssh to a remote FC server

    

Actual Results:  Window title will still reflect the last local shell
prompt

Expected Results:  The window title should change to reflect the
command prompt on the remote system.

Additional info:

This broke when gnome-terminal went from 2.6.x to 2.7.x.

Comment 1 James Laska 2004-08-06 14:06:36 UTC
Confirming this bug in latest rawhide (08/06/2004) using
gnome-terminal-2.7.3-1.  This is deemed not to be an ncurses issue,
but rather as Joshua suggests a regression from 2.6.x -> 2.7.x.  I
believe the problem is just a basic terminal window setting.  Starting
a new tab, ssh, screen ... all fail to set the gnome-terminal title. 
xterm does not exhibit this problem.

Thoughts?

Comment 2 Ray Strode [halfline] 2004-08-06 18:48:19 UTC
This has to do with the change made from bug 122815, where
gnome-terminal gets TERM=gnome now instead of TERM=xterm.  

/etc/bashrc only sets the title on terminals that have TERM types that
start with xterm.

Comment 3 Joshua M. Thompson 2004-08-06 18:58:10 UTC
Aha! Setting my TERM type in my personal .bashrc fixes it. Thank the
gods; it was getting annoying not being able to tell my windows apart
by title. :)

I'm not so sure this is a good change though. Not only does it break
the /etc/bashrc script on older servers (think ssh-ing into a remote
server you don't have control over) but it also seems to break
terminal emulation on older systems too. I was having weird isues with
the delete key not working right when running vim over ssh to my dev
server (it runs FC1) and changing my term to "xterm" has cured that too.


Comment 4 Bill Nottingham 2004-08-10 20:40:17 UTC

*** This bug has been marked as a duplicate of 129115 ***

Comment 5 Red Hat Bugzilla 2006-02-21 19:04:56 UTC
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.


Note You need to log in before you can comment on or make changes to this bug.