[Konsole-devel] [Bug 280138] Remote tab format "%h : %u" makes tab title become ":" when connecting to some remote host throuh sshg

Jekyll Wu adaptee at gmail.com
Sat Mar 3 03:55:14 UTC 2012


https://bugs.kde.org/show_bug.cgi?id=280138

--- Comment #12 from Jekyll Wu <adaptee at gmail.com> ---
I tried again using Kubuntu and still no success in reproducing.

Looking at the related code again, there are two possible explanation for the
reported problem

1). the code in Konsole for parsing the full "ssh ...." command is not good
enough to parse some strange forms. But that doesn't explain the scrennshots in
comment #4 where the "ssh ..." command is quite normal and definitely should
work and works for me.

2). For some reason, Konsole can't get the needed info from
/proc/<ssh-pid>/cmdline. In that case, Konsole will print some warning messages
like "Could not read process info" or "Could not read arguments" onto stderr.

So please start konsole from command line in xterm, and check whether Konsole
prints those waning messages when the reported problem happens. Before doing
this, it is better to run "kdebugdialog"  to ensure that debug output is
enabled for konsole.

If you have some knowledge of C++ and Qt, you can also try to debug this
problem yourself since you can reproduce it easily. The related code is within
SSHProcessInfo::SSHProcessInfo() and SSHProcessInfo::format().  The latest code
can be obtained from here:
https://projects.kde.org/projects/kde/kde-baseapps/konsole/repository

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the konsole-devel mailing list