Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [regression] %2K prompt expansion no longer works
- X-seq: zsh-workers 47513
- From: Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx>
- To: Zsh hackers list <zsh-workers@xxxxxxx>
- Subject: Re: [regression] %2K prompt expansion no longer works
- Date: Fri, 30 Oct 2020 09:11:52 +0000 (GMT)
- Archived-at: <https://zsh.org/workers/47513>
- Archived-at: <http://www.zsh.org/sympa/arcsearch_id/zsh-workers/2020-10/543268778.995199.1604049112269%40mail2.virginmedia.com>
- 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
- 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==
- Importance: Medium
- In-reply-to: <CAH+w=7aV+gJg8YCX=w29dasxvbB3QCpy=JEd3XeWyG+VQvCWiA@mail.gmail.com>
- List-archive: <http://www.zsh.org/sympa/arc/zsh-workers>
- List-help: <mailto:sympa@zsh.org?subject=help>
- List-id: <zsh-workers.zsh.org>
- List-owner: <mailto:zsh-workers-request@zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- List-subscribe: <mailto:sympa@zsh.org?subject=subscribe%20zsh-workers>
- List-unsubscribe: <mailto:sympa@zsh.org?subject=unsubscribe%20zsh-workers>
- References: <20200830111346.xulnbxoqxduetnoz@chazelas.org> <CAHYJk3SPBJvnEhWDDifxRXw3t89p1XbJ08w1QZb_kQVWrRVK5Q@mail.gmail.com> <20201025201219.24ef0ddc@tarpaulin.shahaf.local2> <CAHYJk3QedKBSPo=pP+t0Lv4g=SUYKQvEqqdb8pg732n9xYbLeg@mail.gmail.com> <20201026072934.lwamqkoepmubftg3@chazelas.org> <86279-1604012954.475057@DzOR.FEf8.yJ7v> <CAH+w=7aV+gJg8YCX=w29dasxvbB3QCpy=JEd3XeWyG+VQvCWiA@mail.gmail.com>
- Sender: zsh-workers-request@xxxxxxx
> On 30 October 2020 at 00:42 Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
> On Thu, Oct 29, 2020 at 4:09 PM Oliver Kiddle <opk@xxxxxxx> 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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author