Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
10-04-2013, 11:08 AM
|
#1
|
Member
Registered: Apr 2004
Posts: 155
Rep:
|
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.
|
|
|
10-04-2013, 11:25 AM
|
#2
|
Member
Registered: Jun 2013
Location: Germany
Distribution: Slackware
Posts: 174
Rep: 
|
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.
|
|
|
10-04-2013, 11:48 AM
|
#3
|
Senior Member
Registered: Dec 2008
Posts: 1,204
|
Quote:
Originally Posted by staus
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.
|
|
|
10-04-2013, 12:43 PM
|
#4
|
Senior Member
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482
|
|
|
|
10-05-2013, 06:58 AM
|
#5
|
Member
Registered: Apr 2009
Location: Oz
Distribution: slackware64-14.0
Posts: 875
|
Quote:
Originally Posted by Stuferus
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.
|
|
|
10-09-2013, 10:02 AM
|
#6
|
Member
Registered: Apr 2004
Posts: 155
Original Poster
Rep:
|
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.
|
|
|
10-09-2013, 12:11 PM
|
#8
|
Member
Registered: Apr 2004
Posts: 155
Original Poster
Rep:
|
Thanks for the info.
|
|
|
10-09-2013, 12:44 PM
|
#9
|
Senior Member
Registered: Dec 2008
Posts: 1,204
|
Quote:
Originally Posted by staus
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
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.
|
|
|
10-10-2013, 04:12 PM
|
#10
|
Slackware Maintainer
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 3,141
|
Quote:
Originally Posted by GazL
|
That'll just have different bugs.
|
|
1 members found this post helpful.
|
10-10-2013, 04:28 PM
|
#11
|
LQ Veteran
Registered: May 2008
Posts: 7,156
|
Quote:
Originally Posted by volkerdi
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.
|
|
|
10-13-2013, 01:51 PM
|
#12
|
Member
Registered: Sep 2011
Posts: 925
|
Quote:
Originally Posted by volkerdi
That'll just have different bugs.
|
Did you consider a rollback to 4.8.4 from 14.0?
|
|
|
10-14-2013, 04:25 AM
|
#13
|
LQ Veteran
Registered: May 2008
Posts: 7,156
|
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.
|
|
|
10-14-2013, 06:57 AM
|
#14
|
LQ Veteran
Registered: May 2008
Posts: 7,156
|
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.
Last edited by GazL; 12-11-2014 at 01:14 PM.
|
|
|
10-14-2013, 04:00 PM
|
#15
|
Member
Registered: Sep 2011
Posts: 925
|
Quote:
Originally Posted by GazL
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.
|
|
|
All times are GMT -5. The time now is 08:25 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|