glfs/general/sysutils/mc.xml
Bruce Dubbs 4ad93b6d57 Update to unrar-5.0.8.
Update to sysstat-10.1.6.
Update to sg3_utils-1.36.
Update to mc-4.8.9.
Update to lm_sensors-3.3.4.
Update to colord-1.0.2.

Tag several packages as lfs73.



git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@11438 af4574ff-66df-0310-9fd7-8a98e5e911e0
2013-07-15 21:53:27 +00:00

239 lines
7.5 KiB
XML

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!ENTITY mc-download-http "&sources-anduin-http;/m/mc-&mc-version;.tar.xz">
<!ENTITY mc-download-ftp "ftp://ftp.osuosl.org/pub/midnightcommander/mc-&mc-version;.tar.xz">
<!ENTITY mc-md5sum "0f8a05f9a9708241541ae177c8e2f209">
<!ENTITY mc-size "2.1 MB">
<!ENTITY mc-buildsize "191 MB">
<!ENTITY mc-time "0.7 SBU">
]>
<sect1 id="mc" xreflabel="mc-&mc-version;">
<?dbhtml filename="mc.html"?>
<sect1info>
<othername>$LastChangedBy$</othername>
<date>$Date$</date>
</sect1info>
<title>mc-&mc-version;</title>
<indexterm zone="mc">
<primary sortas="a-mc">mc</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to MC</title>
<para><application>MC</application> (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.</para>
&lfs73_checked;
<!--<note><para>The download site uses a self-signed security certificate.
You will need to accept it as valid to get the source code.</para></note>-->
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>Download (HTTP): <ulink url="&mc-download-http;"/></para>
</listitem>
<listitem>
<para>Download (FTP): <ulink url="&mc-download-ftp;"/></para>
</listitem>
<listitem>
<para>Download MD5 sum: &mc-md5sum;</para>
</listitem>
<listitem>
<para>Download size: &mc-size;</para>
</listitem>
<listitem>
<para>Estimated disk space required: &mc-buildsize;</para>
</listitem>
<listitem>
<para>Estimated build time: &mc-time;</para>
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">MC Dependencies</bridgehead>
<bridgehead renderas="sect4">Required</bridgehead>
<para role="required">
<xref linkend="glib2"/> and
<xref linkend="pcre"/>
</para>
<bridgehead renderas="sect4">Optional</bridgehead>
<para role="optional">
<xref linkend="doxygen"/>,
<xref linkend="gpm"/>,
<xref linkend="samba3"/>,
<xref linkend="slang"/>,
<xref linkend="unzip"/>,
<xref linkend="x-window-system"/>, and
<xref linkend="zip"/>
</para>
<para condition="html" role="usernotes">User Notes:
<ulink url="&blfs-wiki;/MC"/></para>
</sect2>
<sect2 role="installation">
<title>Installation of MC</title>
<para>Install <application>MC</application> by
running the following commands:</para>
<screen><userinput>./configure --prefix=/usr \
--enable-charset \
--disable-static \
--sysconfdir=/etc \
--with-screen=ncurses &amp;&amp;
make</userinput></screen>
<para>To test the results, issue: <userinput>make check</userinput>.</para>
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
<screen role="root"><userinput>make install &amp;&amp;
cp -v doc/keybind-migration.txt /usr/share/mc</userinput></screen>
</sect2>
<sect2 role="commands">
<title>Command Explanations</title>
<para><parameter>--enable-charset</parameter>: This option adds support
to <command>mcedit</command> for editing files in encodings different
from the one implied by the current locale.</para>
<para><parameter>--sysconfdir=/etc</parameter>: This option places the
global configureation directory in <filename
class="directory">/etc</filename>.</para>
<para><parameter>--with-screen=ncurses</parameter>: This option is only
required if the optional <xref linkend="slang"/> package is not installed.
</para>
<para><parameter>--with-screen=(slang|ncurses)</parameter>: This
parameter selects the screen library used by <application>MC</application>.
<xref linkend="slang"/> is the default if found.</para>
</sect2>
<sect2 role="configuration">
<title>Configuring MC</title>
<sect3 id="mc-config">
<title>Config Files</title>
<para><filename>~/.config/mc/*</filename></para>
<indexterm zone="mc mc-config">
<primary sortas="e-AA.config/.mc/*">~/.config/.mc/*</primary>
</indexterm>
</sect3>
<sect3>
<title>Configuration Information</title>
<para>The <filename class="directory">~/.config/mc</filename> directory and
its contents are created when you start <command>mc</command> for the
first time. Then you can edit the main <filename>~/.config/mc/ini</filename>
configuration file manually or through the <application>MC</application>
shell. Consult the mc(1) man page for details.</para>
<note><para> On 8.x versions of <application>mc</application>,
keybind names used in mc.keymap.* files are changed. This is
described in <filename>keybind-migration.txt</filename>.</para></note>
</sect3>
</sect2>
<sect2 role="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Programs</segtitle>
<segtitle>Installed Libraries</segtitle>
<segtitle>Installed Directories</segtitle>
<seglistitem>
<seg>mc, mcdiff, mcedit, and mcview</seg>
<seg>None</seg>
<seg>/etc/mc, /usr/libexec/mc, /usr/share/mc, ~/.config/mc</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="conssaver">
<term><command>cons.saver</command></term>
<listitem>
<para>is used internally by <command>mc</command> for saving and
restoring the text behind the panels on Linux text console.</para>
<indexterm zone="mc conssaver">
<primary sortas="b-conssaver">cons.saver</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="mc-prog">
<term><command>mc</command></term>
<listitem>
<para>is a visual shell.</para>
<indexterm zone="mc mc-prog">
<primary sortas="b-mc">mc</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="mcedit">
<term><command>mcedit</command></term>
<listitem>
<para>is an internal file editor.</para>
<indexterm zone="mc mcedit">
<primary sortas="b-mcedit">mcedit</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="mcdiff">
<term><command>mcdiff</command></term>
<listitem>
<para>is an internal visual diff tool.</para>
<indexterm zone="mc mcdiff">
<primary sortas="b-mcdiff">mcdiff</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="mcview">
<term><command>mcview</command></term>
<listitem>
<para>is an internal file viewer.</para>
<indexterm zone="mc mcview">
<primary sortas="b-mcview">mcview</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>