LWN.net Logo

Shortening the rope

Shortening the rope

Posted Apr 4, 2009 23:39 UTC (Sat) by Richard_J_Neill (subscriber, #23093)
Parent article: Shortening the rope

Seems to me that Ctrl-Alt-Bksp is dangerous because you can do it by accident (it's very easy to accidentally enable sticky-keys by - hold [shift] for 8 secs), and then if you had Ctrl stuck on, and press Alt-Bksp (delete word), you've killed X by accident.

As for rm vs rm -i I personally like rm, but I think you should get the fingers into the habit of _never_ typing rm. I have an alias "cn" (for trashCaN) which moves the file into my trash. Now I never use rm in day-to-day use, and so when I do resort to it, I know that I really mean it.


(Log in to post comments)

Shortening the rope

Posted Apr 6, 2009 10:25 UTC (Mon) by nye (guest, #51576) [Link]

Ah, thank you!
At last that's the first believable explanation I've heard for how one might *accidentally* press a key combination which requires the use of both hands.

This has never bitten me because I always turn off any 'accessibility' features on the first occasion they enable themselves, given that they basically make the keyboard unusable.

Shortening the rope

Posted Apr 6, 2009 19:30 UTC (Mon) by nix (subscriber, #2304) [Link]

It doesn't require the use of both hands on all keyboards, anyway. (Most
common ones, sure.)

Shortening the rope

Posted Apr 7, 2009 0:39 UTC (Tue) by droundy (subscriber, #4559) [Link]

Actually, I've done this myself more times than I'd care to admit. I use alt-backspace all the time in bash (is there another word-kill key?), and on my laptop the alt and ctrl keys are adjacent, so it's very easy to accidentally hold them both down. :(

Shortening the rope

Posted Apr 9, 2009 15:38 UTC (Thu) by RobSeace (subscriber, #4435) [Link]

> is there another word-kill key?

CTRL-W is how I've always done it... CTRL-U to take out the whole line, CTRL-W to wipe just the previous word...

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds