Fix directory navigation in Dolphin::Terminal.

Review Request #101096 - Created April 12, 2011 and submitted

Information
Raphael Kubo da Costa
kde-baseapps
Reviewers
kde-baseapps
Fix directory navigation in Dolphin::Terminal.

When navigating in Dolphin it attempts to keep any open Terminal (F4)
in sync by changing the directory in the shell.  It does this by
sending a "^C; cd $DIRECTORY" however shells under FreeBSD treat "^C"
as a literal string and not SIGINT.  Fix this by sending SIGINT to the
shell instead of "^C".

It appears Linux does not exhibit this behaviour.

Patch originally written by David Naylor, from the KDE-FreeBSD team.
Changing directories with a terminal open now changes the terminal's current directory fine on FreeBSD.
Peter Penz
Thanks, looks good!
Please leave the open/closing braces also when only one statement is used (see http://techbase.kde.org/Policies/Kdelibs_Coding_Style)
Commit Hook
This review has been submitted with commit 5f78219e18073e475ed1f1865a1a2be1fafd60cf by Raphael Kubo da Costa.
Loading...