From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17599 invoked from network); 5 Mar 1999 11:40:40 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 5 Mar 1999 11:40:40 -0000 Received: (qmail 13776 invoked by alias); 5 Mar 1999 11:40:20 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 5656 Received: (qmail 13765 invoked from network); 5 Mar 1999 11:40:15 -0000 Message-Id: <9903051124.AA19528@ibmth.df.unipi.it> To: Thomas Ziehmer , zsh-workers@sunsite.auc.dk (Zsh hackers list) Subject: Re: trap problem In-Reply-To: "Thomas Ziehmer"'s message of "Fri, 05 Mar 1999 12:32:12 NFT." <19990305123212.A24019@digger.rhrk.uni-kl.de> Date: Fri, 05 Mar 1999 12:24:09 +0100 From: Peter Stephenson Thomas Ziehmer wrote: > Hallo, > with zsh 3.1.5 (the only tested version) on SGI and HP, but not on Linux, AIX > > and Solaris (there it works correct), the following script produces a wrong > output: > > [script omitted] > > The output of the second ps-command is not shown. > Why? Yes, I get this too on IRIX 6.2. However, changing the arguments to the second ps (adding e.g -u $USER or -e) does produce output. So I think the problem is that ps is getting confused somehow by the process group, and simply not finding any processes to report. Whether this is a bug due to zsh setting up the process wrong, or simply ps's own confusion, is rather hard to tell. -- Peter Stephenson Tel: +39 050 844536 WWW: http://www.ifh.de/~pws/ Dipartimento di Fisica, Via Buonarroti 2, 56127 Pisa, Italy