News for hackers. Stuff that matters.
Re:# - the Unix truth by justintnt on Wednesday July 21, 2010 @08:11PM (#1536933)
'This usually leads to screenfuls of error messages and users praying that in this megabyte of binary garbage no valid shell commands occur' hit a nerve.
Re:# - the Unix truth by bradleyland on Thursday July 22, 2010 @11:08AM (#1538343)
Even more terrifying. During my early days of Unix usage, I accidentally (through tab completion and incompetence) executed `source ~/.bash_history`. The outcome was not good.
Re:# - the Unix truth by InclinedPlane on Thursday July 22, 2010 @03:37AM (#1537603)
A similar problem is accidentally dumping binary data to the terminal screen (via an incautious grep, for example), as various bytes get rendered as their corresponding control characters. This is even worse on windows (or at least used to be, I think Win 7 fixed this) where ^G is hard-wired to the system speaker which is fairly difficult to mute effectively.
Re:# - the Unix truth by varjag on Thursday July 22, 2010 @05:58AM (#1537774)
That's a bit more innocent though, since reset(1) usually helps.
Re:# - the Unix truth by hysterix on Thursday July 22, 2010 @01:26AM (#1537431)
Yeah I had a good laugh because it explains (at least some) of the times I've seen my shell behave like this.