Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Terminal query artifacts and backward compatibility issue in zsh-dev version
> 2026/04/14 12:06, dana <dana@xxxxxxx> wrote:
>
> the variable is called TERM_PROGRAM, so that needs corrected. but after
> doing that the patch seems to work well for me with sequoia's
> terminal.app (TERM_PROGRAM_VERSION=455.1). i don't have tahoe so i can't
> test there either way
We can reset appleterm to 0 if
zstrtol(envvar, NULL, 10) >= 470
Then it works OK on both old macOS and Tahoe (and will work on future
versions of macOS).
I'm not sure whether we need this patch or not, but if we use it
test X06termquery.ztst fails at 6 hunks, because .term.{id,version}
is always set. For example:
+typeset .term.id=Apple_Terminal
+typeset .term.version=447.1
typeset -a .term.extensions=( -bracketed-paste -integration )
Test ./X06termquery.ztst failed: output differs from expected as shown above for:
termresp ''
Was testing: no response - timeout
> On Mon 13 Apr 2026, at 18:11, Oliver Kiddle wrote:
>> So what keys are they binding? Is that just things like Home/Insert/End?
>
> arrows, home/end, pgup/pgdn, insert, delete, backspace, and all of the
> function keys
Delete, Home, End, Up and Down, I think. You can view the file at:
https://github.com/apple-oss-distributions/zsh/blob/zsh-113.40.1/zshrc
Messages sorted by:
Reverse Date,
Date,
Thread,
Author