Re: mc mouse events don't work with foot terminal

"Yury V. Zaytsev via mc" <[email protected]> Mon, 22 Jan 2024 17:33:36 +0100 (CET)
Newsgroups gmane.comp.gnome.apps.mc.general
Message-ID <[email protected]>
On Mon, 22 Jan 2024, Grzegorz Szymaszek via mc wrote:

> On Mon, Jan 22, 2024 at 09:01:13AM +0100, Yury V. Zaytsev wrote:
>> It seems that it's not very xterm-compatible after all. I would bring 
>> this up with foot authors.
>
> FWIW, here mc handles mouse clicks/scrolls correctly:

Ha-ha, now we have someone who doesn't have a problem :-) Sounds like the 
OP's distro has a broken terminfo then... and at least on vanilla Debian 
things are working as they should.

>> P.P.S. The entry for foot is missing here: [...] So I wonder if all 
>> keys actually work.
>
> F1-F12, Page Up/Down, Home, End, Insert and arrows all work correctly. 
> Shift+F1 works like F3, Esc then 4 works like F4.

Sounds like an ages old bug:

   https://midnight-commander.org/ticket/367
   https://midnight-commander.org/ticket/3254

> Is there something else I can test?

You can try to add

   [terminal:foot]
   copy=xterm

to mc.lib . If this fixes the keys we can commit it to master.

Please don't test anything else - the less bugs we know about, the less 
there is to fix. Otherwise you are sure to find something new. ;-)

-- 
Sincerely yours,
Yury V. Zaytsev

-- 
mc mailing list
[email protected]
https://lists.midnight-commander.org/mailman/listinfo/mc