[52d29f7] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[6732c094] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[52d29f7] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[2dd3436a] | 7 | <!ENTITY mc-download-http "http://ftp.midnight-commander.org/mc-&mc-version;.tar.xz">
|
---|
[4ad93b6] | 8 | <!ENTITY mc-download-ftp "ftp://ftp.osuosl.org/pub/midnightcommander/mc-&mc-version;.tar.xz">
|
---|
[13e5884] | 9 | <!ENTITY mc-md5sum "fbdaddb9edcf8925dcf3231331a8720b">
|
---|
[2dd3436a] | 10 | <!ENTITY mc-size "2.2 MB">
|
---|
[13e5884] | 11 | <!ENTITY mc-buildsize "85 MB (additional 72 MB for tests)">
|
---|
| 12 | <!ENTITY mc-time "0.6 SBU (additional 0.1 SBU for tests)">
|
---|
[52d29f7] | 13 | ]>
|
---|
| 14 |
|
---|
[880c568] | 15 | <sect1 id="mc" xreflabel="MC-&mc-version;">
|
---|
[2571cae1] | 16 | <?dbhtml filename="mc.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
[880c568] | 23 | <title>MC-&mc-version;</title>
|
---|
[2571cae1] | 24 |
|
---|
| 25 | <indexterm zone="mc">
|
---|
[880c568] | 26 | <primary sortas="a-MC">MC</primary>
|
---|
[2571cae1] | 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to MC</title>
|
---|
| 31 |
|
---|
[539ace5] | 32 | <para><application>MC</application> (Midnight Commander) is a text-mode
|
---|
[3cd5c69] | 33 | full-screen file manager and visual shell. It provides a clear,
|
---|
| 34 | user-friendly, and somewhat protected interface to a Unix system while
|
---|
| 35 | making many frequent file operations more efficient and preserving the
|
---|
| 36 | full power of the command prompt.</para>
|
---|
| 37 |
|
---|
[96ed758] | 38 | &lfs77_checked;
|
---|
[ee122615] | 39 |
|
---|
[4ad93b6] | 40 | <!--<note><para>The download site uses a self-signed security certificate.
|
---|
| 41 | You will need to accept it as valid to get the source code.</para></note>-->
|
---|
[ee122615] | 42 |
|
---|
[2571cae1] | 43 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 44 | <itemizedlist spacing="compact">
|
---|
| 45 | <listitem>
|
---|
| 46 | <para>Download (HTTP): <ulink url="&mc-download-http;"/></para>
|
---|
| 47 | </listitem>
|
---|
| 48 | <listitem>
|
---|
| 49 | <para>Download (FTP): <ulink url="&mc-download-ftp;"/></para>
|
---|
| 50 | </listitem>
|
---|
| 51 | <listitem>
|
---|
| 52 | <para>Download MD5 sum: &mc-md5sum;</para>
|
---|
| 53 | </listitem>
|
---|
| 54 | <listitem>
|
---|
| 55 | <para>Download size: &mc-size;</para>
|
---|
| 56 | </listitem>
|
---|
| 57 | <listitem>
|
---|
| 58 | <para>Estimated disk space required: &mc-buildsize;</para>
|
---|
| 59 | </listitem>
|
---|
| 60 | <listitem>
|
---|
| 61 | <para>Estimated build time: &mc-time;</para>
|
---|
| 62 | </listitem>
|
---|
| 63 | </itemizedlist>
|
---|
| 64 |
|
---|
| 65 | <bridgehead renderas="sect3">MC Dependencies</bridgehead>
|
---|
| 66 |
|
---|
| 67 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[476618b] | 68 | <para role="required">
|
---|
| 69 | <xref linkend="glib2"/> and
|
---|
| 70 | <xref linkend="pcre"/>
|
---|
[ee122615] | 71 | </para>
|
---|
[2571cae1] | 72 |
|
---|
[2dd3436a] | 73 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 74 | <para role="recommended">
|
---|
[d2bd92f] | 75 | <xref linkend="slang"/>
|
---|
[2dd3436a] | 76 | </para>
|
---|
| 77 |
|
---|
[2571cae1] | 78 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[ee122615] | 79 | <para role="optional">
|
---|
[3e63f22a] | 80 | <xref linkend="doxygen"/>,
|
---|
[ee122615] | 81 | <xref linkend="gpm"/>,
|
---|
[45f56ac] | 82 | <xref linkend="samba"/>,
|
---|
[3e63f22a] | 83 | <xref linkend="unzip"/>,
|
---|
| 84 | <xref linkend="x-window-system"/>, and
|
---|
| 85 | <xref linkend="zip"/>
|
---|
[ee122615] | 86 | </para>
|
---|
[2571cae1] | 87 |
|
---|
[1039de3] | 88 | <para condition="html" role="usernotes">User Notes:
|
---|
[6c42d4e] | 89 | <ulink url="&blfs-wiki;/MC"/></para>
|
---|
[1039de3] | 90 |
|
---|
[2571cae1] | 91 | </sect2>
|
---|
| 92 |
|
---|
| 93 | <sect2 role="installation">
|
---|
| 94 | <title>Installation of MC</title>
|
---|
| 95 |
|
---|
| 96 | <para>Install <application>MC</application> by
|
---|
| 97 | running the following commands:</para>
|
---|
| 98 |
|
---|
[2dd3436a] | 99 | <screen><userinput>./configure --prefix=/usr \
|
---|
[ab0209e] | 100 | --sysconfdir=/etc \
|
---|
[2dd3436a] | 101 | --enable-charset &&
|
---|
[f0801a2d] | 102 | make</userinput></screen>
|
---|
[3a575ab5] | 103 |
|
---|
[dfff8213] | 104 | <para>To test the results, issue: <command>make check</command>.</para>
|
---|
[bccbdaea] | 105 |
|
---|
[7f78b6f] | 106 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 107 |
|
---|
[ab0209e] | 108 | <screen role="root"><userinput>make install &&
|
---|
| 109 | cp -v doc/keybind-migration.txt /usr/share/mc</userinput></screen>
|
---|
[3a575ab5] | 110 |
|
---|
| 111 | </sect2>
|
---|
| 112 |
|
---|
| 113 | <sect2 role="commands">
|
---|
| 114 | <title>Command Explanations</title>
|
---|
[29f80ebc] | 115 |
|
---|
[2dd3436a] | 116 | <para><parameter>--sysconfdir=/etc</parameter>: This switch places the
|
---|
[ab0209e] | 117 | global configureation directory in <filename
|
---|
| 118 | class="directory">/etc</filename>.</para>
|
---|
| 119 |
|
---|
[2dd3436a] | 120 | <para><parameter>--enable-charset</parameter>: This switch adds support
|
---|
| 121 | to <command>mcedit</command> for editing files in encodings different
|
---|
| 122 | from the one implied by the current locale.</para>
|
---|
| 123 | <!-- currently broken
|
---|
| 124 | <para><parameter>- -with-screen=ncurses</parameter>: This switch
|
---|
| 125 | selects the screen library used by <application>MC</application>. It is only
|
---|
| 126 | required if the optional <xref linkend="slang"/> package is not installed
|
---|
| 127 | which is the default if found.</para>
|
---|
| 128 | -->
|
---|
[2571cae1] | 129 | </sect2>
|
---|
| 130 |
|
---|
| 131 | <sect2 role="configuration">
|
---|
| 132 | <title>Configuring MC</title>
|
---|
| 133 |
|
---|
| 134 | <sect3 id="mc-config">
|
---|
| 135 | <title>Config Files</title>
|
---|
| 136 |
|
---|
[52f9553c] | 137 | <para><filename>~/.config/mc/*</filename></para>
|
---|
[2571cae1] | 138 |
|
---|
| 139 | <indexterm zone="mc mc-config">
|
---|
[52f9553c] | 140 | <primary sortas="e-AA.config/.mc/*">~/.config/.mc/*</primary>
|
---|
[2571cae1] | 141 | </indexterm>
|
---|
| 142 |
|
---|
| 143 | </sect3>
|
---|
| 144 |
|
---|
| 145 | <sect3>
|
---|
| 146 | <title>Configuration Information</title>
|
---|
| 147 |
|
---|
[52f9553c] | 148 | <para>The <filename class="directory">~/.config/mc</filename> directory and
|
---|
[2571cae1] | 149 | its contents are created when you start <command>mc</command> for the
|
---|
[52f9553c] | 150 | first time. Then you can edit the main <filename>~/.config/mc/ini</filename>
|
---|
[0619e6d] | 151 | configuration file manually or through the <application>MC</application>
|
---|
[2571cae1] | 152 | shell. Consult the mc(1) man page for details.</para>
|
---|
| 153 |
|
---|
[ab0209e] | 154 | <note><para> On 8.x versions of <application>mc</application>,
|
---|
| 155 | keybind names used in mc.keymap.* files are changed. This is
|
---|
| 156 | described in <filename>keybind-migration.txt</filename>.</para></note>
|
---|
| 157 |
|
---|
[2571cae1] | 158 | </sect3>
|
---|
| 159 |
|
---|
| 160 | </sect2>
|
---|
| 161 |
|
---|
| 162 | <sect2 role="content">
|
---|
| 163 | <title>Contents</title>
|
---|
| 164 |
|
---|
| 165 | <segmentedlist>
|
---|
| 166 | <segtitle>Installed Programs</segtitle>
|
---|
| 167 | <segtitle>Installed Libraries</segtitle>
|
---|
| 168 | <segtitle>Installed Directories</segtitle>
|
---|
| 169 |
|
---|
| 170 | <seglistitem>
|
---|
[b01e2d2] | 171 | <seg>mc and the symlinks mcdiff, mcedit and mcview</seg>
|
---|
[2571cae1] | 172 | <seg>None</seg>
|
---|
[066dad5a] | 173 | <seg>/etc/mc, /usr/libexec/mc, and /usr/share/mc</seg>
|
---|
[2571cae1] | 174 | </seglistitem>
|
---|
| 175 | </segmentedlist>
|
---|
| 176 |
|
---|
| 177 | <variablelist>
|
---|
| 178 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 179 | <?dbfo list-presentation="list"?>
|
---|
| 180 | <?dbhtml list-presentation="table"?>
|
---|
| 181 |
|
---|
[3a575ab5] | 182 | <varlistentry id="conssaver">
|
---|
| 183 | <term><command>cons.saver</command></term>
|
---|
| 184 | <listitem>
|
---|
| 185 | <para>is used internally by <command>mc</command> for saving and
|
---|
[f0801a2d] | 186 | restoring the text behind the panels on Linux text console.</para>
|
---|
[3a575ab5] | 187 | <indexterm zone="mc conssaver">
|
---|
| 188 | <primary sortas="b-conssaver">cons.saver</primary>
|
---|
| 189 | </indexterm>
|
---|
| 190 | </listitem>
|
---|
| 191 | </varlistentry>
|
---|
| 192 |
|
---|
[2571cae1] | 193 | <varlistentry id="mc-prog">
|
---|
| 194 | <term><command>mc</command></term>
|
---|
| 195 | <listitem>
|
---|
| 196 | <para>is a visual shell.</para>
|
---|
| 197 | <indexterm zone="mc mc-prog">
|
---|
| 198 | <primary sortas="b-mc">mc</primary>
|
---|
| 199 | </indexterm>
|
---|
| 200 | </listitem>
|
---|
| 201 | </varlistentry>
|
---|
| 202 |
|
---|
| 203 | <varlistentry id="mcedit">
|
---|
| 204 | <term><command>mcedit</command></term>
|
---|
| 205 | <listitem>
|
---|
| 206 | <para>is an internal file editor.</para>
|
---|
| 207 | <indexterm zone="mc mcedit">
|
---|
| 208 | <primary sortas="b-mcedit">mcedit</primary>
|
---|
| 209 | </indexterm>
|
---|
| 210 | </listitem>
|
---|
| 211 | </varlistentry>
|
---|
| 212 |
|
---|
[ee122615] | 213 | <varlistentry id="mcdiff">
|
---|
| 214 | <term><command>mcdiff</command></term>
|
---|
[3a575ab5] | 215 | <listitem>
|
---|
[ee122615] | 216 | <para>is an internal visual diff tool.</para>
|
---|
| 217 | <indexterm zone="mc mcdiff">
|
---|
| 218 | <primary sortas="b-mcdiff">mcdiff</primary>
|
---|
[3a575ab5] | 219 | </indexterm>
|
---|
| 220 | </listitem>
|
---|
| 221 | </varlistentry>
|
---|
| 222 |
|
---|
[2571cae1] | 223 | <varlistentry id="mcview">
|
---|
| 224 | <term><command>mcview</command></term>
|
---|
| 225 | <listitem>
|
---|
| 226 | <para>is an internal file viewer.</para>
|
---|
| 227 | <indexterm zone="mc mcview">
|
---|
| 228 | <primary sortas="b-mcview">mcview</primary>
|
---|
| 229 | </indexterm>
|
---|
| 230 | </listitem>
|
---|
| 231 | </varlistentry>
|
---|
| 232 |
|
---|
| 233 | </variablelist>
|
---|
| 234 |
|
---|
| 235 | </sect2>
|
---|
[2082ebf6] | 236 |
|
---|
| 237 | </sect1>
|
---|