[SOLVED] MC not Opening

You have a problem with Salix? Post here and we'll do what we can to help.
Post Reply
User avatar
Atip
Posts: 539
Joined: 5. Jun 2011, 04:27

[SOLVED] MC not Opening

Post by Atip »

Salix-14.1 32bit

In this new version of Salix MC (Midnight Commander) does not open when I have no
Internet Connection or takes a very long time to open with slow connection.

I have reported this already under the thread "MC and Internet Connection". Only this time
the problem is even worse since the MC will not open at all when no conncetion.

Since MC is my main source for FM this has become rather frustrating. Furtunately due to
my ingenuity ;) I found a solution. :D. I installed mc-4.8.11 in my /usr/local partition removed
mc from the /root partition and now MC pops-up instantly regardless of Internet connection.

And BTW in this new version of Salix the spell-check does not work in midori.
Last edited by Atip on 17. Mar 2014, 01:37, edited 1 time in total.
User avatar
laprjns
Salix Warrior
Posts: 1105
Joined: 28. Aug 2009, 01:30
Location: Connecticut USA

Re: MC not Opening

Post by laprjns »

Atip wrote:In this new version of Salix MC (Midnight Commander) does not open when I have no
Internet Connection or takes a very long time to open with slow connection.
Maybe:
http://www.midnight-commander.org/ticket/40
http://forums.opensuse.org/showthread.p ... rk-is-down
http://forums.fedoraforum.org/showthread.php?t=225682
Atip wrote:And BTW in this new version of Salix the spell-check does not work in midori.
I can confirm this.
“Don’t you see that the whole aim of Newspeak is to narrow the range of thought?"
User avatar
Atip
Posts: 539
Joined: 5. Jun 2011, 04:27

Re: MC not Opening

Post by Atip »

laprjns wrote:
Atip wrote:In this new version of Salix MC (Midnight Commander) does not open when I have no
Internet Connection or takes a very long time to open with slow connection.
Maybe:
http://www.midnight-commander.org/ticket/40
http://forums.opensuse.org/showthread.p ... rk-is-down
http://forums.fedoraforum.org/showthread.php?t=225682
Thanks! Yes and no. Could not find and solve the root of the problem. Seems my ingenuity fails me.
Tried that HOSTNAME and hosts entries are the same. Did not change anything. So I stick with MC
starting from /usr/local/bin.
User avatar
Atip
Posts: 539
Joined: 5. Jun 2011, 04:27

Re: MC not Opening

Post by Atip »

I checked with slackware-14.1 and there is the same problem with "mc"
taking as long as 90 seconds to open when there is no Internet connection.

Now the oldest of the forums which laprjns suggested to look at dates from 2006.

Is it not strange that 8 years on the problem has not been corrected by the
Midnight Commander community?
User avatar
mimosa
Salix Warrior
Posts: 3311
Joined: 25. May 2010, 17:02
Contact:

Re: MC not Opening

Post by mimosa »

Here's another link:

http://unix.stackexchange.com/questions ... -on-centos

It might be interesting to look at strace to see if it reveals anything I suppose, but in practical terms, maybe some fiddling with /etc/hosts (is Slack's 'technically inorrect' entry to blame)? Obviously, back up the file before trying anything.Then again, it might be worth looking at the package to see if turning off that option helps.
User avatar
Atip
Posts: 539
Joined: 5. Jun 2011, 04:27

Re: MC not Opening

Post by Atip »

Thanks mimosa! I think I solved it with that hint in that link. :D

Booted into slackware-14.1. Checking HOSTNAME and hosts and they are conform.
So the problem is not there as I found already when I ecountered this problem first
time in slackel and then in new versions of Salix.

Compiled mc-4.8.11 with --prefix=/usr.

MC would pop-up instantly with Internet connection disabled.

'mc --version' showed on the Virtual File System no smbfs unlike in original
slakware installed mc.

Compiled mc-4.8.11 with --prefix=/usr and (now that's the clue) --enable-vfs-smb.

MC would not open with Internet connection disabled and Virtual File System
showed smbfs.

I think I can now sleep more soundly again. ;)

Edit:
Just checked with VL-7.1 where I do not encounter this problem;
mc is compiled w/o --enable-vfs-smb.
Post Reply