From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4002 invoked by alias); 30 Mar 2017 21:36:44 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 40919 Received: (qmail 19247 invoked from network); 30 Mar 2017 21:36:44 -0000 X-Qmail-Scanner-Diagnostics: from mail-vk0-f53.google.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.99.2/21882. spamassassin: 3.4.1. Clear:RC:0(209.85.213.53):SA:0(0.5/5.0):. Processed in 0.762283 secs); 30 Mar 2017 21:36:44 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=0.5 required=5.0 tests=RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,RCVD_IN_SORBS_SPAM,SPF_PASS, T_DKIM_INVALID autolearn=no autolearn_force=no version=3.4.1 X-Envelope-From: schaefer@brasslantern.com X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: pass (ns1.primenet.com.au: SPF record at _netblocks.google.com designates 209.85.213.53 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=from:message-id:date:in-reply-to:comments:references:to:subject :mime-version; bh=EZYJoA6lgtIwYAxFtF+hE1DL9iDb/ME6un/nTPAICCA=; b=k1USPqNXDZD2keGV4+x0tvBTaedMnG6g45M6K06NVtNPpptXYIpvlZRQBr8ghQ86ed h0VPTCE3OMMZsY0AmfZVWnwBMkDxZJHn4Fwdcm/EwTic2hKOZwnid6D4c7UmLoVjN6Vr 6OsCpyc+1EHPSoyNAs54gwex7dkT2oqPBY48ZZX8ejlmL6MvgQcaarFozrxoL2HWBt7r AH2D7O69tK/EFg6bDpRgixJtmGVD5l1loxwSR1Z/CCWBXhl2WeLrTKjXpqYdvTEz12T6 Dln8xyhR0TsnHx8axANlr/HZ9gAbMqNcBvAoDTC/nshHYRN6H0wiFvdFXA7QiLgYO6ot mQoQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:message-id:date:in-reply-to:comments :references:to:subject:mime-version; bh=EZYJoA6lgtIwYAxFtF+hE1DL9iDb/ME6un/nTPAICCA=; b=JtNxQfWVmuG7qy+Xgz47TLQ87K0R5d7KTz+C8cDZ6UXkbF4zrin7TYy2xh4m3OYFga JIkkJINyNA734VF+cGeg4iDNZhHSPQYNTbe7KQSb6VepgARbpjiBMjBlTC+2yNo4DboV vn5tg+PJf607y6jtHnwTFCAxnCH99x30eBSzKdauP4Hc/rco+hTMuVUTmNye8vWizJnI D3c5BOCLBAtGOaqpvNuarnqfOlFg1p+Yz976m99dcIAMiDfTFVQOK4QJaTCfFpnq2fDs t02MvD+Wv4oofTghZV0TMNYgwPm46i+zPEQDiedel1T0V8P/yGfcB+1i5HukZ0zzXbs3 iMQg== X-Gm-Message-State: AFeK/H3hBOOG+DIKdJyk5Fzcf3+u/AqYVqP9kvwbUvJubD0ypTfKqyp5A1/Jl0Fgul+jQg== X-Received: by 10.31.133.9 with SMTP id h9mr925846vkd.55.1490909798987; Thu, 30 Mar 2017 14:36:38 -0700 (PDT) From: Bart Schaefer Message-Id: <170330143636.ZM17242@torch.brasslantern.com> Date: Thu, 30 Mar 2017 14:36:36 -0700 In-Reply-To: <20170327102016.GA7975@chaz.gmail.com> Comments: In reply to Stephane Chazelas "empty job texts for suspended .zshrc jobs" (Mar 27, 11:20am) References: <20170327102016.GA7975@chaz.gmail.com> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: Zsh hackers list Subject: Re: empty job texts for suspended .zshrc jobs MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Mar 27, 11:20am, Stephane Chazelas wrote: } } zsh: suspended | Hm, this is because what you've actually suspended is the "source" command; the pipeline is the foreground job of the script file that "source" is reading. It's just that "source" doesn't get a slot in the job table because semantically it's masquerading as the top level shell. I suspect this is tangentially related to the gymnastics that zsh performs when you suspend a loop construct and an implicit fork has to be performed to add a new job table entry. It's just incomplete for the case of "source". The missing jobtext in this example dates back at least to 4.2.0. In zsh-2.4 the job state is garbage and the shell crashes when the sleeps ends. The last version I can try where it appears to work as expected is zsh-3.0.5.