Ticket #3168 (new defect)

Opened 6 years ago

Last modified 3 months ago

Learn keypad keys vs. numlock

Reported by: egmont Owned by:
Priority: minor Milestone: Future Releases
Component: mc-tty Version: master
Keywords: Cc:
Blocked By: Blocking:
Branch state: no branch Votes for changeset:

Description

If numlock is off, the keypad /*-+ symbols generate certain escape sequences. In this case "Learn keys" works as expected.

If numlock is on, these keypad symbols generate the regular ASCII characters. "/" is recognized and accepted (although it's of not much use, mc knows it already and it probably won't work once you switch off numlock since mc didn't learn the escape sequence). The other three are not recognized automatically, and can't even be forced (e.g. you navigate to "* on keypad", press Enter and then press "*", you get an error:

Cannot accept this key
You have entered "*"

which doesn't make any sense; the same happens for "-" and "+").

My suggestion: When any of the raw ASCII /*-+ characters are read, the user should be asked to switch off numlock and then press that key again.

Change History

comment:1 Changed 6 years ago by egmont

  • Priority changed from major to minor

comment:2 Changed 3 months ago by andrew_b

  • Component changed from mc-core to mc-tty
Note: See TracTickets for help on using tickets.