source: general/sysutils/mc.xml@ 56fe3c1

12.1 ken/TL2024 lazarus rahul/power-profiles-daemon trunk xry111/llvm18
Last change on this file since 56fe3c1 was 83f3feb, checked in by Bruce Dubbs <bdubbs@…>, 5 months ago

Update to mc-4.8.31.

  • Property mode set to 100644
File size: 7.4 KB
RevLine 
[ab4fdfc]1<?xml version="1.0" encoding="UTF-8"?>
[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">
[e1e58be]8 <!ENTITY mc-download-ftp " ">
[83f3feb]9 <!ENTITY mc-md5sum "2c3dd9af66e4cfef5a7a460df1cdf868">
[ca0df6f9]10 <!ENTITY mc-size "2.3 MB">
[83f3feb]11 <!ENTITY mc-buildsize "71 MB (add 96 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
[172c283]36 &lfs120_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">
[7170b0a7]76 <xref linkend="glib2"/>
[ee122615]77 </para>
[2571cae1]78
[2dd3436a]79 <bridgehead renderas="sect4">Recommended</bridgehead>
80 <para role="recommended">
[d2bd92f]81 <xref linkend="slang"/>
[2dd3436a]82 </para>
83
[2571cae1]84 <bridgehead renderas="sect4">Optional</bridgehead>
[ee122615]85 <para role="optional">
[3e63f22a]86 <xref linkend="doxygen"/>,
[ee122615]87 <xref linkend="gpm"/>,
[7170b0a7]88 <xref linkend="graphviz"/>,
[73fb07ad]89 <xref linkend="libssh2"/>,
[7170b0a7]90 <xref linkend="pcre"/>,
91 <xref linkend="pcre2"/>,
[73fb07ad]92 <xref linkend="ruby"/>,
[7170b0a7]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
99 </sect2>
100
101 <sect2 role="installation">
102 <title>Installation of MC</title>
103
[b1532549]104 <para>
105 Install <application>MC</application> by
106 running the following commands:
107 </para>
[2571cae1]108
[2dd3436a]109<screen><userinput>./configure --prefix=/usr \
[ab0209e]110 --sysconfdir=/etc \
[2dd3436a]111 --enable-charset &amp;&amp;
[f0801a2d]112make</userinput></screen>
[3a575ab5]113
[b1532549]114 <para>
115 To test the results, issue: <command>make check</command>.
[2edd9049]116
[b1532549]117 </para>
[bccbdaea]118
[b1532549]119 <para>
120 Now, as the <systemitem class="username">root</systemitem> user:
121 </para>
[7f78b6f]122
[f2abc73]123<screen role="root"><userinput>make install</userinput></screen>
[3a575ab5]124
125 </sect2>
126
127 <sect2 role="commands">
128 <title>Command Explanations</title>
[29f80ebc]129
[b1532549]130 <para>
131 <parameter>--sysconfdir=/etc</parameter>: This switch places the
[1711612]132 global configuration directory in <filename
[b1532549]133 class="directory">/etc</filename>.
134 </para>
[ab0209e]135
[b1532549]136 <para>
137 <parameter>--enable-charset</parameter>: This switch adds support
138 to <command>mcedit</command> for editing files in encodings different
139 from the one implied by the current locale.
140 </para>
[57d40736]141
[7170b0a7]142 <para>
143 <option>--with-search-engine=pcre2</option>: Use this switch if you would
144 prefer to use <xref linkend="pcre2" role="nodep"/> instead of GLib for
145 the built-in search engine. Alternatively, you can pass 'pcre' instead of
146 'pcre2' if you prefer to use <xref linkend="pcre" role="nodep"/>.
147 </para>
148
[2571cae1]149 </sect2>
150
151 <sect2 role="configuration">
152 <title>Configuring MC</title>
153
154 <sect3 id="mc-config">
155 <title>Config Files</title>
156
[b1532549]157 <para>
158 <filename>~/.config/mc/*</filename>
159 </para>
[2571cae1]160
161 <indexterm zone="mc mc-config">
[52f9553c]162 <primary sortas="e-AA.config/.mc/*">~/.config/.mc/*</primary>
[2571cae1]163 </indexterm>
164
165 </sect3>
166
167 <sect3>
168 <title>Configuration Information</title>
169
[b1532549]170 <para>
171 The <filename class="directory">~/.config/mc</filename> directory and
172 its contents are created when you start <command>mc</command> for the
173 first time. Then you can edit the main <filename>~/.config/mc/ini
174 </filename> configuration file manually or through the <application>
[23b54336]175 MC</application> shell. Consult the <ulink role='man'
176 url='&man;mc.1'>mc(1)</ulink> man page for details.
[b1532549]177 </para>
178
[2571cae1]179 </sect3>
180
181 </sect2>
182
183 <sect2 role="content">
184 <title>Contents</title>
185
186 <segmentedlist>
187 <segtitle>Installed Programs</segtitle>
188 <segtitle>Installed Libraries</segtitle>
189 <segtitle>Installed Directories</segtitle>
190
191 <seglistitem>
[b01e2d2]192 <seg>mc and the symlinks mcdiff, mcedit and mcview</seg>
[2571cae1]193 <seg>None</seg>
[05ec61e9]194 <seg>/etc/mc and /usr/{libexec,share}/mc</seg>
[2571cae1]195 </seglistitem>
196 </segmentedlist>
197
198 <variablelist>
199 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
200 <?dbfo list-presentation="list"?>
201 <?dbhtml list-presentation="table"?>
202
[7170b0a7]203 <!-- This program is installed in /usr/libexec
[3a575ab5]204 <varlistentry id="conssaver">
205 <term><command>cons.saver</command></term>
206 <listitem>
[b1532549]207 <para>
208 is used internally by <command>mc</command> for saving and
[4c24eb0a]209 restoring the text behind the panels on Linux text console
[b1532549]210 </para>
[3a575ab5]211 <indexterm zone="mc conssaver">
212 <primary sortas="b-conssaver">cons.saver</primary>
213 </indexterm>
214 </listitem>
215 </varlistentry>
[7170b0a7]216 -->
[3a575ab5]217
[2571cae1]218 <varlistentry id="mc-prog">
219 <term><command>mc</command></term>
220 <listitem>
[b1532549]221 <para>
[4c24eb0a]222 is a visual shell
[b1532549]223 </para>
[2571cae1]224 <indexterm zone="mc mc-prog">
225 <primary sortas="b-mc">mc</primary>
226 </indexterm>
227 </listitem>
228 </varlistentry>
229
[ee122615]230 <varlistentry id="mcdiff">
231 <term><command>mcdiff</command></term>
[3a575ab5]232 <listitem>
[b1532549]233 <para>
[4c24eb0a]234 is an internal visual diff tool
[b1532549]235 </para>
[ee122615]236 <indexterm zone="mc mcdiff">
237 <primary sortas="b-mcdiff">mcdiff</primary>
[3a575ab5]238 </indexterm>
239 </listitem>
240 </varlistentry>
241
[af5248e2]242 <varlistentry id="mcedit">
243 <term><command>mcedit</command></term>
244 <listitem>
[b1532549]245 <para>
[4c24eb0a]246 is an internal file editor
[b1532549]247 </para>
[af5248e2]248 <indexterm zone="mc mcedit">
249 <primary sortas="b-mcedit">mcedit</primary>
250 </indexterm>
251 </listitem>
252 </varlistentry>
253
[2571cae1]254 <varlistentry id="mcview">
255 <term><command>mcview</command></term>
256 <listitem>
[b1532549]257 <para>
[4c24eb0a]258 is an internal file viewer
[b1532549]259 </para>
[2571cae1]260 <indexterm zone="mc mcview">
261 <primary sortas="b-mcview">mcview</primary>
262 </indexterm>
263 </listitem>
264 </varlistentry>
265
266 </variablelist>
267
268 </sect2>
[2082ebf6]269
270</sect1>
Note: See TracBrowser for help on using the repository browser.