Hi gyus,

I noticed that mc startup needed nearly 3 seconds before anything appears, 
after typing mc + Enter.

Bash is my default shell. I've just added things to .bashrc recently, and it 
seems like there lies the cause. Among the things i added is a 'read -p' and 
when i remove that line, mc launches fast as usual.

Does that mean mc is always creating a subshell at startup ?  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 ...



# mc --version

GNU Midnight Commander 4.8.31
Built with GLib 2.78.4
Built with S-Lang 2.3.3 with terminfo database
Built with libssh2 1.11.0
With builtin Editor and Aspell support
With subshell support as default
With support for background operations
With mouse support on xterm and Linux console
With support for X11 events
With internationalization support
With multiple codepages support
With ext2fs attributes support
Virtual File Systems:
 cpiofs, tarfs, sfs, extfs, ext2undelfs, ftpfs, sftpfs, shell
Data types:
 char: 8; int: 32; long: 64; void *: 64; size_t: 64; off_t: 64;
-- 
mc mailing list
mc@lists.midnight-commander.org
https://lists.midnight-commander.org/mailman/listinfo/mc

Reply via email to