I also find in https://www.midnight-commander.org/wiki/roadmap:
> Use KDGKBENT ioctl on Linux console to find the mapping for shifted > functional keys. > Two mappings are widely used (Shift-F1 = F11 and Shift-F1 = F13). mc should > adjust the keys to the mapping. In this case this problem in mc. But Roberto say: > From this point, we have a problem because in terminfo definition you can > not specify what values generate the terminal for shifted and "controled" > versions of these keys. So any program that test such combinations are not > portable by definition. Any know how this case can by detected for x-terminals?
