Re: [bug-bash] Named fifo's causing hanging bash scripts

2015-01-13 Thread Dr. Werner Fink
On Mon, Jan 12, 2015 at 11:50:56AM -0500, Chet Ramey wrote: > On 1/12/15 9:55 AM, wer...@linux-8jdz.site wrote: > > Configuration Information [Automatically generated, do not change]: > > Machine: x86_64 > > OS: linux-gnu > > Compiler: gcc -I/home/abuild/rpmbuild/BUILD/bash-4.3 > > -L/home/abuild/

CTL-z bug?

2015-01-13 Thread Guillaume MULLER
Hi, When I run a for loop in bash, then pausing it with CTL-z, then restarting it with fg, the for loop just stops. I don't think this was the behaviour until recently, and I don't find it a correct behaviour, according to the meaning of the CTL-z "suspend" (https://en.wikipedia.org/wiki/Contr

Re: CTL-z bug?

2015-01-13 Thread Chet Ramey
On 1/13/15 11:37 AM, Guillaume MULLER wrote: > Hi, > > When I run a for loop in bash, then pausing it with CTL-z, then restarting > it with fg, the for loop just stops. I don't think this was the behaviour > until recently, and I don't find it a correct behaviour, according to the > meaning of the

Re: CTL-z bug?

2015-01-13 Thread Eduardo A . Bustamante López
I think that the following text from the zshell's code is an interesting read on the subject: TL;DR: Another strategy is to "migrate" the while-loop to a child process the moment that you hit ^Z, but, this is really hard (maybe impossible?) to do correctly. (From Src/exec.c) /* * [...] * * In