source: general/sysutils/mc.xml@ 6b86812e

12.0 12.1 kea ken/TL2024 ken/tuningfonts lazarus lxqt plabs/newcss python3.11 rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18 xry111/xf86-video-removal
Last change on this file since 6b86812e was acd88fc, checked in by Bruce Dubbs <bdubbs@…>, 16 months ago

Tags and move 2 unneeded files

  • Property mode set to 100644
File size: 7.1 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 "7f9339b6b2167a7920ac29e133b9c594">
10 <!ENTITY mc-size "2.3 MB">
11 <!ENTITY mc-buildsize "67 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 &lfs113_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"/> and
77 <xref linkend="pcre"/>
78 </para>
79
80 <bridgehead renderas="sect4">Recommended</bridgehead>
81 <para role="recommended">
82 <xref linkend="slang"/>
83 </para>
84
85 <bridgehead renderas="sect4">Optional</bridgehead>
86 <para role="optional">
87 <xref linkend="doxygen"/>,
88 <xref linkend="gpm"/>,
89 <xref linkend="libssh2"/>,
90 <xref linkend="ruby"/>,
91 <xref linkend="samba"/>,
92 <xref linkend="unzip"/>,
93 <xref linkend="x-window-system"/>, and
94 <xref linkend="zip"/>
95 </para>
96
97 <para condition="html" role="usernotes">User Notes:
98 <ulink url="&blfs-wiki;/MC"/></para>
99
100 </sect2>
101
102 <sect2 role="installation">
103 <title>Installation of MC</title>
104
105 <para>
106 Install <application>MC</application> by
107 running the following commands:
108 </para>
109
110<screen><userinput>./configure --prefix=/usr \
111 --sysconfdir=/etc \
112 --enable-charset &amp;&amp;
113make</userinput></screen>
114
115 <para>
116 To test the results, issue: <command>make check</command>.
117
118 </para>
119
120 <para>
121 Now, as the <systemitem class="username">root</systemitem> user:
122 </para>
123
124<screen role="root"><userinput>make install</userinput></screen>
125
126 </sect2>
127
128 <sect2 role="commands">
129 <title>Command Explanations</title>
130
131 <para>
132 <parameter>--sysconfdir=/etc</parameter>: This switch places the
133 global configuration directory in <filename
134 class="directory">/etc</filename>.
135 </para>
136
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>
142
143 </sect2>
144
145 <sect2 role="configuration">
146 <title>Configuring MC</title>
147
148 <sect3 id="mc-config">
149 <title>Config Files</title>
150
151 <para>
152 <filename>~/.config/mc/*</filename>
153 </para>
154
155 <indexterm zone="mc mc-config">
156 <primary sortas="e-AA.config/.mc/*">~/.config/.mc/*</primary>
157 </indexterm>
158
159 </sect3>
160
161 <sect3>
162 <title>Configuration Information</title>
163
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
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>
185 <seg>mc and the symlinks mcdiff, mcedit and mcview</seg>
186 <seg>None</seg>
187 <seg>/etc/mc and /usr/{libexec,share}/mc</seg>
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
196 <varlistentry id="conssaver">
197 <term><command>cons.saver</command></term>
198 <listitem>
199 <para>
200 is used internally by <command>mc</command> for saving and
201 restoring the text behind the panels on Linux text console
202 </para>
203 <indexterm zone="mc conssaver">
204 <primary sortas="b-conssaver">cons.saver</primary>
205 </indexterm>
206 </listitem>
207 </varlistentry>
208
209 <varlistentry id="mc-prog">
210 <term><command>mc</command></term>
211 <listitem>
212 <para>
213 is a visual shell
214 </para>
215 <indexterm zone="mc mc-prog">
216 <primary sortas="b-mc">mc</primary>
217 </indexterm>
218 </listitem>
219 </varlistentry>
220
221 <varlistentry id="mcdiff">
222 <term><command>mcdiff</command></term>
223 <listitem>
224 <para>
225 is an internal visual diff tool
226 </para>
227 <indexterm zone="mc mcdiff">
228 <primary sortas="b-mcdiff">mcdiff</primary>
229 </indexterm>
230 </listitem>
231 </varlistentry>
232
233 <varlistentry id="mcedit">
234 <term><command>mcedit</command></term>
235 <listitem>
236 <para>
237 is an internal file editor
238 </para>
239 <indexterm zone="mc mcedit">
240 <primary sortas="b-mcedit">mcedit</primary>
241 </indexterm>
242 </listitem>
243 </varlistentry>
244
245 <varlistentry id="mcview">
246 <term><command>mcview</command></term>
247 <listitem>
248 <para>
249 is an internal file viewer
250 </para>
251 <indexterm zone="mc mcview">
252 <primary sortas="b-mcview">mcview</primary>
253 </indexterm>
254 </listitem>
255 </varlistentry>
256
257 </variablelist>
258
259 </sect2>
260
261</sect1>
Note: See TracBrowser for help on using the repository browser.