shift-Fn keys shifted by two in tmux

Jörg Thümmler listen at vordruckleitverlag.de
Mon Dec 13 07:43:01 UTC 2021


Am 11.12.21 um 16:35 schrieb Marco via mc:
> Hi,
> 
> when I start mc in a terminal everything works ok. However, if I
> start mc in tmux the shift-Fn keys are shifted by two. That means
> that rename, which is shift-F6 usually, is shift-F8 under tmux.
> And shift-F6 will edit the file in tmux.
> 
> Muscle memory doesn't pay attention to tmux running and I keep
> launching the wrong operations. Why is that and how can it be
> fixed?
> 
> Marco
> 
> GNU Midnight Commander 4.8.27
> tmux 3.2a
> TERM=rxvt-unicode-256color (terminal)
> TERM=screen-256color (tmux)
> _______________________________________________
> mc mailing list
> https://mail.gnome.org/mailman/listinfo/mc
> 

Hi,

can you check which keycodes are sent by the Shift-Fn-Keys in other apps 
running in tmux? They are correct? I would think, it's a general tmux 
keycode problem. I don't use tmux, can you set custom keymappings there?

An what happens, if you open another terminal app in tmux and there 
call mc? Same "keyshifting"?

-- 
cu

jth



More information about the mc mailing list