[Konsole-devel] [Bug 155999] Tabs auto-labelling not working with nested connections

Robert Knight robertknight at gmail.com
Thu Jan 17 17:26:18 UTC 2008


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=155999         




------- Additional Comments From robertknight gmail com  2008-01-17 18:26 -------
This is an inherent limitation of the way tab labeling works I'm afraid.  Konsole takes snapshots of the process status file for the terminal's current foreground process.  This means that it can only look at processes that are local.  Once you connect to a remote machine via ssh, Konsole has no idea what you are doing on the remote machine.  If from the remote machine you connect to another (ie. a nested connection) Konsole will still only see the ssh process on the local machine.

If you frequently nest ssh connections then a better option would be to change your remote tab title format (Settings -> Edit Current Profile -> Tabs) to just the window title set by the shell (Click Insert -> "Window title set by shell") instead.  The default window title most shells give is usually something along  the lines of "user host:current directory$", so you will see the correct user and host on the tab title although the prompt string is usually quite long so you might need to shorten it.  

The only way around this that I see is for the shell process on the remote machine to pass back information about what is going on via some escape code magic.



More information about the konsole-devel mailing list