From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2781 invoked by alias); 4 Dec 2016 17:57:22 -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: 40084 Received: (qmail 16919 invoked from network); 4 Dec 2016 17:57:22 -0000 X-Qmail-Scanner-Diagnostics: from mail-vk0-f44.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.44):SA:0(0.0/5.0):. Processed in 1.384765 secs); 04 Dec 2016 17:57:22 -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.0 required=5.0 tests=RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_PASS,T_DKIM_INVALID autolearn=unavailable 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.44 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:cc :mime-version; bh=UBvZRFBlY7mY6XMbdQXsOoX40rb/OeL8e2kmbiSY48g=; b=ecgxWGZHIfOXdy1rxFqtxTVRHROxkwgYc/SAhtMJ2PebMUyDLaJ1Am7nB6+tefIbH6 kSOljkUc+e4IKTn4S0rMQH5Uay60Zv3T9OpbnI03ETYUlLTz/joejy3Tv4EsXBNIHabU QfM1T9aafDtyCedJFHR/34T0ZNWQLSOHC7ZBDO6ws8Bo4HMMwWwoUdiswJRMTaJhP1j/ cq20VRqsooQOvh9muNBXAYAgzat7AcU771GzNEQ2VbLvRMCwkAzjawpP/PG8kuRpfHKr hI/e0fHL3glba4DA4Q1y4+EIQvwBriZNAcyUhG4x5X9Icx9KoAi2kI7TDp5vOqUvB4L7 6Tzg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:message-id:date:in-reply-to:comments :references:to:subject:cc:mime-version; bh=UBvZRFBlY7mY6XMbdQXsOoX40rb/OeL8e2kmbiSY48g=; b=Bs34qUkBKfrAmZp5aF8x18Jpn9SeP47Dyx0katct/aTPTlFa/yQIAlMjWA+c22e1/I 2LR/0M+zQ1RubA0QEih1yzla5wueQVcQKUKsQ3jQQr/D1iVl43EGJn6vEya7veDpVUuJ C/xb8phv63fvvYiiRaQVloy8nUqDRo/kNjAKnASwOsLcqGKekvdZ799a03Z2vPvLr71f 6VFtSmZhrTeVW3J2c28x1ZuJoBq4mcRTbL/MaW3otK9ARI5MX/wewdMf9n/4Pg7U1NYC jTiZwMDUqac5XCGe8gtVoIwJr2gVWc7aQukldbXC6OsL2zTLVYGGVX7ChhIqyz6G8EWV s2dw== X-Gm-Message-State: AKaTC02YeTWb5C+iuhh72MW1/0m5ciDGtAxyaN9MiStVJr6SjDk6kVNSCcrdNU4QDzjcDA== X-Received: by 10.31.15.67 with SMTP id 64mr980202vkp.60.1480873825287; Sun, 04 Dec 2016 09:50:25 -0800 (PST) From: Bart Schaefer Message-Id: <161204095033.ZM23348@torch.brasslantern.com> Date: Sun, 4 Dec 2016 09:50:33 -0800 In-Reply-To: <20161204173131.73286df9@ntlworld.com> Comments: In reply to Peter Stephenson "Re: zsh 5.2-test-1" (Dec 4, 5:31pm) References: <20161202203009.2eee2e4b@ntlworld.com> <20161204032558.GL5130@sym.noone.org> <20161204164217.GQ5130@sym.noone.org> <20161204170802.7528c7e4@ntlworld.com> <161204091941.ZM22403@torch.brasslantern.com> <20161204173131.73286df9@ntlworld.com> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh-workers@zsh.org Subject: Re: zsh 5.2-test-1 Cc: Debian Zsh Maintainers MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Dec 4, 5:31pm, Peter Stephenson wrote: } Subject: Re: zsh 5.2-test-1 } } On Sun, 4 Dec 2016 09:19:41 -0800 } Bart Schaefer wrote: } > Looks more to me as if PS1 is being restored despite the assignment to } > PROMPT, possibly because PS1 has been exported into the environment by } > the test harness? } } Oh, that "+" in the diff might refer to all the following lines, in } which case you're probably right. I'm not sure assigning it inside the here-string is soon enough; a shell with -is on the command line is going to start printing prompts as soon as it gets that first input newline. Src/zsh -fis <<<' echo second line ' torch% % torch% second line torch% % torch% % Might also be a good idea to do ... $ZTST_testdir/../Src/zsh +o PROMPT_SP -fis ... instead of having the unsetopt inside the here-string.