window title changes on SSH log-in but doesn't revert on log-out
Bug #59253 reported by
Corsaire01
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bash (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
-launch a gnome-terminal window
-type a SSH log-in command to a server 'ssh user@server'
-when logged in, the Terminal window title moves from "Terminal" to "user@server:~"
-log-out from the remote machine (typing logout or Ctrl+d)
-the Window title should go back to "Terminal" but it is not the case (remains at "user@server:~" )
tested on Ubuntu 6.06 x86 and x86-64 same behaviour.
package gnome-terminal 2.14.2-0ubuntu1
To post a comment you must log in.
Thanks for your bug report. I can not reproduce this issue neither with Edgy or Dapper.
The title of the window is set by the variable PROMPT_COMMAND defined in ~/.bashrc. Changing the bug to bash package.
Can you post your ~/.bashrc ? I think you modified it. By default it set the window title to user@host:dir