Opened 15 years ago
Last modified 4 years ago
#5581 new bug
[Terminal] tab title is not updated after disconnecting from remote ssh server
Reported by: | diver | Owned by: | jackburton |
---|---|---|---|
Priority: | normal | Milestone: | R1.1 |
Component: | Applications/Terminal | Version: | R1/Development |
Keywords: | gci2011 | Cc: | diger |
Blocked By: | Blocking: | ||
Platform: | All |
Description
When you ssh to some remote host Terminal title is set to PS1 (I think). But when you disconnect from such host tab title remains the same and doesn't changes back. This is very confusing, because from the look at Terminal title you could think that you are still connected to something.
Change History (8)
comment:1 by , 15 years ago
comment:2 by , 14 years ago
Is this still an issue? Did it get affected by the recent terminal changes?
comment:4 by , 13 years ago
The problem was checked during GCI 2011.
It isn't a bug anymore on hrev43238, at least on VirtualBox 4.1.4.
After logging onto remote ssh server, it changed title to: 'home: ssh' and
after logging off, it changed it back to: 'home: --'
comment:5 by , 13 years ago
Keywords: | gci2011 added |
---|
comment:7 by , 12 years ago
Cc: | added |
---|
comment:8 by , 4 years ago
Milestone: | R1 → R1.1 |
---|
AFAIK this change was made by remote shell you have logged in. There is a special ESC-sequence that set caption for xterm-compatible terminals. Neither BeOS nor Haiku shells do this automaticaly. There was a tip at BeTips about incorporating sending of ´pwd´ outpout to the caption of terminal incorporated in PS1 environment variable. So possible solution[s] for this ticket can be:
a) adding the same ´pwd in caption´ functionality into default PS1 environment variable. But I suspect not all users will be happy about this.
b) The second solution can be adding an option in the Terminal settings - "Allow shell to change Terminal caption." set to "off" by default.