You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
GNU Midnight Commander unknown
Built with GLib 2.82.4
Built with S-Lang 2.3.3 with terminfo database
Built with libssh2 1.11.1
With builtin editor
With subshell support as default
With support for background operations
With mouse support on xterm
With support for X11 events
With multiple codepages support
Virtual File Systems:
I am the author of iTerm2. A user reported that Shift-F2 (and other shift+function key combos) did not work.
Using mc's "Options > Learn Keys" feature, I can see that when I press Shift+F2 it is recognized as F12. I have a completely stock configuration. This is on macOS.
I verified that iTerm2 correctly sends \e[1;2Q when you press Shift+F2. I was able to reproduce the same problem in xterm, Kitty, and Alacritty. The built-in macOS Terminal does not seem to support shift+function keys at all. My $TERM is set to xterm-256color. infocmp -x gives kf2=\EOQ but as far as I know terminfo isn't very useful for function keys combined with modifiers like shift (I could be wrong about this).
I searched the issues and found some very old ones about shift+function key having other problems. I'm sure there's a lot of history here! I would love to help fix this problem whether from my end (if it's a bug in iTerm2) or yours.
Important
This issue was migrated from Trac:
gnachman3(gnachman+mc3@….com)egmont(@egmontkob)I built mc from master at commit [c8eec91].
The output of mc -V is:
GNU Midnight Commander unknown
Built with GLib 2.82.4
Built with S-Lang 2.3.3 with terminfo database
Built with libssh2 1.11.1
With builtin editor
With subshell support as default
With support for background operations
With mouse support on xterm
With support for X11 events
With multiple codepages support
Virtual File Systems:
Data types:
I am the author of iTerm2. A user reported that Shift-F2 (and other shift+function key combos) did not work.
Using mc's "Options > Learn Keys" feature, I can see that when I press Shift+F2 it is recognized as F12. I have a completely stock configuration. This is on macOS.
I verified that iTerm2 correctly sends \e[1;2Q when you press Shift+F2. I was able to reproduce the same problem in xterm, Kitty, and Alacritty. The built-in macOS Terminal does not seem to support shift+function keys at all. My $TERM is set to xterm-256color. infocmp -x gives kf2=\EOQ but as far as I know terminfo isn't very useful for function keys combined with modifiers like shift (I could be wrong about this).
I searched the issues and found some very old ones about shift+function key having other problems. I'm sure there's a lot of history here! I would love to help fix this problem whether from my end (if it's a bug in iTerm2) or yours.