[haiku-bugs] Re: [Haiku] #5581: [Terminal] tab title is not updated after disconnecting from remote ssh server

  • From: "siarzhuk" <trac@xxxxxxxxxxxx>
  • Date: Tue, 16 Mar 2010 16:15:53 -0000

#5581: [Terminal] tab title is not updated after disconnecting from remote ssh
server
-----------------------------------+----------------------------------------
 Reporter:  diver                  |       Owner:  jackburton    
     Type:  bug                    |      Status:  new           
 Priority:  normal                 |   Milestone:  R1            
Component:  Applications/Terminal  |     Version:  R1/Development
 Keywords:                         |   Blockedby:                
 Platform:  All                    |    Blocking:                
-----------------------------------+----------------------------------------

Comment(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.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/5581#comment:1>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: