Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.


  Search this Thread
Old 08-14-2011, 06:53 PM   #1
LQ Newbie
Registered: Jul 2011
Location: Germany
Distribution: W2k, LFS
Posts: 17

Rep: Reputation: 2
Arrow BLFS Tip: Use current version of Midnight Commander (mc)

Originally Posted by
GNU Midnight Commander is a visual file manager ...
It's a feature rich full-screen text mode application that allows you to copy, move and delete files and whole directory trees, search for files and run commands in the subshell. Internal viewer and editor are included.
In the stable and svn version of the BLFS book are installation instructions for mc-4.6.1.

That version of mc is very much outdated and has quite a few shortcomings,
compared to the current version

F.e.: I like to use mc for finding files more than using find,
as mc gives feedback about what it is doing, while it is running ...

mc-4.6.1 can not be used to do a case insensitive search for file names.
The single check box for case sensitivity in the find dialog
seems to only affect the file contents, but not their names.

(I did try to omit patches and find alternative patches,
but didn't find any that would help that problem.
This way I found the new version and the new home of mc. )

mc- has a much more advanced find file dialog
with a case sensitivity check box for file names as well as for file contents.
(Not mentioning the other nice features there)

Current versions of mc can be found here:

I built it this way without problems:
./configure --prefix=/usr --enable-vfs-undelfs --enable-vfs-smb
--enable-vfs-undelfs enables a feature to recover deleted files from ext2 file systems.
--enable-vfs-smb is for browsing samba shares.

make check can be run, but I believe, it does not actually test anything.

As always, I installed it as a root user:
make install
There seems to be no way to set it, so that the search would follow symbolic links to directories,
but I consider that a minor thing.

I like this new version of mc quite a lot.
Old 08-17-2011, 04:12 PM   #2
LQ Newbie
Registered: Jul 2011
Location: Germany
Distribution: W2k, LFS
Posts: 17

Original Poster
Rep: Reputation: 2
Meanwhile, I found out that the above configuration will make mc
put its system wide configuration files to /usr/etc/mc.

I felt, I'd rather have them in /etc/mc,
so I uninstalled and installed with the following settings
./configure --prefix=/usr --sysconfdir=/etc --enable-vfs-undelfs --enable-vfs-smb
Not really a problem, but can be done this was right from the start.


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Midnight-commander new2nagios Linux - Software 4 08-05-2009 11:55 AM
Midnight Commander help? masterross Linux - Software 3 01-22-2008 10:25 AM
midnight commander prevoo DamnSmallLinux 6 09-19-2004 05:26 PM
midnight commander enigma1 Linux - Software 6 12-10-2003 03:47 PM
Where's mc (Midnight Commander) Shadow Of Death Linux - Software 7 01-09-2003 08:09 PM > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 06:22 AM.

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