Opened 9 years ago

Last modified 6 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
Component: Applications/Terminal Version: R1/Development
Keywords: gci2011 Cc: diger
Blocked By: Blocking:
Has a Patch: no 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 (7)

comment:1 Changed 9 years ago by siarzhuk

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.

comment:2 Changed 8 years ago by scottmc

Is this still an issue? Did it get affected by the recent terminal changes?

comment:3 Changed 8 years ago by diver

Still an issue as of hrev39876.

comment:4 Changed 7 years ago by pepol

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 Changed 7 years ago by pepol

Keywords: gci2011 added

comment:6 Changed 7 years ago by diver

It's still here in hrev43470.

comment:7 Changed 6 years ago by diver

Cc: diger added
Note: See TracTickets for help on using tickets.