LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 10-04-2013, 11:08 AM   #1
staus
Member
 
Registered: Apr 2004
Posts: 64

Rep: Reputation: 1
Midnight Commander 4.8.10 always displays the home dir when started


MC doesn't work like the previous versions, and I'm not sure how to correct it. Running mc in a terminal window always displays the home directory first - try mc / to see this.
 
Old 10-04-2013, 11:25 AM   #2
Stuferus
Member
 
Registered: Jun 2013
Location: Germany
Distribution: Slackware
Posts: 132

Rep: Reputation: Disabled
afaik is mc allways displaying the directory its run in.. if you run it as root youll most likely see /root.. thats how im used to it.
 
Old 10-04-2013, 11:48 AM   #3
guanx
Senior Member
 
Registered: Dec 2008
Posts: 1,014

Rep: Reputation: 145Reputation: 145
Quote:
Originally Posted by staus View Post
MC doesn't work like the previous versions, and I'm not sure how to correct it. Running mc in a terminal window always displays the home directory first - try mc / to see this.
i can confirm "mc DIR" puts CWD to the first panel and DIR to the second panel. "mc DIR1 DIR2" puts DIR1 to the first panel and DIR2 to the second panel.

Last edited by guanx; 10-04-2013 at 11:53 AM.
 
Old 10-04-2013, 12:43 PM   #4
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.0
Posts: 3,251

Rep: Reputation: 481Reputation: 481Reputation: 481Reputation: 481Reputation: 481
Does this help?

Midnight Commander Panel Focus
 
Old 10-05-2013, 06:58 AM   #5
wildwizard
Member
 
Registered: Apr 2009
Location: Oz
Distribution: slackware64-14.0
Posts: 749

Rep: Reputation: 225Reputation: 225Reputation: 225
Quote:
Originally Posted by Stuferus View Post
afaik is mc allways displaying the directory its run in.. if you run it as root youll most likely see /root.. thats how im used to it.
The way I see it work is whichever pane is active when you exit is the directory you'll be dropped into at the command prompt and the other pane will be saved and reloaded when you start it again. Last active pane will then become the current directory on start up.
 
Old 10-09-2013, 10:02 AM   #6
staus
Member
 
Registered: Apr 2004
Posts: 64

Original Poster
Rep: Reputation: 1
So far no one has come up with an answer to my question about mc. I have been using mc in many small scripts to display information such as a listing of Slackware packages. This worked for many years until now.

Previously if I ran rxvt -e mc /var/log/packages, I would get mc opening the package list.
Now it opens my home diretory.

I have several other scripts for slack updating, editing the mirror list, editing the blacklist....

My problem is: mc no longer works the way it used to do. I don't want it to always default to my home directory.

I guess no one else uses mc for rapid opening of directories. It is very handy and quick.

The man page isn't any help at all.

I'm using the previous 'current' package of mc without any problems.
 
Old 10-09-2013, 11:57 AM   #7
GazL
Senior Member
 
Registered: May 2008
Posts: 3,231

Rep: Reputation: 828Reputation: 828Reputation: 828Reputation: 828Reputation: 828Reputation: 828Reputation: 828
It's a bug:
http://www.midnight-commander.org/ticket/3047

Might be worth trying 4.8.11 when they get around to releasing it.
 
Old 10-09-2013, 12:11 PM   #8
staus
Member
 
Registered: Apr 2004
Posts: 64

Original Poster
Rep: Reputation: 1
Thanks for the info.
 
Old 10-09-2013, 12:44 PM   #9
guanx
Senior Member
 
Registered: Dec 2008
Posts: 1,014

Rep: Reputation: 145Reputation: 145
Quote:
Originally Posted by staus View Post
So far no one has come up with an answer to my question about mc.
...
I don't want it to always default to my home directory.
I have replied that it does NOT default to the home directory. It defaults to the CWD.

Quote:
Originally Posted by staus View Post
I guess no one else uses mc for rapid opening of directories. It is very handy and quick.
I do, but I mostly use "mc . /another/directory/" or "mc /path1 /path2" so I never observed this change. Thanks for your hint in the original reply!

