MC-4.8.23

#### Beyond Linux® From Scratch (systemd Edition) - Version 9.0

### Chapter 12. System Utilities

- Prev

  Logrotate-3.15.0

- Next

  ModemManager-1.10.4

- Up
- Home

# MC-4.8.23

## Introduction to MC

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-9.0 platform.

### Package Information

- Download (HTTP): http://ftp.midnight-commander.org/mc-4.8.23.tar.xz

- Download (FTP): ftp://ftp.osuosl.org/pub/midnightcommander/mc-4.8.23.tar.xz

- Download MD5 sum: 466c3135f727f8ac2102d060a080ace3

- Download size: 2.4 MB

- Estimated disk space required: 206 MB (with tests)

- Estimated build time: 0.6 SBU (using parallelism=4; with tests)

### MC Dependencies

#### Required

GLib-2.60.6 and PCRE-8.43

#### Recommended

slang-2.3.2

#### Optional

Doxygen-1.8.16, GPM-1.20.7, Samba-4.10.7, UnZip-6.0, X Window System, and Zip-3.0

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/MC

## Installation of MC

Install MC by running the following commands:

    ./configure --prefix=/usr \
                --sysconfdir=/etc \
                --enable-charset &&
    make

To test the results, issue: make check. One test concerning rpm files fails.

Now, as the `root` user:

    make install &&
    cp -v doc/keybind-migration.txt /usr/share/mc

## Command Explanations

`--sysconfdir=/etc`: This switch places the global configureation directory in `/etc`.

`--enable-charset`: This switch adds support to mcedit for editing files in encodings different from the one implied by the current locale.

## Configuring MC

### Config Files

`~/.config/mc/*`

### Configuration Information

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.

### Note

On 8.x versions of mc, keybind names used in mc.keymap.* files are changed. This is described in `keybind-migration.txt`.

## Contents

Installed Programs: mc and the symlinks mcdiff, mcedit and mcview
Installed Libraries: None
Installed Directories: /etc/mc and /usr/{libexec,share}/mc

### Short Descriptions

cons.saver | is used internally by mc for saving and restoring the text behind the panels on Linux text console.
mc | is a visual shell.
mcdiff | is an internal visual diff tool.
mcedit | is an internal file editor.
mcview | is an internal file viewer.

Last updated on 2019-08-21 14:47:54 -0700

- Prev

  Logrotate-3.15.0

- Next

  ModemManager-1.10.4

- Up
- Home