English
Ask Your Question
1

Why does midnight commander take too much time to start or hang at a blinking cursor?

asked 2011-11-15 18:55:33 +0000

updated 2011-11-15 18:56:16 +0000

I've just started using midnight-commander. It's an amazing amazing tool. I have one issue though, it takes quite a while to start up sometimes. Sometimes it starts up immediately, while in other cases, it just has the cursor blinking. Has anyone experienced this? Any work arounds? I did find this, but I'm unsure if I should use it. I'm using it inside my byobu(gnu screen) session, if that makes a difference. My terminal emulator is the default gnome-terminal.

edit retag flag offensive close delete

2 Answers

Sort by ยป oldest newest most voted
1

answered 2011-11-16 07:13:53 +0000

lzap gravatar image

Sometimes Midnight Commander do not want to come up when you are running it with bad configuration for X Window Server. For example you are running it through ssh on a server where the DISPLAY IP is firewalled, then MC sometimes "freeze" for about 30 seconds during the start.

The solution is to try this:

DISPLAY= mc -ab --nomouse

If it helps, try to delete one option after another to see what causes this. It also can be Samba or NFS - check your Midnight configuration (or delete it just for a test). More info here:

https://www.midnight-commander.org/wiki/doc/faq#a9.2WhenIstartMidnightCommandernothinghappens

edit flag offensive delete publish link more

Comments

I haven't used it over ssh, this is just on the local machine.. For some reason, "mc -x" starts immediately.

FranciscoD_ ( 2011-11-16 14:42:13 +0000 )edit
0

answered 2011-11-16 05:48:55 +0000

asto gravatar image

Works fine for me. Other than the minor annoyance of having to disable terminal shortcuts before I could use MC shortcuts.

edit flag offensive delete publish link more

Your answer

Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

Add answer

[hide preview]

Use your votes!

  • Use the 30 daily voting points that you get!
  • Up-vote well framed questions that provide enough information to enable people provide answers.
  • Thank your helpers by up-voting their comments and answers to your questions.
  • Down-voting might cost you karma, but you should consider doing so for incorrect or clearly detrimental questions and answers.

Stats

Asked: 2011-11-15 18:55:33 +0000

Seen: 1,721 times

Last updated: Nov 16 '11