Last edited by guanx; 10-11-2013 at 02:09 AM.
 
Old 10-10-2013, 04:12 PM   #10
volkerdi
Slackware Maintainer
 
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 836

Rep: Reputation: 1620Reputation: 1620Reputation: 1620Reputation: 1620Reputation: 1620Reputation: 1620Reputation: 1620Reputation: 1620Reputation: 1620Reputation: 1620Reputation: 1620
Quote:
Originally Posted by GazL View Post
It's a bug:
http://www.midnight-commander.org/ticket/3047

Might be worth trying 4.8.11 when they get around to releasing it.
That'll just have different bugs.
 
1 members found this post helpful.
Old 10-10-2013, 04:28 PM   #11
GazL
Senior Member
 
Registered: May 2008
Posts: 3,231

Rep: Reputation: 828Reputation: 828Reputation: 828Reputation: 828Reputation: 828Reputation: 828Reputation: 828
Quote:
Originally Posted by volkerdi View Post
That'll just have different bugs.
You've noticed that too eh? It's such a shame to see a landmark application like mc having all these silly high user visibility bugs release after release. I really hope they get the hang of QA before its reputations is completely destroyed.
 
Old 10-13-2013, 01:51 PM   #12
jtsn
Member
 
Registered: Sep 2011
Location: Europe
Distribution: Slackware
Posts: 683

Rep: Reputation: 270Reputation: 270Reputation: 270
Quote:
Originally Posted by volkerdi View Post
That'll just have different bugs.
Did you consider a rollback to 4.8.4 from 14.0?
 
Old 10-14-2013, 04:25 AM   #13
GazL
Senior Member
 
Registered: May 2008
Posts: 3,231

Rep: Reputation: 828Reputation: 828Reputation: 828Reputation: 828Reputation: 828Reputation: 828Reputation: 828
If I remember rightly 4.8.4 had a broken tree-view. The update >= 4.8.8 fixed that, but then something else broke; I can't remember what, but I remember that later someone posted requesting another bump because of it. And then, there was this bug.

No wonder Pat is pessimistic about the quality of future mc releases. It seems to be going through a protracted rough patch.
 
Old 10-14-2013, 06:57 AM   #14
GazL
Senior Member
 
Registered: May 2008
Posts: 3,231

Rep: Reputation: 828Reputation: 828Reputation: 828Reputation: 828Reputation: 828Reputation: 828Reputation: 828
I don't generally like having the distro cover-over the cracks in upstream's work, but given the recent history of 'mc releases' we could be waiting a long time before we get a clean release version that actually works properly for everyone, so here's a patch to apply against slackware[64]-current/source/ap/mc/ that pulls in just this one 'arguments' fix from upstream. I guess it'll do until we can evaluate whether 4.8.11 is usable.
Attached Files
File Type: txt mc.Slackbuild.diff.txt (5.8 KB, 8 views)

Last edited by GazL; 10-14-2013 at 06:59 AM.
 
Old 10-14-2013, 04:00 PM   #15
jtsn
Member
 
Registered: Sep 2011
Location: Europe
Distribution: Slackware
Posts: 683

Rep: Reputation: 270Reputation: 270Reputation: 270
Quote:
Originally Posted by GazL View Post
If I remember rightly 4.8.4 had a broken tree-view. The update >= 4.8.8 fixed that, but then something else broke; I can't remember what, but I remember that later someone posted requesting another bump because of it. And then, there was this bug.
Interesting, didn't notice that. We could go further back to 4.7.5 from 13.37 or 4.6.1 from 11.0. This tool was "complete" already ten years ago and doesn't need further updates.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Midnight Commander displays strange fonts SharpyWarpy Linux - General 3 02-28-2013 11:54 PM
midnight commander peterb Ubuntu 1 10-14-2010 09:22 AM
[SOLVED] Midnight-commander new2nagios Linux - Software 4 08-05-2009 10:55 AM
Midnight Commander matombo Fedora 3 11-30-2005 12:41 PM
Midnight Commander can't go home Imyrryr Linux - Software 0 12-27-2004 09:54 PM


All times are GMT -5. The time now is 11:53 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration