From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15065 invoked from network); 26 Feb 2003 06:18:55 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 26 Feb 2003 06:18:55 -0000 Received: (qmail 3222 invoked by alias); 26 Feb 2003 06:18:47 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 18298 Received: (qmail 3211 invoked from network); 26 Feb 2003 06:18:47 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 26 Feb 2003 06:18:47 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [216.27.190.146] by sunsite.dk (MessageWall 1.0.8) with SMTP; 26 Feb 2003 6:18:47 -0000 Received: from ceramic.fifi.org (mail@ceramic.fifi.org [216.27.190.147]) by tantale.fifi.org (8.9.3/8.9.3/Debian 8.9.3-21) with ESMTP id WAA02714; Tue, 25 Feb 2003 22:18:41 -0800 Received: from phil by ceramic.fifi.org with local (Exim 3.35 #1 (Debian)) id 18nuts-0002Zo-00; Tue, 25 Feb 2003 22:18:40 -0800 To: Peter Whaite , "Bart Schaefer" Cc: zsh-workers@sunsite.dk Subject: Re: Cant fg a suspended su (4.1.0-dev-7) References: <200302211807.h1LI74n23531@aragorn.cortexmachina.com> From: Philippe Troin Date: 25 Feb 2003 22:18:40 -0800 In-Reply-To: <200302211807.h1LI74n23531@aragorn.cortexmachina.com> Message-ID: <87r89v7ef3.fsf@ceramic.fifi.org> User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: Philippe Troin Peter Whaite writes: > I've noticed that I cannot resume a suspened su session lately (It > happened in 4.1.0-dev-6 as well). > > aragorn% /bin/su peta > Password: > aragorn% echo $ZSH_VERSION > 4.1.0-dev-7 > aragorn% suspend > zsh: suspended (signal) /bin/su peta > aragorn% fg %1 > [1] + continued /bin/su peta > zsh: suspended (signal) /bin/su peta > > There is approximately a 1 second pause between the contined and the > suspended messages. Okie, I have the fix, but I need more time to finish testing it... While I was perusing bash's sources, I found out that we could also improve pgid handling when doing builtin_exec(). On the way too... Phil.