[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">
|
---|
[e94280ea] | 9 | <!ENTITY mc-md5sum "e51cd40a897d9aa01af251d191637ca4">
|
---|
[57d40736] | 10 | <!ENTITY mc-size "2.4 MB">
|
---|
[e94280ea] | 11 | <!ENTITY mc-buildsize "68 MB (add 85 MB for tests)">
|
---|
| 12 | <!ENTITY mc-time "0.3 SBU (using parallelism=4; add 0.2 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 | <date>$Date$</date>
|
---|
| 20 | </sect1info>
|
---|
| 21 |
|
---|
[880c568] | 22 | <title>MC-&mc-version;</title>
|
---|
[2571cae1] | 23 |
|
---|
| 24 | <indexterm zone="mc">
|
---|
[880c568] | 25 | <primary sortas="a-MC">MC</primary>
|
---|
[2571cae1] | 26 | </indexterm>
|
---|
| 27 |
|
---|
| 28 | <sect2 role="package">
|
---|
| 29 | <title>Introduction to MC</title>
|
---|
| 30 |
|
---|
[b1532549] | 31 | <para>
|
---|
| 32 | <application>MC</application> (Midnight Commander) is a text-mode
|
---|
| 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.
|
---|
| 37 | </para>
|
---|
[3cd5c69] | 38 |
|
---|
[c93c620c] | 39 | &lfs110a_checked;
|
---|
[ee122615] | 40 |
|
---|
[2571cae1] | 41 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 42 | <itemizedlist spacing="compact">
|
---|
| 43 | <listitem>
|
---|
[b1532549] | 44 | <para>
|
---|
| 45 | Download (HTTP): <ulink url="&mc-download-http;"/>
|
---|
| 46 | </para>
|
---|
[2571cae1] | 47 | </listitem>
|
---|
| 48 | <listitem>
|
---|
[b1532549] | 49 | <para>
|
---|
| 50 | Download (FTP): <ulink url="&mc-download-ftp;"/>
|
---|
| 51 | </para>
|
---|
[2571cae1] | 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
[b1532549] | 54 | <para>
|
---|
| 55 | Download MD5 sum: &mc-md5sum;
|
---|
| 56 | </para>
|
---|
[2571cae1] | 57 | </listitem>
|
---|
| 58 | <listitem>
|
---|
[b1532549] | 59 | <para>
|
---|
| 60 | Download size: &mc-size;
|
---|
| 61 | </para>
|
---|
[2571cae1] | 62 | </listitem>
|
---|
| 63 | <listitem>
|
---|
[b1532549] | 64 | <para>
|
---|
| 65 | Estimated disk space required: &mc-buildsize;
|
---|
| 66 | </para>
|
---|
[2571cae1] | 67 | </listitem>
|
---|
| 68 | <listitem>
|
---|
[b1532549] | 69 | <para>
|
---|
| 70 | Estimated build time: &mc-time;
|
---|
| 71 | </para>
|
---|
[2571cae1] | 72 | </listitem>
|
---|
| 73 | </itemizedlist>
|
---|
| 74 |
|
---|
| 75 | <bridgehead renderas="sect3">MC Dependencies</bridgehead>
|
---|
| 76 |
|
---|
| 77 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[476618b] | 78 | <para role="required">
|
---|
| 79 | <xref linkend="glib2"/> and
|
---|
| 80 | <xref linkend="pcre"/>
|
---|
[ee122615] | 81 | </para>
|
---|
[2571cae1] | 82 |
|
---|
[2dd3436a] | 83 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 84 | <para role="recommended">
|
---|
[d2bd92f] | 85 | <xref linkend="slang"/>
|
---|
[2dd3436a] | 86 | </para>
|
---|
| 87 |
|
---|
[2571cae1] | 88 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[ee122615] | 89 | <para role="optional">
|
---|
[3e63f22a] | 90 | <xref linkend="doxygen"/>,
|
---|
[ee122615] | 91 | <xref linkend="gpm"/>,
|
---|
[73fb07ad] | 92 | <xref linkend="libssh2"/>,
|
---|
| 93 | <xref linkend="ruby"/>,
|
---|
[45f56ac] | 94 | <xref linkend="samba"/>,
|
---|
[3e63f22a] | 95 | <xref linkend="unzip"/>,
|
---|
| 96 | <xref linkend="x-window-system"/>, and
|
---|
| 97 | <xref linkend="zip"/>
|
---|
[ee122615] | 98 | </para>
|
---|
[2571cae1] | 99 |
|
---|
[1039de3] | 100 | <para condition="html" role="usernotes">User Notes:
|
---|
[6c42d4e] | 101 | <ulink url="&blfs-wiki;/MC"/></para>
|
---|
[1039de3] | 102 |
|
---|
[2571cae1] | 103 | </sect2>
|
---|
| 104 |
|
---|
| 105 | <sect2 role="installation">
|
---|
| 106 | <title>Installation of MC</title>
|
---|
| 107 |
|
---|
[b1532549] | 108 | <para>
|
---|
| 109 | Install <application>MC</application> by
|
---|
| 110 | running the following commands:
|
---|
| 111 | </para>
|
---|
[2571cae1] | 112 |
|
---|
[2dd3436a] | 113 | <screen><userinput>./configure --prefix=/usr \
|
---|
[ab0209e] | 114 | --sysconfdir=/etc \
|
---|
[2dd3436a] | 115 | --enable-charset &&
|
---|
[f0801a2d] | 116 | make</userinput></screen>
|
---|
[3a575ab5] | 117 |
|
---|
[b1532549] | 118 | <para>
|
---|
| 119 | To test the results, issue: <command>make check</command>.
|
---|
| 120 | </para>
|
---|
[bccbdaea] | 121 |
|
---|
[b1532549] | 122 | <para>
|
---|
| 123 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 124 | </para>
|
---|
[7f78b6f] | 125 |
|
---|
[f2abc73] | 126 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
[3a575ab5] | 127 |
|
---|
| 128 | </sect2>
|
---|
| 129 |
|
---|
| 130 | <sect2 role="commands">
|
---|
| 131 | <title>Command Explanations</title>
|
---|
[29f80ebc] | 132 |
|
---|
[b1532549] | 133 | <para>
|
---|
| 134 | <parameter>--sysconfdir=/etc</parameter>: This switch places the
|
---|
| 135 | global configureation directory in <filename
|
---|
| 136 | class="directory">/etc</filename>.
|
---|
| 137 | </para>
|
---|
[ab0209e] | 138 |
|
---|
[b1532549] | 139 | <para>
|
---|
| 140 | <parameter>--enable-charset</parameter>: This switch adds support
|
---|
| 141 | to <command>mcedit</command> for editing files in encodings different
|
---|
| 142 | from the one implied by the current locale.
|
---|
| 143 | </para>
|
---|
[57d40736] | 144 |
|
---|
[2571cae1] | 145 | </sect2>
|
---|
| 146 |
|
---|
| 147 | <sect2 role="configuration">
|
---|
| 148 | <title>Configuring MC</title>
|
---|
| 149 |
|
---|
| 150 | <sect3 id="mc-config">
|
---|
| 151 | <title>Config Files</title>
|
---|
| 152 |
|
---|
[b1532549] | 153 | <para>
|
---|
| 154 | <filename>~/.config/mc/*</filename>
|
---|
| 155 | </para>
|
---|
[2571cae1] | 156 |
|
---|
| 157 | <indexterm zone="mc mc-config">
|
---|
[52f9553c] | 158 | <primary sortas="e-AA.config/.mc/*">~/.config/.mc/*</primary>
|
---|
[2571cae1] | 159 | </indexterm>
|
---|
| 160 |
|
---|
| 161 | </sect3>
|
---|
| 162 |
|
---|
| 163 | <sect3>
|
---|
| 164 | <title>Configuration Information</title>
|
---|
| 165 |
|
---|
[b1532549] | 166 | <para>
|
---|
| 167 | The <filename class="directory">~/.config/mc</filename> directory and
|
---|
| 168 | its contents are created when you start <command>mc</command> for the
|
---|
| 169 | first time. Then you can edit the main <filename>~/.config/mc/ini
|
---|
| 170 | </filename> configuration file manually or through the <application>
|
---|
| 171 | MC</application> shell. Consult the mc(1) man page for details.
|
---|
| 172 | </para>
|
---|
| 173 |
|
---|
[2571cae1] | 174 | </sect3>
|
---|
| 175 |
|
---|
| 176 | </sect2>
|
---|
| 177 |
|
---|
| 178 | <sect2 role="content">
|
---|
| 179 | <title>Contents</title>
|
---|
| 180 |
|
---|
| 181 | <segmentedlist>
|
---|
| 182 | <segtitle>Installed Programs</segtitle>
|
---|
| 183 | <segtitle>Installed Libraries</segtitle>
|
---|
| 184 | <segtitle>Installed Directories</segtitle>
|
---|
| 185 |
|
---|
| 186 | <seglistitem>
|
---|
[b01e2d2] | 187 | <seg>mc and the symlinks mcdiff, mcedit and mcview</seg>
|
---|
[2571cae1] | 188 | <seg>None</seg>
|
---|
[05ec61e9] | 189 | <seg>/etc/mc and /usr/{libexec,share}/mc</seg>
|
---|
[2571cae1] | 190 | </seglistitem>
|
---|
| 191 | </segmentedlist>
|
---|
| 192 |
|
---|
| 193 | <variablelist>
|
---|
| 194 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 195 | <?dbfo list-presentation="list"?>
|
---|
| 196 | <?dbhtml list-presentation="table"?>
|
---|
| 197 |
|
---|
[3a575ab5] | 198 | <varlistentry id="conssaver">
|
---|
| 199 | <term><command>cons.saver</command></term>
|
---|
| 200 | <listitem>
|
---|
[b1532549] | 201 | <para>
|
---|
| 202 | is used internally by <command>mc</command> for saving and
|
---|
[4c24eb0a] | 203 | restoring the text behind the panels on Linux text console
|
---|
[b1532549] | 204 | </para>
|
---|
[3a575ab5] | 205 | <indexterm zone="mc conssaver">
|
---|
| 206 | <primary sortas="b-conssaver">cons.saver</primary>
|
---|
| 207 | </indexterm>
|
---|
| 208 | </listitem>
|
---|
| 209 | </varlistentry>
|
---|
| 210 |
|
---|
[2571cae1] | 211 | <varlistentry id="mc-prog">
|
---|
| 212 | <term><command>mc</command></term>
|
---|
| 213 | <listitem>
|
---|
[b1532549] | 214 | <para>
|
---|
[4c24eb0a] | 215 | is a visual shell
|
---|
[b1532549] | 216 | </para>
|
---|
[2571cae1] | 217 | <indexterm zone="mc mc-prog">
|
---|
| 218 | <primary sortas="b-mc">mc</primary>
|
---|
| 219 | </indexterm>
|
---|
| 220 | </listitem>
|
---|
| 221 | </varlistentry>
|
---|
| 222 |
|
---|
[ee122615] | 223 | <varlistentry id="mcdiff">
|
---|
| 224 | <term><command>mcdiff</command></term>
|
---|
[3a575ab5] | 225 | <listitem>
|
---|
[b1532549] | 226 | <para>
|
---|
[4c24eb0a] | 227 | is an internal visual diff tool
|
---|
[b1532549] | 228 | </para>
|
---|
[ee122615] | 229 | <indexterm zone="mc mcdiff">
|
---|
| 230 | <primary sortas="b-mcdiff">mcdiff</primary>
|
---|
[3a575ab5] | 231 | </indexterm>
|
---|
| 232 | </listitem>
|
---|
| 233 | </varlistentry>
|
---|
| 234 |
|
---|
[af5248e2] | 235 | <varlistentry id="mcedit">
|
---|
| 236 | <term><command>mcedit</command></term>
|
---|
| 237 | <listitem>
|
---|
[b1532549] | 238 | <para>
|
---|
[4c24eb0a] | 239 | is an internal file editor
|
---|
[b1532549] | 240 | </para>
|
---|
[af5248e2] | 241 | <indexterm zone="mc mcedit">
|
---|
| 242 | <primary sortas="b-mcedit">mcedit</primary>
|
---|
| 243 | </indexterm>
|
---|
| 244 | </listitem>
|
---|
| 245 | </varlistentry>
|
---|
| 246 |
|
---|
[2571cae1] | 247 | <varlistentry id="mcview">
|
---|
| 248 | <term><command>mcview</command></term>
|
---|
| 249 | <listitem>
|
---|
[b1532549] | 250 | <para>
|
---|
[4c24eb0a] | 251 | is an internal file viewer
|
---|
[b1532549] | 252 | </para>
|
---|
[2571cae1] | 253 | <indexterm zone="mc mcview">
|
---|
| 254 | <primary sortas="b-mcview">mcview</primary>
|
---|
| 255 | </indexterm>
|
---|
| 256 | </listitem>
|
---|
| 257 | </varlistentry>
|
---|
| 258 |
|
---|
| 259 | </variablelist>
|
---|
| 260 |
|
---|
| 261 | </sect2>
|
---|
[2082ebf6] | 262 |
|
---|
| 263 | </sect1>
|
---|