On 2023-12-07 17:41 -0500, Thomas Dickey wrote:

> On Thu, Dec 07, 2023 at 06:06:49PM +0100, Axel Beckert wrote:
>> Hi Sven,
>>
>> Sven Joachim via Aptitude-devel wrote:
>> > Debian ncurses maintainer here, bringing the ncurses upstream developer
>> > into the loop.
>>
>> Thanks for that!
>>
>> > In addition to aptitude, mouse support is also broken in dialog(1) under
>> > tmux.
>> >
>> > > Maybe this bug should instead be assigned to ncurses?
>> >
>> > Probably should be reassigned to ncurses-base, but let's first see what
>> > Thomas has to say about it.
>
> It's probaby the same issue as this;
>
> 20231028
>         + move xterm focus mode 1004 from xterm+sm+1006 into xterm+focus as
>         fe/fd capabilities, like vim (vim-pr #13440).

Looking at the misc/terminfo.src changes in that patchlevel, I see that
you added xterm+focus to several terminfo entries that had used
xterm+sm+1006, which is logical and in line with the NEWS entry.

However, tmux got changed the other way around: it already had used
xterm+focus, and you added xterm+sm+1006.  This is the diff hunk:

,----
| @@ -8550,7 +8556,7 @@ tmux|tmux terminal multiplexer,
|       use=ecma+italics, use=ecma+strikeout, use=xterm+edit,
|       use=xterm+pcfkeys, use=xterm+sl, use=xterm+tmux,
|       use=screen, use=bracketed+paste, use=report+version,
| -     use=xterm+focus,
| +     use=xterm+focus, use=xterm+sm+1006,
|
|  tmux-256color|tmux with 256 colors,
|       use=xterm+256setaf, use=tmux,
`----

That seems to be not really intended and should likely be reverted,
given the issue at hand.

> (a change to the terminal description to help vim turned out to expose one
> of the VTE bugs - fixed by making it less likely for other applications
> to trigger the bug)

There is no VTE involved in this case, I reproduced the problem in
xterm.

Cheers,
       Sven

_______________________________________________
Aptitude-devel mailing list
Aptitude-devel@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/aptitude-devel

Reply via email to