Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mc 4.8.32 slow start on MacOS #4625

Open
mc-butler opened this issue Jan 6, 2025 · 2 comments
Open

mc 4.8.32 slow start on MacOS #4625

mc-butler opened this issue Jan 6, 2025 · 2 comments
Labels
area: core Issues not related to a specific subsystem prio: medium Has the potential to affect progress ver: 4.8.32 Reproducible in version 4.8.32

Comments

@mc-butler
Copy link

Important

This issue was migrated from Trac:

Origin https://midnight-commander.org/ticket/4625
Reporter emkaroly (molnarkarol@….com)
Keywords macOS, slow, sub, shell

I am using mc on linux(ubuntu 22.04) and also on macOS(Sonoma 14.Sequoia 15) on MacOS the start takes several seconds on linux it works fine and start instantly. If I use the "-u"flag on macOS it also start instantly.
The default shell in macOS is zsh if I switch to bash it also start instantly. I don't have any custom bash nor zsh profiles its a fresh new OS installation. The machine is a M4 Pro MacBook Pro 14 with 48GB RAM and 1TB SSD. Behavior is same in default Terminal app and iTerm also.
Also when i do sudo mc I get this error:
common.c: unimplemented subshell type 1
read (subshell_pty...): No such file or directory (2)

@mc-butler
Copy link
Author

Changed by emkaroly (molnarkarol@….com) on Jan 6, 2025 at 8:43 UTC (comment 1)

I also tried to remove these files without any change:
/etc/zprofile
/etc/profile
/etc/bashrc
/etc/bashrc_Apple_Terminal
/etc/zshrc
/etc/zshrc_Apple_Terminal

@mc-butler
Copy link
Author

Changed by zaytsev (@zyv) on Jan 7, 2025 at 20:00 UTC (comment 2)

Maybe related to #4253. Similar issue on FreeBSD with bash - #4548.

I also do have a couple of seconds startup on macOS with zsh, but it doesn't feel critical to me and can't find time to investigate...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: core Issues not related to a specific subsystem prio: medium Has the potential to affect progress ver: 4.8.32 Reproducible in version 4.8.32
Development

No branches or pull requests

1 participant