Re: Bash-4.3-beta2 available for FTP

2013-10-16 Thread Lionel Cons
On 15 October 2013 22:44, Joshuah Hurst wrote: > On Tue, Oct 15, 2013 at 10:36 PM, Chet Ramey wrote: >> On 10/15/13 4:27 PM, Joshuah Hurst wrote: >> > What happened to the patch for cd -@ to handle NFSv4+Windows alternate > streams? ksh93 already has this feature since quite some time and

can't just hold down ^K to clean up history

2013-10-16 Thread jidanni
Let's say one accidentally pastes a many lines of some email into a bash window. Yes bash tries to execute each line. Can't blame it. But now we are faced with cleaning the mess out of history. We use ^P^P^P^P^P^P^P... to finally get to the top of the mess. Then we must use ^K^N^K^N^K^N^K^N^K^N

Re: can't just hold down ^K to clean up history

2013-10-16 Thread Greg Wooledge
On Wed, Oct 16, 2013 at 08:53:27PM +0800, jida...@jidanni.org wrote: > We use ^P^P^P^P^P^P^P... to finally get to the top of the mess. ... why would you do that? Also, how is this a bug? > Then we must use ^K^N^K^N^K^N^K^N^K^N^K^N... to clean it up. > > However this leaves many blank lines in h

Re: can't just hold down ^K to clean up history

2013-10-16 Thread Chris Down
On 2013-10-16 20:53, jida...@jidanni.org wrote: > Let's say one accidentally pastes a many lines of some email into a bash > window. Firstly: you should be careful not to do that. > Yes bash tries to execute each line. Can't blame it. Well, it's the expected behaviour. Bash doesn't know the diff

Re: can't just hold down ^K to clean up history

2013-10-16 Thread jidanni
>> Also why can't we just hold down ^K^K^K^K^K^K^K^K^K ? CD> Why do you expect to be able to do that? C-k in readline deletes to the end of CD> the current line. There's no reason why it should also get the next line. Ah ha, but there is also no reason why it should not! I hereby propose that i