I've noticed when DNS can't resolve itself, there is a delay at startup.
Not sure if this is what you are having though, just thought I'd mention it
in case it helps.

On Sun, Nov 3, 2024, 10:27 PM Yury V. Zaytsev via mc <
mc@lists.midnight-commander.org> wrote:

>
> > On 4. Nov 2024, at 01:22, mi via mc <mc@lists.midnight-commander.org>
> 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
> mc@lists.midnight-commander.org
> https://lists.midnight-commander.org/mailman/listinfo/mc
>
-- 
mc mailing list
mc@lists.midnight-commander.org
https://lists.midnight-commander.org/mailman/listinfo/mc

Reply via email to