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