Bug 205648

Summary: /proc/PID/cwd isn't available in non-Linux systems
Product: [Applications] konsole Reporter: Raphael Kubo da Costa <rakuco>
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED FIXED    
Severity: normal CC: robertknight
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: FreeBSD   
Latest Commit: Version Fixed In:

Description Raphael Kubo da Costa 2009-08-30 05:19:47 UTC
Version:            (using Devel)
OS:                FreeBSD
Installed from:    Compiled sources

Currently, Konsole tries to read from /proc/PID-NUMBER/cwd in order to obtain information such as Current Directory and Program Name that is used, for example, in its tabs.

However, systems such as FreeBSD (and Windows, I guess) don't have such information available, so by default I get " : " as my tab names in Konsole.
Comment 1 Robert Knight 2009-08-30 17:50:20 UTC
A small amount of platform-specific code does need to be written to support this feature, including detecting whether the needed information it is available or not.  I have received and integrated patches for Solaris so far.  Patches to add support for BSD would be welcome at reviewboard.kde.org

Windows is not yet a supported platform for Konsole - the state of that is as I understand it very much work in progress.
Comment 2 Raphael Kubo da Costa 2009-08-31 06:02:06 UTC
Hi there. I've just submitted a patch for review - http://reviewboard.kde.org/r/1485/

Thanks!
Comment 3 Raphael Kubo da Costa 2009-08-31 16:31:26 UTC
SVN commit 1017793 by rkcosta:

Add support for retrieving process information for FreeBSD.

REVIEW: 1485
BUG: 205648


 M  +95 -0     ProcessInfo.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1017793