From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8117 invoked from network); 7 Apr 2005 19:11:17 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 7 Apr 2005 19:11:17 -0000 Received: (qmail 45321 invoked from network); 7 Apr 2005 19:11:11 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 7 Apr 2005 19:11:11 -0000 Received: (qmail 9108 invoked by alias); 7 Apr 2005 19:11:08 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 21113 Received: (qmail 9093 invoked from network); 7 Apr 2005 19:11:07 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 7 Apr 2005 19:11:07 -0000 Received: (qmail 45081 invoked from network); 7 Apr 2005 19:11:07 -0000 Received: from acolyte.scowler.net (216.254.112.45) by a.mx.sunsite.dk with SMTP; 7 Apr 2005 19:11:02 -0000 Received: by acolyte.scowler.net (Postfix, from userid 1000) id 4E5297004A; Thu, 7 Apr 2005 15:10:59 -0400 (EDT) Date: Thu, 7 Apr 2005 15:10:59 -0400 From: Clint Adams To: zsh-workers@sunsite.dk Cc: 303623-submitter@bugs.debian.org Subject: [andrew@pimlott.net: Bug#303623: zsh: CHECK_JOBS doesn't work when only one command was run since last Control-D] Message-ID: <20050407191059.GA11437@scowler.net> Mail-Followup-To: zsh-workers@sunsite.dk, 303623-submitter@bugs.debian.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.6+20040907i X-Spam-Checker-Version: SpamAssassin 3.0.2 on a.mx.sunsite.dk X-Spam-Level: X-Spam-Status: No, score=-2.5 required=6.0 tests=AWL,BAYES_00 autolearn=ham version=3.0.2 X-Spam-Hits: -2.5 ----- Forwarded message from Andrew Pimlott ----- When a job is still running and the CHECK_JOBS is set, zsh should only exit when it receives two exit requests in a row. However, sometimes it honors an exit request in other conditions. One repeatable case is when the request is a Control-D and there was only one command run since the last exit request. The following illustrates ( stands for pressing Control-D): % vi zsh: suspended vi % exit zsh: you have suspended jobs. % true % exit zsh: you have suspended jobs. % true % true % zsh: you have suspended jobs. % true % I have accidentally logged out with my mail open several times because of this. Andrew ----- End forwarded message -----