source: general/sysutils/mc.xml@ 34d1c20

12.0 12.1 ken/TL2024 ken/tuningfonts lazarus plabs/newcss python3.11 rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18
Last change on this file since 34d1c20 was 172c283, checked in by Bruce Dubbs <bdubbs@…>, 10 months ago

Tag all remaining System Utilities

  • Property mode set to 100644
File size: 7.5 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY mc-download-http "http://ftp.midnight-commander.org/mc-&mc-version;.tar.xz">
8 <!ENTITY mc-download-ftp "ftp://ftp.osuosl.org/pub/midnightcommander/mc-&mc-version;.tar.xz">
9 <!ENTITY mc-md5sum "96fcd04710b7848fedea8597da4bd7da">
10 <!ENTITY mc-size "2.3 MB">
11 <!ENTITY mc-buildsize "75 MB (add 86 MB for tests)">
12 <!ENTITY mc-time "0.3 SBU (using parallelism=4; add 0.2 SBU for tests)">
13]>
14
15<sect1 id="mc" xreflabel="MC-&mc-version;">
16 <?dbhtml filename="mc.html"?>
17
18
19 <title>MC-&mc-version;</title>
20
21 <indexterm zone="mc">
22 <primary sortas="a-MC">MC</primary>
23 </indexterm>
24
25 <sect2 role="package">
26 <title>Introduction to MC</title>
27
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>
35
36 &lfs120_checked;
37
38 <bridgehead renderas="sect3">Package Information</bridgehead>
39 <itemizedlist spacing="compact">
40 <listitem>
41 <para>
42 Download (HTTP): <ulink url="&mc-download-http;"/>
43 </para>
44 </listitem>
45 <listitem>
46 <para>
47 Download (FTP): <ulink url="&mc-download-ftp;"/>
48 </para>
49 </listitem>
50 <listitem>
51 <para>
52 Download MD5 sum: &mc-md5sum;
53 </para>
54 </listitem>
55 <listitem>
56 <para>
57 Download size: &mc-size;
58 </para>
59 </listitem>
60 <listitem>
61 <para>
62 Estimated disk space required: &mc-buildsize;
63 </para>
64 </listitem>
65 <listitem>
66 <para>
67 Estimated build time: &mc-time;
68 </para>
69 </listitem>
70 </itemizedlist>
71
72 <bridgehead renderas="sect3">MC Dependencies</bridgehead>
73
74 <bridgehead renderas="sect4">Required</bridgehead>
75 <para role="required">
76 <xref linkend="glib2"/>
77 </para>
78
79 <bridgehead renderas="sect4">Recommended</bridgehead>
80 <para role="recommended">
81 <xref linkend="slang"/>
82 </para>
83
84 <bridgehead renderas="sect4">Optional</bridgehead>
85 <para role="optional">
86 <xref linkend="doxygen"/>,
87 <xref linkend="gpm"/>,
88 <xref linkend="graphviz"/>,
89 <xref linkend="libssh2"/>,
90 <xref linkend="pcre"/>,
91 <xref linkend="pcre2"/>,
92 <xref linkend="ruby"/>,
93 <!--<xref linkend="samba"/>,-->
94 <xref linkend="unzip"/>,
95 <xref linkend="x-window-system"/>, and
96 <xref linkend="zip"/>
97 </para>
98
99 </sect2>
100
101 <sect2 role="installation">
102 <title>Installation of MC</title>
103
104 <para>
105 Install <application>MC</application> by
106 running the following commands:
107 </para>
108
109<screen><userinput>./configure --prefix=/usr \
110 --sysconfdir=/etc \
111 --enable-charset &amp;&amp;
112make</userinput></screen>
113
114 <para>
115 To test the results, issue: <command>make check</command>.
116
117 </para>
118
119 <para>
120 Now, as the <systemitem class="username">root</systemitem> user:
121 </para>
122
123<screen role="root"><userinput>make install</userinput></screen>
124
125 </sect2>
126
127 <sect2 role="commands">
128 <title>Command Explanations</title>
129
130 <para>
131 <parameter>--sysconfdir=/etc</parameter>: This switch places the
132 global configuration directory in <filename
133 class="directory">/etc</filename>.
134 </para>
135
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>
141
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
149 </sect2>
150
151 <sect2 role="configuration">
152 <title>Configuring MC</title>
153
154 <sect3 id="mc-config">
155 <title>Config Files</title>
156
157 <para>
158 <filename>~/.config/mc/*</filename>
159 </para>
160
161 <indexterm zone="mc mc-config">
162 <primary sortas="e-AA.config/.mc/*">~/.config/.mc/*</primary>
163 </indexterm>
164
165 </sect3>
166
167 <sect3>
168 <title>Configuration Information</title>
169
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>
175 MC</application> shell. Consult the mc(1) man page for details.
176 </para>
177
178 </sect3>
179
180 </sect2>
181
182 <sect2 role="content">
183 <title>Contents</title>
184
185 <segmentedlist>
186 <segtitle>Installed Programs</segtitle>
187 <segtitle>Installed Libraries</segtitle>
188 <segtitle>Installed Directories</segtitle>
189
190 <seglistitem>
191 <seg>mc and the symlinks mcdiff, mcedit and mcview</seg>
192 <seg>None</seg>
193 <seg>/etc/mc and /usr/{libexec,share}/mc</seg>
194 </seglistitem>
195 </segmentedlist>
196
197 <variablelist>
198 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
199 <?dbfo list-presentation="list"?>
200 <?dbhtml list-presentation="table"?>
201
202 <!-- This program is installed in /usr/libexec
203 <varlistentry id="conssaver">
204 <term><command>cons.saver</command></term>
205 <listitem>
206 <para>
207 is used internally by <command>mc</command> for saving and
208 restoring the text behind the panels on Linux text console
209 </para>
210 <indexterm zone="mc conssaver">
211 <primary sortas="b-conssaver">cons.saver</primary>
212 </indexterm>
213 </listitem>
214 </varlistentry>
215 -->
216
217 <varlistentry id="mc-prog">
218 <term><command>mc</command></term>
219 <listitem>
220 <para>
221 is a visual shell
222 </para>
223 <indexterm zone="mc mc-prog">
224 <primary sortas="b-mc">mc</primary>
225 </indexterm>
226 </listitem>
227 </varlistentry>
228
229 <varlistentry id="mcdiff">
230 <term><command>mcdiff</command></term>
231 <listitem>
232 <para>
233 is an internal visual diff tool
234 </para>
235 <indexterm zone="mc mcdiff">
236 <primary sortas="b-mcdiff">mcdiff</primary>
237 </indexterm>
238 </listitem>
239 </varlistentry>
240
241 <varlistentry id="mcedit">
242 <term><command>mcedit</command></term>
243 <listitem>
244 <para>
245 is an internal file editor
246 </para>
247 <indexterm zone="mc mcedit">
248 <primary sortas="b-mcedit">mcedit</primary>
249 </indexterm>
250 </listitem>
251 </varlistentry>
252
253 <varlistentry id="mcview">
254 <term><command>mcview</command></term>
255 <listitem>
256 <para>
257 is an internal file viewer
258 </para>
259 <indexterm zone="mc mcview">
260 <primary sortas="b-mcview">mcview</primary>
261 </indexterm>
262 </listitem>
263 </varlistentry>
264
265 </variablelist>
266
267 </sect2>
268
269</sect1>
Note: See TracBrowser for help on using the repository browser.