MC (Midnight Commander) is a text-mode full-screen file manager and visual shell. It provides a clear, user-friendly, and somewhat protected interface to a Unix system while making many frequent file operations more efficient and preserving the full power of the command prompt.
This package is known to build and work properly using an LFS-7.4 platform.
Download (HTTP): http://anduin.linuxfromscratch.org/sources/BLFS/svn/m/mc-4.8.10.tar.xz
Download (FTP): ftp://ftp.osuosl.org/pub/midnightcommander/mc-4.8.10.tar.xz
Download MD5 sum: 3d9c3777bb5c6e656792c1ef30f483b4
Download size: 2.1 MB
Estimated disk space required: 169 MB
Estimated build time: 0.7 SBU
GLib-2.36.4 and PCRE-8.33
Doxygen-1.8.5, GPM-1.20.7, Samba-4.0.9, S-Lang-2.2.4, UnZip-6.0, X Window System, and Zip-3.0
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/MC
Install MC by running the following commands:
./configure --prefix=/usr \ --enable-charset \ --disable-static \ --sysconfdir=/etc \ --with-screen=ncurses && make
To test the results, issue: make
check
.
Now, as the root
user:
make install && cp -v doc/keybind-migration.txt /usr/share/mc
--enable-charset
: This
option adds support to mcedit for editing files in
encodings different from the one implied by the current locale.
--sysconfdir=/etc
: This
option places the global configureation directory in /etc
.
--with-screen=ncurses
: This
option is only required if the optional S-Lang-2.2.4 package is not
installed.
--with-screen=(slang|ncurses)
: This
parameter selects the screen library used by MC. S-Lang-2.2.4 is the default if found.
The ~/.config/mc
directory and its
contents are created when you start mc for the first time. Then you
can edit the main ~/.config/mc/ini
configuration file manually or through the MC shell. Consult the mc(1) man page for
details.
On 8.x versions of mc, keybind
names used in mc.keymap.* files are changed. This is described
in keybind-migration.txt
.
Last updated on 2013-09-05 10:23:42 -0700