From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4836 invoked from network); 30 Jan 2000 18:47:12 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 30 Jan 2000 18:47:12 -0000 Received: (qmail 15958 invoked by alias); 30 Jan 2000 18:47:06 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 9479 Received: (qmail 15950 invoked from network); 30 Jan 2000 18:47:04 -0000 From: "Bart Schaefer" Message-Id: <1000130184700.ZM31569@candle.brasslantern.com> Date: Sun, 30 Jan 2000 18:47:00 +0000 X-Mailer: Z-Mail (5.0.0 30July97) To: zsh-workers@sunsite.auc.dk Subject: Problems with trap handling? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii This may be related to my "infinite loop" report: function tst() { trap return INT read -q xx'?Type ^C here: ' echo You should not see this. } Execute in 3.1.6-dev-16 and type ^C. Note that you don't leave the "read" prompt. Type any plain character; now "read" returns, and the function aborts as if interrupted. This and the previous report are on Linux, RH5.2. -- Bart Schaefer Brass Lantern Enterprises http://www.well.com/user/barts http://www.brasslantern.com