From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 7995 invoked from network); 30 Oct 2020 09:12:15 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 30 Oct 2020 09:12:15 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20200801; t=1604049135; b=DJ/jQKmr2LIO0fD/ZMffDxQsd7RZlK59CKgOAHtvux/GHTq6NNsXAlFTZBL9wRfj4pXYC6XfcK pl68rYrTlRPtLCT8fkdqw/1sffhoeRBIDXHjOBubVEzGjXokiiOAmvAFxri8c6pgqnddgaKLPV ypvxq1VwS2yTxpUFbZbh514bxyeRkYooNcfu716g4pFVlVeQTI9o7FpitshjzOQeOtQ9kxfUEH hDcgiUofvUBk1UxG6LGig/b/pyvt1pyjDhOzcjoRjfUOg4WvQgKdjm9+Yz3QYYuzQ9iLbF+kcj wQ2e1tPfJPd9Cj30X+ok3hf3t9/5DpqK1CQUy08kTqgZyQ==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (smtpq2.tb.ukmail.iss.as9143.net) smtp.remote-ip=212.54.57.97; dkim=pass header.d=ntlworld.com header.s=meg.feb2017 header.a=rsa-sha256; dmarc=pass header.from=ntlworld.com; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20200801; t=1604049135; bh=Za0zMN/AWs3VSlkoz2qp+30thX8YOs+iceplbawCgdw=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject: References:In-Reply-To:Message-ID:To:From:Date:DKIM-Signature: DKIM-Signature; b=t+muwmpeubqUo2zxW2RMmbPW7lTHd5afX8DfY8By//GwG46K6YPsoY+qoaYzNiZK+XeCqh5dcB XR4+rowAloflX9B/vdlE5EW1Pr7gURJ4ixbo3kXKH8Hx9dRTMBL0jzL8Mtehqcy/C9macnsFQy xui0fROrQ/JMdnpHgzlOy+ziTzc7nnV0Mks1rWfJ+sF26OZUml7JUPHtx1mD25yWwIpXxG6GKo k9GAjs+c9TPJmucOmejQhMbu6zKp4exdnAEmtxuKGldC6koWXetHt+sMeVkKZmLaAsSiVGeurn gaL9rZGekyTZyZyvw83k4FBrd/51cGPGFAoHFaxrbOllzQ==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20200801; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:Content-Transfer-Encoding: Content-Type:MIME-Version:Subject:References:In-Reply-To:Message-ID:To:From: Date:Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=03yJRB7+RHderu/G6Oml1V8DXudlkfwBOBpWJo9wHOg=; b=RkUIM0FUiFJyVHj+3ukHAK2ZIh RK2cfKJuDf9GBHx68NYBXvNOgfWub7tHF5sr72LnVlK24c9n41tzthoBaui+KEnHJtdOKHQWzghfq pAb3zZdtHyHeGZPBmLsvhl5O+5ufXivSERGO+aDD3ce+zYCaEpuQIuYeBvJKoEikpyyCp8qR/RRJr wgbyxzaYEfGPOr+eZ58p8xiEzBXskq++9dW2GeRPpuySDO4fJ9oyi12y6Sd0O+ABJByQfp3BFUq3Y URTmXIbyBkh0vSowq1uDAqk4bFMC+M4ejQN/jkAz1VShSjTpLBEAHjVI9zQ0rz8DNmO10wEEW6zch 6rQ7b2GQ==; Received: from authenticated user by zero.zsh.org with local id 1kYQSE-000L2c-Ed; Fri, 30 Oct 2020 09:12:14 +0000 Authentication-Results: zsh.org; iprev=pass (smtpq2.tb.ukmail.iss.as9143.net) smtp.remote-ip=212.54.57.97; dkim=pass header.d=ntlworld.com header.s=meg.feb2017 header.a=rsa-sha256; dmarc=pass header.from=ntlworld.com; arc=none Received: from smtpq2.tb.ukmail.iss.as9143.net ([212.54.57.97]:49470) by zero.zsh.org with esmtps (TLS1.2:ECDHE-RSA-AES128-GCM-SHA256:128) id 1kYQRs-000Ksg-SU; Fri, 30 Oct 2020 09:11:54 +0000 Received: from [212.54.57.80] (helo=smtp1.tb.ukmail.iss.as9143.net) by smtpq2.tb.ukmail.iss.as9143.net with esmtp (Exim 4.86_2) (envelope-from ) id 1kYQRs-00064k-C0 for zsh-workers@zsh.org; Fri, 30 Oct 2020 10:11:52 +0100 Received: from oxbe20.tb.ukmail.iss.as9143.net ([172.25.160.151]) by smtp1.tb.ukmail.iss.as9143.net with ESMTP id YQRskiFBVdIiKYQRsk8Llc; Fri, 30 Oct 2020 10:11:52 +0100 X-Env-Mailfrom: p.w.stephenson@ntlworld.com X-Env-Rcptto: zsh-workers@zsh.org X-SourceIP: 172.25.160.151 X-CNFS-Analysis: v=2.4 cv=Hs/Ip2fS c=1 sm=1 tr=0 ts=5f9bd8d8 a=Ip+kZtMD4PYul4iMASbA3A==:117 a=KEnZaF_ea6UA:10 a=IkcTkHD0fZMA:10 a=DoY9bV0jb9AA:10 a=q2GGsy2AAAAA:8 a=HYshxDoSAAAA:8 a=2YOoUl1s3MDogwOFm38A:9 a=QEXdDO2ut3YA:10 a=_2sokJ0tRqQA:10 a=nj81hcSH8yIA:10 a=z9dJwno5l634igLiVhy-:22 a=na7qQM7zoEAPfvOk0o6d:22 X-Authenticated-Sender: p.w.stephenson@ntlworld.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ntlworld.com; s=meg.feb2017; t=1604049112; bh=Za0zMN/AWs3VSlkoz2qp+30thX8YOs+iceplbawCgdw=; h=Date:From:To:In-Reply-To:References:Subject; b=qitsuNev6giIDg+U2TgDkkk51E7i7JiI+0xK1mf3lU16BDldsI/LxBBNpoou5bhRO y0r9t/sCBYDK0W+mZuia0TMHFQec69ui72xuUrv4veZahz1PKotw+fc3RiHJAQTho3 TiDQ6v6hwJLbjQjynoZ/HldmAQU16a1EQs03zDTdpDSjh2ARkn+8zCEPFUJFPRWbcn wupyAr+akw8FTThSDBes4cWIhbxqY06OtM01FsnX8eFV6Vlm+5rRlx25DFGDh7I6dA NCprPcHVCX+MQCvXeDmZz0YQrGOKvkHy5T7Biw+987NDWh6lxnkf7R49Ek2YCBN3f0 aVroIBfNfDEdA== Date: Fri, 30 Oct 2020 09:11:52 +0000 (GMT) From: Peter Stephenson To: Zsh hackers list Message-ID: <543268778.995199.1604049112269@mail2.virginmedia.com> In-Reply-To: References: <20200830111346.xulnbxoqxduetnoz@chazelas.org> <20201025201219.24ef0ddc@tarpaulin.shahaf.local2> <20201026072934.lwamqkoepmubftg3@chazelas.org> <86279-1604012954.475057@DzOR.FEf8.yJ7v> Subject: Re: [regression] %2K prompt expansion no longer works MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Priority: 3 Importance: Medium X-Mailer: Open-Xchange Mailer v7.8.4-Rev72 X-Originating-IP: 165.225.81.56 X-Originating-Client: open-xchange-appsuite X-CMAE-Envelope: MS4xfPqsm9dFvueHXKR+8ML2d6iPaJzV2gKyTjTG0WdVAfPcY+yEiz7U6N5PS3oq4OVuCZBRdYUG61JVxwW0zvXYlwCsIL1V3Jkf/7WumY13c8CAEyZ6NRrX wL/b7su0N0JU4XqlgXcVIZOV8elkn5ia6QG+vj6AdS2+KE7VWUC362Wnf44UNLsFcDyiziPj8rlzV0O97WDp+lymLj1cdUGqA0TXUbsIdIBFr/8ZKBKR2bzh X-Seq: 47513 Archived-At: X-Loop: zsh-workers@zsh.org Errors-To: zsh-workers-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-workers-request@zsh.org X-no-archive: yes List-Id: List-Help: List-Subscribe: List-Unsubscribe: List-Post: List-Owner: List-Archive: Archived-At: > On 30 October 2020 at 00:42 Bart Schaefer wrote: > On Thu, Oct 29, 2020 at 4:09 PM Oliver Kiddle wrote: > > > > > Shouldn't %F{green} give the same as %F{2} (echoti setaf 2) instead of > > > hardcoding the escape sequence? > > > > That's what I would have thought too. But then why has code been written > > to avoid termcap in the case of named colours? > > > > If nobody can remember, removing it may be the only way to find out. > > %F hasn't been around that long (comparatively, ahem) ... the git > history should provide some explanation. > > https://www.zsh.org/mla/workers/2008/msg00647.html > > Peter? Jog anything? I'm pretty sure this stuff was only ever done on the basis of "whatever happened to work at the time". The only master plan was to provide as wide support as possible without making too many assumptions. The assumptions to be made will correspondingly have changed over the years. pws