From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27846 invoked from network); 12 Dec 1999 10:11:03 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 12 Dec 1999 10:11:03 -0000 Received: (qmail 20535 invoked by alias); 12 Dec 1999 10:10:46 -0000 Mailing-List: contact zsh-users-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 2767 Received: (qmail 20528 invoked from network); 12 Dec 1999 10:10:45 -0000 Date: 12 Dec 1999 10:10:36 -0000 Message-Id: Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Content-Disposition: inline From: nirva@ishiboo.com (Danny Dulai) To: zsh-users@sunsite.auc.dk Subject: zsh script and SIGCONT X-Mailer: Liam [version 0.7] put the following into a file and run it "zsh scriptname" while :; do=20 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=20 helu helu zsh: 28129 suspended zsh p (~) % fg [3] continued zsh p (~) % echo $? 0 --=20 ___________________________________________________________________________ Danny Dulai Feet. Pumice. Lotion. http://www.ishiboo.com/~nirva/ nirva@ishiboo.com