keypad 5 input freeze #3651
Labels
area: tty
Interaction with the terminal, screen libraries
prio: low
Minor problem or easily worked around
ver: 4.8.17
Reproducible in version 4.8.17
Important
This issue was migrated from Trac:
igor2
(mc@….repo.hu)keypad
,KP_5
,KP_BEGIN
,freeze
,escape
,sequence
,terminal
,control
Pressing keypad 5 (while numlock is off) on the linux console or on xterm makes mc stop reading the input for a second or two.
Cause: unrecognized escape sequence - mc tries to read (using timed reads) until the sequence is over.
Proposed solution: teach mc KP_5 (some sources call it KP_BEGIN or KP_CLEAR). I tried to add it in /usr/share/mc/mc.lib but that didn't work. Sequence on the Linux console on PC:
e[G and on xterm:
e[E
As a test I applied the patch attached - it is probably not the proper solution but fixed the problem for me on the console.
mc version affected: 4.8.15, 4.8.17; I think this problem was not present in the 4.7 series.
Note
Original attachments:
igor2
(mc@….repo.hu) onJun 3, 2016 at 2:51 UTC
The text was updated successfully, but these errors were encountered: