←back to thread

217 points tanelpoder | 1 comments | | HN request time: 0.211s | source
Show context
marcosdumay ◴[] No.26494383[source]
I guess the most important message isn't even "don't paste things into the terminal". It's "don't use a terminal that pastes things automatically, or by some action you will do by mistake".

Or, more specifically, don't ever use the default behavior of putty in a laptop with a trackpad and a gesture enabled for left click. If you use putty, set copy and paste to something less random.

replies(2): >>26494657 #>>26494994 #
stelliosk ◴[] No.26494657[source]
Always enable the option 'confirm paste' if available in an terminal emulator.
replies(1): >>26495150 #
1. pcl ◴[] No.26495150[source]
iTerm has great behavior here — it allows painless pasting of things without newlines, but prompts for pasteboard contents that contain newlines.