Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
zsh script and SIGCONT
- X-seq: zsh-users 2767
- From: nirva@xxxxxxxxxxx (Danny Dulai)
- To: zsh-users@xxxxxxxxxxxxxx
- Subject: zsh script and SIGCONT
- Date: 12 Dec 1999 10:10:36 -0000
- Mailing-list: contact zsh-users-help@xxxxxxxxxxxxxx; run by ezmlm
put the following into a file and run it "zsh scriptname"
while :; do
echo helu
sleep 1
done
run that script, hit ^Z, and then put into foreground again.. why does it
exit the while loop (thus causing the script to exit)?
This works fine in bash:
(~) % bash p
helu
helu
zsh: 28123 suspended bash p
(~) % fg
[3] continued bash p
helu
helu
but in zsh:
(~) % zsh p
helu
helu
zsh: 28129 suspended zsh p
(~) % fg
[3] continued zsh p
(~) % echo $?
0
--
___________________________________________________________________________
Danny Dulai Feet. Pumice. Lotion.
http://www.ishiboo.com/~nirva/ nirva@xxxxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author