From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3952 invoked from network); 6 Jun 2002 05:45:56 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 6 Jun 2002 05:45:56 -0000 Received: (qmail 14674 invoked by alias); 6 Jun 2002 05:45:44 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 17297 Received: (qmail 14661 invoked from network); 6 Jun 2002 05:45:44 -0000 Date: Thu, 6 Jun 2002 01:45:34 -0400 From: Clint Adams To: Peter Stephenson Cc: Zsh hackers list Subject: Re: zsh: Strange feature with 'jobs' commmand Message-ID: <20020606054534.GA24740@dman.com> References: <18526.1022779367@csr.com> <9875.1023288916@csr.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9875.1023288916@csr.com> User-Agent: Mutt/1.3.28i X-Virus-Scanned: by amavisd-milter (http://amavis.org/) > I haven't heard anything more, so I'm going to commit this version of > the jobs-in-subshells patch. I needed this to compile: Index: Src/Modules/zpty.c =================================================================== RCS file: /cvsroot/zsh/zsh/Src/Modules/zpty.c,v retrieving revision 1.24 diff -u -r1.24 zpty.c --- Src/Modules/zpty.c 9 Jul 2001 16:05:14 -0000 1.24 +++ Src/Modules/zpty.c 6 Jun 2002 05:44:56 -0000 @@ -294,7 +294,7 @@ /* This code copied from the clone module, except for getting * * the descriptor from get_pty() and duplicating it to 0/1/2. */ - clearjobtab(); + clearjobtab(0); ppid = getppid(); mypid = getpid(); #ifdef HAVE_SETSID