Ticket #203 (closed defect: fixed)
The keypad doesn't work correct under the putty
Reported by: | angel_il | Owned by: | angel_il |
---|---|---|---|
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.
Attachments
Change History
comment:2 Changed 16 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 ();
Changed 16 years ago by angel_il
- Attachment keypad.patch added
"fix: mc started in putty terminal doesn't understand keypad keys (ticket#203)
comment:4 Changed 16 years ago by angel_il
- Keywords rewiew added
- Milestone changed from 4.7 to 4.6.2
please review
comment:5 Changed 16 years ago by angel_il
- Status changed from new to accepted
- Owner set to angel_il
comment:6 Changed 16 years ago by slyfox
- Keywords vote-slyfox added; keypad rewiew removed
Yes, without this patch configured putty (encoding: UTF-8, Terminal: Linux) does not handle keypad properly. With it all is OK.
My vote!
comment:7 Changed 16 years ago by slavazanko
- Keywords vote-slavazanko approved added
I tested this fix. In Linu work don't corrupt, in putty under Windows keypad works correctly.
My vote here