Ticket #4151 (closed defect: wontfix)
mc frozen after vi-like <ESC> in bash
Reported by: | szasz.imre | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | mc-core | Version: | |
Keywords: | hang, output screen | Cc: | |
Blocked By: | Blocking: | ||
Branch state: | no branch | Votes for changeset: |
Description
Hello,
in bash I use vi-like mode ("set -o vi" in command line): <ESC> to go to command mode.
Sometimes in mc I open output console with <Ctrl>+o and then I return to mc. It's OK.
Freezing steps:
- running mc
- Ctrl+o
- set -o vi (in bash)
- ESC
- Ctrl+o
- mc frozen (maybe after some key pressing)
Version:
All of versions since long years ago.
Change History
comment:2 Changed 4 years ago by zaytsev
- Status changed from new to closed
- Resolution set to wontfix
Yes, unfortunately, that's exactly how it is :( If you use VI-mode, you have to be very careful to always leave the shell in a state that mc can communicate with it... proper fix would be months and months of very hard work.
Note: See
TracTickets for help on using
tickets.
yeah, that's somewhat unsurprising, given that interacting with vi (or something that pretends to be it) requires a corresponding state machine on the other end. mc tries to inject commands into the shell, which obviously cannot work when you leave input mode.
i for one would close this as wontfix, as the effort for getting this right is probably exorbitant, for a marginal gain.