Re: shift-Fn keys shifted by two in tmux

2021-12-16 Thread Jörg Thümmler

Am 15.12.21 um 13:47 schrieb Marco:

On Mon, 13 Dec 2021 08:43:01 +0100
Jörg Thümmler  wrote:


can you check which keycodes are sent by the Shift-Fn-Keys in other
apps running in tmux? They are correct?


“xev” lists:

   keycode 50 (keysym 0xffe1, Shift_L)
   …
   keycode 71 (keysym 0xffc2, F5)

if I press - regardless if launched from within tmux or
not.


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


I'm not sure what you mean by “another terminal app”. Another window
in tmux you mean? Starting a 2nd instance of mc in another window
yields the same result.

I just tried it on the console (no X) and the issue vanishes. This
makes my believe it has nothing to do with mc, rather it's a
misconfiguration of my terminal emulator.

Thanks for the nudge in the right direction.

Marco



Hi Marco,

what I meant was

- starting, say xterm or rxvt and then mc: what does shift+f5
- then closing mc and starting tmux in the xterm or rxvt-window and then 
checking, what shift+f5 does... does the behavior change?
- i sometimes watch some inheriting, so if the behavior is different in 
these cases it must be a terminal programs problem...


btw did you try the "keylerning" for mc in tmux (backup ~/.config/mc/ini 
first), did the shift+fn keys work there?


--
cu

jth
___
mc mailing list
https://mail.gnome.org/mailman/listinfo/mc


Re: shift-Fn keys shifted by two in tmux

2021-12-15 Thread Marco via mc
On Mon, 13 Dec 2021 08:43:01 +0100
Jörg Thümmler  wrote:

> can you check which keycodes are sent by the Shift-Fn-Keys in other
> apps running in tmux? They are correct?

“xev” lists:

  keycode 50 (keysym 0xffe1, Shift_L)
  …
  keycode 71 (keysym 0xffc2, F5)

if I press - regardless if launched from within tmux or
not.

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

I'm not sure what you mean by “another terminal app”. Another window
in tmux you mean? Starting a 2nd instance of mc in another window
yields the same result.

I just tried it on the console (no X) and the issue vanishes. This
makes my believe it has nothing to do with mc, rather it's a
misconfiguration of my terminal emulator.

Thanks for the nudge in the right direction.

Marco
___
mc mailing list
https://mail.gnome.org/mailman/listinfo/mc


Re: shift-Fn keys shifted by two in tmux

2021-12-12 Thread Jörg Thümmler

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
___
mc mailing list
https://mail.gnome.org/mailman/listinfo/mc