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