Opened 14 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 siarzhuk, 14 years ago

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 by scottmc, 13 years ago

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

comment:3 by diver, 13 years ago

Still an issue as of hrev39876.

comment:4 by pepol, 12 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 pepol, 12 years ago

Keywords: gci2011 added

comment:6 by diver, 12 years ago

It's still here in hrev43470.

comment:7 by diver, 11 years ago

Cc: diger added

comment:8 by pulkomandy, 4 years ago

Milestone: R1R1.1
Note: See TracTickets for help on using tickets.