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@…>, 12 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
RevLine 
[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">
[ca0df6f9]9 <!ENTITY mc-md5sum "7f9339b6b2167a7920ac29e133b9c594">
10 <!ENTITY mc-size "2.3 MB">
[2edd9049]11 <!ENTITY mc-buildsize "67 MB (add 86 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
[acd88fc]36 &lfs113_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">
76 <xref linkend="glib2"/> and
77 <xref linkend="pcre"/>
[ee122615]78 </para>
[2571cae1]79
[2dd3436a]80 <bridgehead renderas="sect4">Recommended</bridgehead>
81 <para role="recommended">
[d2bd92f]82 <xref linkend="slang"/>
[2dd3436a]83 </para>
84
[2571cae1]85 <bridgehead renderas="sect4">Optional</bridgehead>
[ee122615]86 <para role="optional">
[3e63f22a]87 <xref linkend="doxygen"/>,
[ee122615]88 <xref linkend="gpm"/>,
[73fb07ad]89 <xref linkend="libssh2"/>,
90 <xref linkend="ruby"/>,
[45f56ac]91 <xref linkend="samba"/>,
[3e63f22a]92 <xref linkend="unzip"/>,
93 <xref linkend="x-window-system"/>, and
94 <xref linkend="zip"/>
[ee122615]95 </para>
[2571cae1]96
97 </sect2>
98
99 <sect2 role="installation">
100 <title>Installation of MC</title>
101
[b1532549]102 <para>
103 Install <application>MC</application> by
104 running the following commands:
105 </para>
[2571cae1]106
[2dd3436a]107<screen><userinput>./configure --prefix=/usr \
[ab0209e]108 --sysconfdir=/etc \
[2dd3436a]109 --enable-charset &amp;&amp;
[f0801a2d]110make</userinput></screen>
[3a575ab5]111
[b1532549]112 <para>
113 To test the results, issue: <command>make check</command>.
[2edd9049]114
[b1532549]115 </para>
[bccbdaea]116
[b1532549]117 <para>
118 Now, as the <systemitem class="username">root</systemitem> user:
119 </para>
[7f78b6f]120
[f2abc73]121<screen role="root"><userinput>make install</userinput></screen>
[3a575ab5]122
123 </sect2>
124
125 <sect2 role="commands">
126 <title>Command Explanations</title>
[29f80ebc]127
[b1532549]128 <para>
129 <parameter>--sysconfdir=/etc</parameter>: This switch places the
[1711612]130 global configuration directory in <filename
[b1532549]131 class="directory">/etc</filename>.
132 </para>
[ab0209e]133
[b1532549]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>
[57d40736]139
[2571cae1]140 </sect2>
141
142 <sect2 role="configuration">
143 <title>Configuring MC</title>
144
145 <sect3 id="mc-config">
146 <title>Config Files</title>
147
[b1532549]148 <para>
149 <filename>~/.config/mc/*</filename>
150 </para>
[2571cae1]151
152 <indexterm zone="mc mc-config">
[52f9553c]153 <primary sortas="e-AA.config/.mc/*">~/.config/.mc/*</primary>
[2571cae1]154 </indexterm>
155
156 </sect3>
157
158 <sect3>
159 <title>Configuration Information</title>
160
[b1532549]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
[2571cae1]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>
[b01e2d2]182 <seg>mc and the symlinks mcdiff, mcedit and mcview</seg>
[2571cae1]183 <seg>None</seg>
[05ec61e9]184 <seg>/etc/mc and /usr/{libexec,share}/mc</seg>
[2571cae1]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
[3a575ab5]193 <varlistentry id="conssaver">
194 <term><command>cons.saver</command></term>
195 <listitem>
[b1532549]196 <para>
197 is used internally by <command>mc</command> for saving and
[4c24eb0a]198 restoring the text behind the panels on Linux text console
[b1532549]199 </para>
[3a575ab5]200 <indexterm zone="mc conssaver">
201 <primary sortas="b-conssaver">cons.saver</primary>
202 </indexterm>
203 </listitem>
204 </varlistentry>
205
[2571cae1]206 <varlistentry id="mc-prog">
207 <term><command>mc</command></term>
208 <listitem>
[b1532549]209 <para>
[4c24eb0a]210 is a visual shell
[b1532549]211 </para>
[2571cae1]212 <indexterm zone="mc mc-prog">
213 <primary sortas="b-mc">mc</primary>
214 </indexterm>
215 </listitem>
216 </varlistentry>
217
[ee122615]218 <varlistentry id="mcdiff">
219 <term><command>mcdiff</command></term>
[3a575ab5]220 <listitem>
[b1532549]221 <para>
[4c24eb0a]222 is an internal visual diff tool
[b1532549]223 </para>
[ee122615]224 <indexterm zone="mc mcdiff">
225 <primary sortas="b-mcdiff">mcdiff</primary>
[3a575ab5]226 </indexterm>
227 </listitem>
228 </varlistentry>
229
[af5248e2]230 <varlistentry id="mcedit">
231 <term><command>mcedit</command></term>
232 <listitem>
[b1532549]233 <para>
[4c24eb0a]234 is an internal file editor
[b1532549]235 </para>
[af5248e2]236 <indexterm zone="mc mcedit">
237 <primary sortas="b-mcedit">mcedit</primary>
238 </indexterm>
239 </listitem>
240 </varlistentry>
241
[2571cae1]242 <varlistentry id="mcview">
243 <term><command>mcview</command></term>
244 <listitem>
[b1532549]245 <para>
[4c24eb0a]246 is an internal file viewer
[b1532549]247 </para>
[2571cae1]248 <indexterm zone="mc mcview">
249 <primary sortas="b-mcview">mcview</primary>
250 </indexterm>
251 </listitem>
252 </varlistentry>
253
254 </variablelist>
255
256 </sect2>
[2082ebf6]257
258</sect1>
Note: See TracBrowser for help on using the repository browser.