News for hackers. Stuff that matters.
Re:Don't Copy-Paste from Website to Terminal by cirwin on Sunday April 07, 2013 @08:31PM (#5509376)
Good terminal emulators (xterm, urxvt, iTerm2, etc.) have support for "bracketed paste mode" which can be used to fix this problem in zsh: https://github.com/robbyrussell/oh-my-zsh/pull/1698 (original code: http://www.zsh.org/mla/users/2011/msg00367.html)

It's probably easy to write a similar fix for bash.

Re:Don't Copy-Paste from Website to Terminal by TheJH_ on Monday April 08, 2013 @12:48PM (#5512829)
I initially thought it'd work, but actually, this protection can be circumvented. See the updated version of http://thejh.net/misc/website-terminal-copy-paste.