On Sat, Dec 25, 2021 at 02:30:00PM +0100, Marco <li...@homerow.info> wrote:
> This indicates that there's an issue with my urxvt configuration.

What makes you think so? urxvt clearly behaves correctly in your tests.

> Why is that and how can it be fixed?

I don't think this is an issue that cna be fixed in urxvt - you might be
able to work around it by remapping keys in urxvt, but that's hardly a
fix.

> I don't think mc has anything to do with this, it just happens to be
> the only console program that I use requiring shift-Fn keys.

No, it's almost certainly tmux or your configuration of it (such as wrong
TERMINFO), as urxvt generates the correct sequences and mc has no trouble
understanding them. According to your experiments, you only have issues
when tmux filters the key sequences.

It coulpd be that mc somehow misinterprets the sequences depending on the
TERM setting, but that is unlikely.

It's certain that urxvt does not generate the wrong key sequences just
because you run tmux (urxvt does not know what runs inside the terminal).

So unless some person knowledgable with tmux here can help you, you would
have to report this to a more appropriate place, such as tmux, as I can't
see how this has something to do with urxvt.

If you wanted to experiment further, it might be worth looking into TERM
settings for both tmux and mc (are they really correct, are they really
installed?), learning about if/how tmux filters keypresses (does tmux even
do that?) and measuring what sequences are actually generated - afaicr,
both screen and urxvt use the same sequence for the f-keys.

> The issue is easily reproduced on a vanilla (e.g. Debian Live) VM. I
> can provide exact steps, if required.

Last not least, I just tried this on my debian install, and mc detects
f-keys normally inside urxvt, with and without tmux, hinting at your
configuration probably being at fault.

-- 
                The choice of a       Deliantra, the free code+content MORPG
      -----==-     _GNU_              http://www.deliantra.net
      ----==-- _       generation
      ---==---(_)__  __ ____  __      Marc Lehmann
      --==---/ / _ \/ // /\ \/ /      schm...@schmorp.de
      -=====/_/_//_/\_,_/ /_/\_\

_______________________________________________
rxvt-unicode mailing list
rxvt-unicode@lists.schmorp.de
http://lists.schmorp.de/mailman/listinfo/rxvt-unicode

Reply via email to