Ticket #4151 (closed defect: wontfix)

Opened 2 years ago

Last modified 2 years ago

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:


  1. running mc
  2. Ctrl+o
  3. set -o vi (in bash)
  4. ESC
  5. Ctrl+o
  6. mc frozen (maybe after some key pressing)

Version:


All of versions since long years ago.

Change History

comment:1 Changed 2 years ago by ossi

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.

comment:2 Changed 2 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.