Re: Expectations for subshell
"Yury V. Zaytsev via mc" <[email protected]> Mon, 22 Jan 2024 18:10:15 +0100 (CET)
| Newsgroups | gmane.comp.gnome.apps.mc.general |
|---|---|
| Message-ID | <[email protected]> |
On Mon, 22 Jan 2024, Nojus Gudinavičius wrote: > 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. Oh wow, actually, you are right, I'm sorry about that. It seems that I've got so used to this behavior over the decades, that it didn't even occur to me that anything is wrong there, whereas your textual description definitively didn't sound right :-) > 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? I guess it could work, if you come up with a patch we might be able to have a look at it. -- Sincerely yours, Yury V. Zaytsev -- mc mailing list [email protected] https://lists.midnight-commander.org/mailman/listinfo/mc