source: general/sysutils/mc.xml@ 14891a90

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 14891a90 was 14891a90, checked in by Xi Ruoyao <xry111@…>, 11 months ago

treewide: More "User Notes" clean up

Remove links to pages w/o real contents.

  • Property mode set to 100644
File size: 7.0 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 </sect2>
98
99 <sect2 role="installation">
100 <title>Installation of MC</title>
101
102 <para>
103 Install <application>MC</application> by
104 running the following commands:
105 </para>
106
107<screen><userinput>./configure --prefix=/usr \
108 --sysconfdir=/etc \
109 --enable-charset &amp;&amp;
110make</userinput></screen>
111
112 <para>
113 To test the results, issue: <command>make check</command>.
114
115 </para>
116
117 <para>
118 Now, as the <systemitem class="username">root</systemitem> user:
119 </para>
120
121<screen role="root"><userinput>make install</userinput></screen>
122
123 </sect2>
124
125 <sect2 role="commands">
126 <title>Command Explanations</title>
127
128 <para>
129 <parameter>--sysconfdir=/etc</parameter>: This switch places the
130 global configuration directory in <filename
131 class="directory">/etc</filename>.
132 </para>
133
134 <para>
135 <parameter>--enable-charset</parameter>: This switch adds support
136 to <command>mcedit</command> for editing files in encodings different
137 from the one implied by the current locale.
138 </para>
139
140 </sect2>
141
142 <sect2 role="configuration">
143 <title>Configuring MC</title>
144
145 <sect3 id="mc-config">
146 <title>Config Files</title>
147
148 <para>
149 <filename>~/.config/mc/*</filename>
150 </para>
151
152 <indexterm zone="mc mc-config">
153 <primary sortas="e-AA.config/.mc/*">~/.config/.mc/*</primary>
154 </indexterm>
155
156 </sect3>
157
158 <sect3>
159 <title>Configuration Information</title>
160
161 <para>
162 The <filename class="directory">~/.config/mc</filename> directory and
163 its contents are created when you start <command>mc</command> for the
164 first time. Then you can edit the main <filename>~/.config/mc/ini
165 </filename> configuration file manually or through the <application>
166 MC</application> shell. Consult the mc(1) man page for details.
167 </para>
168
169 </sect3>
170
171 </sect2>
172
173 <sect2 role="content">
174 <title>Contents</title>
175
176 <segmentedlist>
177 <segtitle>Installed Programs</segtitle>
178 <segtitle>Installed Libraries</segtitle>
179 <segtitle>Installed Directories</segtitle>
180
181 <seglistitem>
182 <seg>mc and the symlinks mcdiff, mcedit and mcview</seg>
183 <seg>None</seg>
184 <seg>/etc/mc and /usr/{libexec,share}/mc</seg>
185 </seglistitem>
186 </segmentedlist>
187
188 <variablelist>
189 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
190 <?dbfo list-presentation="list"?>
191 <?dbhtml list-presentation="table"?>
192
193 <varlistentry id="conssaver">
194 <term><command>cons.saver</command></term>
195 <listitem>
196 <para>
197 is used internally by <command>mc</command> for saving and
198 restoring the text behind the panels on Linux text console
199 </para>
200 <indexterm zone="mc conssaver">
201 <primary sortas="b-conssaver">cons.saver</primary>
202 </indexterm>
203 </listitem>
204 </varlistentry>
205
206 <varlistentry id="mc-prog">
207 <term><command>mc</command></term>
208 <listitem>
209 <para>
210 is a visual shell
211 </para>
212 <indexterm zone="mc mc-prog">
213 <primary sortas="b-mc">mc</primary>
214 </indexterm>
215 </listitem>
216 </varlistentry>
217
218 <varlistentry id="mcdiff">
219 <term><command>mcdiff</command></term>
220 <listitem>
221 <para>
222 is an internal visual diff tool
223 </para>
224 <indexterm zone="mc mcdiff">
225 <primary sortas="b-mcdiff">mcdiff</primary>
226 </indexterm>
227 </listitem>
228 </varlistentry>
229
230 <varlistentry id="mcedit">
231 <term><command>mcedit</command></term>
232 <listitem>
233 <para>
234 is an internal file editor
235 </para>
236 <indexterm zone="mc mcedit">
237 <primary sortas="b-mcedit">mcedit</primary>
238 </indexterm>
239 </listitem>
240 </varlistentry>
241
242 <varlistentry id="mcview">
243 <term><command>mcview</command></term>
244 <listitem>
245 <para>
246 is an internal file viewer
247 </para>
248 <indexterm zone="mc mcview">
249 <primary sortas="b-mcview">mcview</primary>
250 </indexterm>
251 </listitem>
252 </varlistentry>
253
254 </variablelist>
255
256 </sect2>
257
258</sect1>
Note: See TracBrowser for help on using the repository browser.