[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">
|
---|
[57d40736] | 9 | <!ENTITY mc-md5sum "19f14d368001aac454c28a2ddd2e851b">
|
---|
| 10 | <!ENTITY mc-size "2.4 MB">
|
---|
| 11 | <!ENTITY mc-buildsize "182 MB (with tests)">
|
---|
| 12 | <!ENTITY mc-time "0.4 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 |
|
---|
[90c883f] | 40 | &lfs91_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"/>,
|
---|
[45f56ac] | 93 | <xref linkend="samba"/>,
|
---|
[3e63f22a] | 94 | <xref linkend="unzip"/>,
|
---|
| 95 | <xref linkend="x-window-system"/>, and
|
---|
| 96 | <xref linkend="zip"/>
|
---|
[ee122615] | 97 | </para>
|
---|
[2571cae1] | 98 |
|
---|
[1039de3] | 99 | <para condition="html" role="usernotes">User Notes:
|
---|
[6c42d4e] | 100 | <ulink url="&blfs-wiki;/MC"/></para>
|
---|
[1039de3] | 101 |
|
---|
[2571cae1] | 102 | </sect2>
|
---|
| 103 |
|
---|
| 104 | <sect2 role="installation">
|
---|
| 105 | <title>Installation of MC</title>
|
---|
| 106 |
|
---|
[b1532549] | 107 | <para>
|
---|
| 108 | Install <application>MC</application> by
|
---|
| 109 | running the following commands:
|
---|
| 110 | </para>
|
---|
[2571cae1] | 111 |
|
---|
[2dd3436a] | 112 | <screen><userinput>./configure --prefix=/usr \
|
---|
[ab0209e] | 113 | --sysconfdir=/etc \
|
---|
[2dd3436a] | 114 | --enable-charset &&
|
---|
[f0801a2d] | 115 | make</userinput></screen>
|
---|
[3a575ab5] | 116 |
|
---|
[b1532549] | 117 | <para>
|
---|
| 118 | To test the results, issue: <command>make check</command>.
|
---|
| 119 | One test concerning rpm files fails.
|
---|
| 120 | </para>
|
---|
[bccbdaea] | 121 |
|
---|
[b1532549] | 122 | <para>
|
---|
| 123 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 124 | </para>
|
---|
[7f78b6f] | 125 |
|
---|
[ab0209e] | 126 | <screen role="root"><userinput>make install &&
|
---|
| 127 | cp -v doc/keybind-migration.txt /usr/share/mc</userinput></screen>
|
---|
[3a575ab5] | 128 |
|
---|
| 129 | </sect2>
|
---|
| 130 |
|
---|
| 131 | <sect2 role="commands">
|
---|
| 132 | <title>Command Explanations</title>
|
---|
[29f80ebc] | 133 |
|
---|
[b1532549] | 134 | <para>
|
---|
| 135 | <parameter>--sysconfdir=/etc</parameter>: This switch places the
|
---|
| 136 | global configureation directory in <filename
|
---|
| 137 | class="directory">/etc</filename>.
|
---|
| 138 | </para>
|
---|
[ab0209e] | 139 |
|
---|
[b1532549] | 140 | <para>
|
---|
| 141 | <parameter>--enable-charset</parameter>: This switch adds support
|
---|
| 142 | to <command>mcedit</command> for editing files in encodings different
|
---|
| 143 | from the one implied by the current locale.
|
---|
| 144 | </para>
|
---|
[57d40736] | 145 |
|
---|
[2571cae1] | 146 | </sect2>
|
---|
| 147 |
|
---|
| 148 | <sect2 role="configuration">
|
---|
| 149 | <title>Configuring MC</title>
|
---|
| 150 |
|
---|
| 151 | <sect3 id="mc-config">
|
---|
| 152 | <title>Config Files</title>
|
---|
| 153 |
|
---|
[b1532549] | 154 | <para>
|
---|
| 155 | <filename>~/.config/mc/*</filename>
|
---|
| 156 | </para>
|
---|
[2571cae1] | 157 |
|
---|
| 158 | <indexterm zone="mc mc-config">
|
---|
[52f9553c] | 159 | <primary sortas="e-AA.config/.mc/*">~/.config/.mc/*</primary>
|
---|
[2571cae1] | 160 | </indexterm>
|
---|
| 161 |
|
---|
| 162 | </sect3>
|
---|
| 163 |
|
---|
| 164 | <sect3>
|
---|
| 165 | <title>Configuration Information</title>
|
---|
| 166 |
|
---|
[b1532549] | 167 | <para>
|
---|
| 168 | The <filename class="directory">~/.config/mc</filename> directory and
|
---|
| 169 | its contents are created when you start <command>mc</command> for the
|
---|
| 170 | first time. Then you can edit the main <filename>~/.config/mc/ini
|
---|
| 171 | </filename> configuration file manually or through the <application>
|
---|
| 172 | MC</application> shell. Consult the mc(1) man page for details.
|
---|
| 173 | </para>
|
---|
| 174 |
|
---|
| 175 | <note>
|
---|
| 176 | <para>
|
---|
| 177 | On 8.x versions of <application>mc</application>,
|
---|
| 178 | keybind names used in mc.keymap.* files are changed. This is
|
---|
| 179 | described in <filename>keybind-migration.txt</filename>.
|
---|
| 180 | </para>
|
---|
| 181 | </note>
|
---|
[ab0209e] | 182 |
|
---|
[2571cae1] | 183 | </sect3>
|
---|
| 184 |
|
---|
| 185 | </sect2>
|
---|
| 186 |
|
---|
| 187 | <sect2 role="content">
|
---|
| 188 | <title>Contents</title>
|
---|
| 189 |
|
---|
| 190 | <segmentedlist>
|
---|
| 191 | <segtitle>Installed Programs</segtitle>
|
---|
| 192 | <segtitle>Installed Libraries</segtitle>
|
---|
| 193 | <segtitle>Installed Directories</segtitle>
|
---|
| 194 |
|
---|
| 195 | <seglistitem>
|
---|
[b01e2d2] | 196 | <seg>mc and the symlinks mcdiff, mcedit and mcview</seg>
|
---|
[2571cae1] | 197 | <seg>None</seg>
|
---|
[05ec61e9] | 198 | <seg>/etc/mc and /usr/{libexec,share}/mc</seg>
|
---|
[2571cae1] | 199 | </seglistitem>
|
---|
| 200 | </segmentedlist>
|
---|
| 201 |
|
---|
| 202 | <variablelist>
|
---|
| 203 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 204 | <?dbfo list-presentation="list"?>
|
---|
| 205 | <?dbhtml list-presentation="table"?>
|
---|
| 206 |
|
---|
[3a575ab5] | 207 | <varlistentry id="conssaver">
|
---|
| 208 | <term><command>cons.saver</command></term>
|
---|
| 209 | <listitem>
|
---|
[b1532549] | 210 | <para>
|
---|
| 211 | is used internally by <command>mc</command> for saving and
|
---|
| 212 | restoring the text behind the panels on Linux text console.
|
---|
| 213 | </para>
|
---|
[3a575ab5] | 214 | <indexterm zone="mc conssaver">
|
---|
| 215 | <primary sortas="b-conssaver">cons.saver</primary>
|
---|
| 216 | </indexterm>
|
---|
| 217 | </listitem>
|
---|
| 218 | </varlistentry>
|
---|
| 219 |
|
---|
[2571cae1] | 220 | <varlistentry id="mc-prog">
|
---|
| 221 | <term><command>mc</command></term>
|
---|
| 222 | <listitem>
|
---|
[b1532549] | 223 | <para>
|
---|
| 224 | is a visual shell.
|
---|
| 225 | </para>
|
---|
[2571cae1] | 226 | <indexterm zone="mc mc-prog">
|
---|
| 227 | <primary sortas="b-mc">mc</primary>
|
---|
| 228 | </indexterm>
|
---|
| 229 | </listitem>
|
---|
| 230 | </varlistentry>
|
---|
| 231 |
|
---|
[ee122615] | 232 | <varlistentry id="mcdiff">
|
---|
| 233 | <term><command>mcdiff</command></term>
|
---|
[3a575ab5] | 234 | <listitem>
|
---|
[b1532549] | 235 | <para>
|
---|
| 236 | is an internal visual diff tool.
|
---|
| 237 | </para>
|
---|
[ee122615] | 238 | <indexterm zone="mc mcdiff">
|
---|
| 239 | <primary sortas="b-mcdiff">mcdiff</primary>
|
---|
[3a575ab5] | 240 | </indexterm>
|
---|
| 241 | </listitem>
|
---|
| 242 | </varlistentry>
|
---|
| 243 |
|
---|
[af5248e2] | 244 | <varlistentry id="mcedit">
|
---|
| 245 | <term><command>mcedit</command></term>
|
---|
| 246 | <listitem>
|
---|
[b1532549] | 247 | <para>
|
---|
| 248 | is an internal file editor.
|
---|
| 249 | </para>
|
---|
[af5248e2] | 250 | <indexterm zone="mc mcedit">
|
---|
| 251 | <primary sortas="b-mcedit">mcedit</primary>
|
---|
| 252 | </indexterm>
|
---|
| 253 | </listitem>
|
---|
| 254 | </varlistentry>
|
---|
| 255 |
|
---|
[2571cae1] | 256 | <varlistentry id="mcview">
|
---|
| 257 | <term><command>mcview</command></term>
|
---|
| 258 | <listitem>
|
---|
[b1532549] | 259 | <para>
|
---|
| 260 | is an internal file viewer.
|
---|
| 261 | </para>
|
---|
[2571cae1] | 262 | <indexterm zone="mc mcview">
|
---|
| 263 | <primary sortas="b-mcview">mcview</primary>
|
---|
| 264 | </indexterm>
|
---|
| 265 | </listitem>
|
---|
| 266 | </varlistentry>
|
---|
| 267 |
|
---|
| 268 | </variablelist>
|
---|
| 269 |
|
---|
| 270 | </sect2>
|
---|
[2082ebf6] | 271 |
|
---|
| 272 | </sect1>
|
---|