Simple solution for idnight commander mc:
use the cancel button followed by number 1 to 0 this gives F1 to F10.
This works generally similar on mc under Linux, on a normal PC it would be ESC followed by 1 to 0.
I have no idea whether other console apps work similar. Could be something to try out before trying to mangle it thru keyhelper.
Georg