Re: protection against accidental massive pastes into the command line

2012-04-26 Thread Allodoxaphobia
On Fri, 27 Apr 2012 04:18:21 +0800, jida...@jidanni.org wrote: > This would also save on later having to clean the massive blob out of > the history list. And, the Murphy's Law case(s) where one of the pasted lines contains a 'legitimate' linux command... Been there -- got a T-shirt. Jonesy

Re: protection against accidental massive pastes into the command line

2012-04-26 Thread jidanni
This would also save on later having to clean the massive blob out of the history list.

protection against accidental massive pastes into the command line

2012-04-26 Thread jidanni
Maybe there should be a limit, MAX_INTERACTIVE_COMMAND_LENGTH on how much can be fed into one bash command line, any more and bash should beep and reject the whole command. Otherwise an innocent middle click, or SHIFT INSERT slip of the fingers could paste an entire book out of the clipboard, into