Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Small problem with suspend-a-loop patch (6707)



The first time a loop is suspended and then brought back into the foreground,
the job status is reported incorrectly; every time thereafter it's correct.

zagzig<12> repeat 5
repeat> sleep 20
zsh: 8811 suspended  repeat 5; do; sleep 20; done
zagzig<13> fg
[1]    suspended  repeat 5; do; sleep 20; done

zsh: 8811 suspended  repeat 5; do; sleep 20; done
zagzig<14> fg
[1]  + continued  repeat 5; do; sleep 20; done

zsh: 8811 suspended  repeat 5; do; sleep 20; done
zagzig<14> fg
[1]  + continued  repeat 5; do; sleep 20; done

zsh: 8811 suspended  repeat 5; do; sleep 20; done
zagzig<14> fg
[1]  + continued  repeat 5; do; sleep 20; done

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com



Messages sorted by: Reverse Date, Date, Thread, Author