From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26536 invoked from network); 28 May 2001 05:56:00 -0000 Received: from sunsite.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 28 May 2001 05:56:00 -0000 Received: (qmail 4092 invoked by alias); 28 May 2001 05:55:49 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 14500 Received: (qmail 4077 invoked from network); 28 May 2001 05:55:48 -0000 X-Envelope-Sender-Is: Andrej.Borsenkow@mow.siemens.ru (at relayer goliath.siemens.de) From: "Andrej Borsenkow" To: Subject: RE: Serious problem with job control and functions Date: Mon, 28 May 2001 09:55:43 +0400 Message-ID: <000601c0e73a$d4e7bbd0$21c9ca95@mow.siemens.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Importance: Normal In-Reply-To: <1010527224256.ZM1539@candle.brasslantern.com> X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 > > This must be related to the patch from 14327. > > I have a shell function: > > man () { > command man $* | less -ais > } > > I discovered today that if I suspend this function with control-Z, it > vanishes entirely from the job tables and the `man' and `less' commands, > though stopped, are orphaned. > I am not sure if it is releated but I recently found that using some shell functions in xterm window on Mandrake cooker kills this window. It was funny to see xterm disappearing after 'prompt -p bart' :-) It may be related to some signal handling/job control. The Mandrake distro corresponds to 4.0.1-pre-5. -andrej