[Konsole-devel] [Bug 93375] New: konsole title gets screwed up after ssh

Nicolas Wack wackes at yahoo.fr
Tue Nov 16 16:49:15 UTC 2004


------- 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=93375        
           Summary: konsole title gets screwed up after ssh
           Product: konsole
           Version: 1.4.1
          Platform: unspecified
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: konsole-devel kde org
        ReportedBy: wackes yahoo fr


Version:           1.4.1 (using KDE 3.3.1,  (3.1))
Compiler:          gcc version 3.3.5 (Debian 1:3.3.5-2)
OS:                Linux (i686) release 2.6.9-1-686

When I log in through ssh to a host with a 4-level domain name (ex: sauron.aules.upf.edu), I get my '\u \h:\w' string in the konsole title (which is nice), and it gets updated when I cd into a directory, except that it won't go away after logout. This doesn't happen if I ssh in a machine with a 3-level name (ie: www.upf.es), in which case the title doesn't change at all.

So I don't know which way is correct (either to display the host & path, or not to display anything), but it should be consistent. I'd say that displaying the path is a good idea, if the session has not been renamed before.

for info, I use bash and my PS1='\n\[\e[34;1m\]\u \h:\w\$ \[\e[0m\]'



More information about the konsole-devel mailing list