Re: Relations of mc and .bashrc ?

"Yury V. Zaytsev via mc" <[email protected]> Mon, 4 Nov 2024 07:26:38 +0100
Newsgroups gmane.comp.gnome.apps.mc.general
Message-ID <[email protected]>
> On 4. Nov 2024, at 01:22, mi via mc <[email protected]> wrote:
> 
> Does that mean mc is always creating a subshell at startup ?

What is your expectation? Of course it will always create a subshell if you compile with --with-subshell. If you recompile with --with-subshell=optional or --without-subshell, it won't. Or you can disable subshell with a command line switch.

> I don't really need that readline anymore, i just am curious why mc only starts slow, instead of (waiting for input and) not starting at all …

Subshell initialization is a complicated process. Most likely, your read -p captures something that shouldn't be captured, or mc times out, but in any case, it manages to start, most likely in some crippled form.

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