ShiftF5 does not copy file.
ShiftF6 does not rename file.
How I can reassign these key combinations?
In Midnight Commander F15 is copying files (with renaming) in the same directory and F16 is renaming files in the same directory.
In keyboard preferences of Terminal I assigned to ShiftF5 Action value of F15 and ShiftF6 Action value of F16.
For some reason the actual shift key number sent is 2 lower than pressed.
For ex. Shift-F8 sends Shift-F6.
Also mentioned here: https://midnight-commander.org/ticket/2885
I remapped the codes as mentioned above in Terminal preferences and it works now.
Are you sure you need the shift key?
I can copy files just fine in midnight commander when using either F5or Shift 5.
Same for move/rename with F6 (and alternative Shift 6 for when the function keys are not working or not available).