This question already has an answer here:
- Slow start of Midnight Commander 10 answers
I log into a system via ssh (ubuntu). Recently, when I start up mc directly from the command prompt, it takes ages to start and finally present the familiar two-pane screen. Also, I can't drop to the command prompt subshell (using ctrl-o). If I start it under tmux, it starts up instantly, and ctrl-o works normally.
running strace on mc directly: http://pastebin.com/raw/br9SBZ9Y
compared to strace on mc under tmux: http://pastebin.com/raw/mYE4vMii
It seems some environment setting is causing a tremendous stall, but I can't pinpoint it. Can someone help, please?