From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24838 invoked from network); 1 Aug 1999 07:39:35 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 1 Aug 1999 07:39:35 -0000 Received: (qmail 8702 invoked by alias); 1 Aug 1999 07:39:26 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 7328 Received: (qmail 8695 invoked from network); 1 Aug 1999 07:39:24 -0000 From: "Bart Schaefer" Message-Id: <990801073920.ZM29840@candle.brasslantern.com> Date: Sun, 1 Aug 1999 07:39:19 +0000 X-Mailer: Z-Mail (5.0.0 30July97) To: zsh-workers@sunsite.auc.dk Subject: Bug: using send-break at "select" prompt breaks a bit too much MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Check this out: function oops() { setopt localoptions localtraps trap "echo got signal" 0 1 2 3 15 ZERR DEBUG select x in a b c do echo $REPLY done echo "finished select" } Put that in your $fpath and run "oops". Try ^C and ^\ (or ^_ or whatever you have sending QUIT). Then use ^G (send-break). Note that the whole function is killed, but "finished select" is never printed nor are any traps triggered. Now try the same thing with "zsh -ic oops". It shouldn't matter much. -- Bart Schaefer Brass Lantern Enterprises http://www.well.com/user/barts http://www.brasslantern.com