Re: Expectations for subshell
Nojus Gudinavičius via mc <[email protected]> Sat, 20 Jan 2024 18:36:26 +0200
| Newsgroups | gmane.comp.gnome.apps.mc.general |
|---|---|
| Message-ID | <[email protected]> |
On Sat Jan 20, 2024 at 6:12 PM EET, Yury V. Zaytsev wrote: > Which shell you are using? zsh, but it seems to work the same for me with bash, and ash on alpine image > Is it working properly if you are NOT toggling "quickly" whatever that means? The point of "quickly" is that you do that before `sleep 1` terminates, so it works the way I described for any program which does not finish executing before me hitting <Ctrl-O> > The output of the command is not supposed to get lost, but it can > disappear if something is interfering with alt mode, e.g. mc is running > inside screen. I'm using tmux, but again, works the same outside it for me. > We try to support sensible shell integration with most popular shells > (bash, zsh) and at least not completely fail on less popular ones (tcsh, > etc.), but sadly there isn't really a way to do a robust shell > integration, unless we implement a terminal emulator ourselves. I see, thanks for the explanation. > Unfortunately, this is not something we can even contemplate at the > moment, so the best answer is to use the fragile pipe-and-alt shell > integration knowing its limitations. So is the behavior 1-3 normal, or are the current integrations supposed to work better? Thanks, Nojus -- mc mailing list [email protected] https://lists.midnight-commander.org/mailman/listinfo/mc