Re: Expectations for subshell

Nojus Gudinavičius via mc <[email protected]> Mon, 22 Jan 2024 18:36:56 +0200
Newsgroups gmane.comp.gnome.apps.mc.general
Message-ID <[email protected]>
On Sun Jan 21, 2024 at 10:25 AM EET, Yury V. Zaytsev wrote:
> https://asciinema.org/a/I3PtuRziBvzbmiL6z4shHYLMn

After watching the recording of yours, it seems you have the behavior as
me. (You don't see the echoed test either, also your cwd is reset to ~
when you hit Ctrl-O). That is the issues 2-3 as described in my original
letter, and I believe you would hit 1 as well.

From mi's comments it seems like 1,2 are WIT, or at least impossible to
solve without a proper terminal emulator.

No. 3 (the cwd being lost), I hope could be improved, at least under
a toggle in settings to preserve old behavior if it's needed.

Could it be done, that if a command is started running in /a, and the
user navigates to /b in panels, hits Ctrl-O twice to check the terminal,
the /b is preserved? That is, the panels remember the cwd and it's only
propagated to the subshell after the command has completed?

Regards,
Nojus
-- 
mc mailing list
[email protected]
https://lists.midnight-commander.org/mailman/listinfo/mc