Version: (using Devel) Installed from: Compiled sources In order to synchronize the current directory in the terminal with the one in Dolphin, 'cd xxx' commands are emitted in the terminal. But when an application is running inside the terminal, eg vi, this is very annoying. If possible, the 'cd' commands should stop if a child process is running inside the terminal.
I agree with Andreas.
SVN commit 946382 by rduran: BUG: 164489 Make Dolphin benefit from new TerminalInterfaceV2 functions. M +12 -4 terminalpanel.cpp M +2 -2 terminalpanel.h WebSVN link: http://websvn.kde.org/?view=rev&revision=946382
Also, when I type a command but do not hit enter and change directory in the GUI the "cd xxx\n" is emitted so a messed up command is executed. This is very bad if I type "rm -r " and decide to change directory before I finish typing the command. Judging from looking at the code, Rahmans fix doesn't seem to change this behaviour, but I couldn't test it. So could this bug be reopened or shall I file a new bug?
> Judging from looking at the code, > Rahmans fix doesn't seem to change this behaviour, but I couldn't test it. If I remember correctly, he ran into the anticipated problem that the terminal view doesn't know what it is displaying or what the user's input means and so we don't know that the user has typed a command and has not yet pressed enter.
Bug 161637 seems to be related to this.