Ticket #203 (new defect) — at Version 3

Opened 15 years ago

Last modified 14 years ago

The keypad doesn't work correct under the putty

Reported by: angel_il Owned by:
Priority: major Milestone: 4.6.2
Component: mc-core Version: 4.6.1
Keywords: vote-slyfox vote-slavazanko approved committed-master committed-mc-4.6 Cc:
Blocked By: Blocking:
Branch state: Votes for changeset:

Description (last modified by slavazanko) (diff)

"mc" started in putty terminal doesn't understand keypad keys
1) run 'putty'; login to remote host
2) run mc
3) press key '/' on keypad. You will see menu that is called when you press the F2
4) Go to 'Learn keys' (simple call dialog)
5) just exit from 'learn keys' dialog (without any changes)
6) 3) press key '/' on keypad again. You will see '/' symbol in command line.

Change History

comment:1 Changed 15 years ago by slavazanko

  • Description modified (diff)

comment:2 Changed 15 years ago by angel_il

to
main.c

...
main (int argc, char **argv)
...
    int save_old_esc_mode = old_esc_mode;
    int save_alternate_plus_minus  = alternate_plus_minus;
    old_esc_mode = 0;.
    alternate_plus_minus = 1;.
    application_keypad_mode ();
    old_esc_mode = save_old_esc_mode;
    alternate_plus_minus = save_alternate_plus_minus;
    if (!alternate_plus_minus)
        numeric_keypad_mode ();

comment:3 Changed 15 years ago by slavazanko

  • Description modified (diff)

Changed 15 years ago by angel_il

"fix: mc started in putty terminal doesn't understand keypad keys (ticket#203)

Note: See TracTickets for help on using tickets.