^C in Dolphin Terminal Panel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Anne Wilson wrote:

> On Friday 21 May 2010 10:40:50 Kevin Kofler wrote:
>> It's not a bug. It's an important bugfix! If you have "rm -rf " typed in
>> your terminal and Dolphin enters "cd something" and ENTER, boom! This has
>> already lead to real-world data loss for some people! There's an upstream
>> bug filed for this, and I guess they finally fixed that now. Typing "cd
>> somedir" into a random command's prompt is also going to do no good,
>> Ctrl+C also protects against that.
>> 
> How?  Can you explain more?

Dolphin just sends keypresses to the process running inside the KonsolePart. 
So if you have "rm -rf " typed, typing "cd somedir" and Enter/Return will 
result in:
rm -rf cd somedir
which will delete somedir (and complain about no file or directory named cd 
existing)!

Ctrl+C is an effective way to clear the command line, and also interrupt 
non-shell processes which may be waiting for input.

        Kevin Kofler



[Index of Archives]     [KDE Users]     [Fedora General Discussion]     [Older Fedora Users Mail]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Maintainers]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Triage]     [Coolkey]     [Yum Users]     [Yosemite Forum]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]

  Powered by Linux