source: general/sysutils/mc.xml

trunk
Last change on this file was abfacaf, checked in by Xi Ruoyao <xry111@…>, 7 weeks ago

Remove most references to PCRE1

Some notes:

  • proftpd has been supporting PCRE2 since 1.3.8a.
  • bluefish actually invokes PCRE via Glib, so since Glib was ported from PCRE1 to PCRE2 bluefish has been using PCRE2 in fact.
  • zsh and rasqal will support PCRE2 in the next release. For zsh pcre is not used with book instruction anyway, and for rasqal the maintainer suggests just relying on Glibc regex.h before the next release.
  • The other distros (Fedora for eg) are already disabling PCRE for slang.
  • Property mode set to 100644
File size: 7.3 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
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 " ">
9 <!ENTITY mc-md5sum "2c3dd9af66e4cfef5a7a460df1cdf868">
10 <!ENTITY mc-size "2.3 MB">
11 <!ENTITY mc-buildsize "71 MB (add 96 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 &lfs121_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="pcre2"/>,
91 <xref linkend="ruby"/>,
92 <!--<xref linkend="samba"/>,-->
93 <xref linkend="unzip"/>,
94 <xref linkend="x-window-system"/>, and
95 <xref linkend="zip"/>
96 </para>
97
98 </sect2>
99
100 <sect2 role="installation">
101 <title>Installation of MC</title>
102
103 <para>
104 Install <application>MC</application> by
105 running the following commands:
106 </para>
107
108<screen><userinput>./configure --prefix=/usr \
109 --sysconfdir=/etc \
110 --enable-charset &amp;&amp;
111make</userinput></screen>
112
113 <para>
114 To test the results, issue: <command>make check</command>.
115
116 </para>
117
118 <para>
119 Now, as the <systemitem class="username">root</systemitem> user:
120 </para>
121
122<screen role="root"><userinput>make install</userinput></screen>
123
124 </sect2>
125
126 <sect2 role="commands">
127 <title>Command Explanations</title>
128
129 <para>
130 <parameter>--sysconfdir=/etc</parameter>: This switch places the
131 global configuration directory in <filename
132 class="directory">/etc</filename>.
133 </para>
134
135 <para>
136 <parameter>--enable-charset</parameter>: This switch adds support
137 to <command>mcedit</command> for editing files in encodings different
138 from the one implied by the current locale.
139 </para>
140
141 <para>
142 <option>--with-search-engine=pcre2</option>: Use this switch if you would
143 prefer to use <xref linkend="pcre2" role="nodep"/> instead of GLib for
144 the built-in search engine.
145 </para>
146
147 </sect2>
148
149 <sect2 role="configuration">
150 <title>Configuring MC</title>
151
152 <sect3 id="mc-config">
153 <title>Config Files</title>
154
155 <para>
156 <filename>~/.config/mc/*</filename>
157 </para>
158
159 <indexterm zone="mc mc-config">
160 <primary sortas="e-AA.config/.mc/*">~/.config/.mc/*</primary>
161 </indexterm>
162
163 </sect3>
164
165 <sect3>
166 <title>Configuration Information</title>
167
168 <para>
169 The <filename class="directory">~/.config/mc</filename> directory and
170 its contents are created when you start <command>mc</command> for the
171 first time. Then you can edit the main <filename>~/.config/mc/ini
172 </filename> configuration file manually or through the <application>
173 MC</application> shell. Consult the <ulink role='man'
174 url='&man;mc.1'>mc(1)</ulink> man page for details.
175 </para>
176
177 </sect3>
178
179 </sect2>
180
181 <sect2 role="content">
182 <title>Contents</title>
183
184 <segmentedlist>
185 <segtitle>Installed Programs</segtitle>
186 <segtitle>Installed Libraries</segtitle>
187 <segtitle>Installed Directories</segtitle>
188
189 <seglistitem>
190 <seg>mc and the symlinks mcdiff, mcedit and mcview</seg>
191 <seg>None</seg>
192 <seg>/etc/mc and /usr/{libexec,share}/mc</seg>
193 </seglistitem>
194 </segmentedlist>
195
196 <variablelist>
197 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
198 <?dbfo list-presentation="list"?>
199 <?dbhtml list-presentation="table"?>
200
201 <!-- This program is installed in /usr/libexec
202 <varlistentry id="conssaver">
203 <term><command>cons.saver</command></term>
204 <listitem>
205 <para>
206 is used internally by <command>mc</command> for saving and
207 restoring the text behind the panels on Linux text console
208 </para>
209 <indexterm zone="mc conssaver">
210 <primary sortas="b-conssaver">cons.saver</primary>
211 </indexterm>
212 </listitem>
213 </varlistentry>
214 -->
215
216 <varlistentry id="mc-prog">
217 <term><command>mc</command></term>
218 <listitem>
219 <para>
220 is a visual shell
221 </para>
222 <indexterm zone="mc mc-prog">
223 <primary sortas="b-mc">mc</primary>
224 </indexterm>
225 </listitem>
226 </varlistentry>
227
228 <varlistentry id="mcdiff">
229 <term><command>mcdiff</command></term>
230 <listitem>
231 <para>
232 is an internal visual diff tool
233 </para>
234 <indexterm zone="mc mcdiff">
235 <primary sortas="b-mcdiff">mcdiff</primary>
236 </indexterm>
237 </listitem>
238 </varlistentry>
239
240 <varlistentry id="mcedit">
241 <term><command>mcedit</command></term>
242 <listitem>
243 <para>
244 is an internal file editor
245 </para>
246 <indexterm zone="mc mcedit">
247 <primary sortas="b-mcedit">mcedit</primary>
248 </indexterm>
249 </listitem>
250 </varlistentry>
251
252 <varlistentry id="mcview">
253 <term><command>mcview</command></term>
254 <listitem>
255 <para>
256 is an internal file viewer
257 </para>
258 <indexterm zone="mc mcview">
259 <primary sortas="b-mcview">mcview</primary>
260 </indexterm>
261 </listitem>
262 </varlistentry>
263
264 </variablelist>
265
266 </sect2>
267
268</sect1>
Note: See TracBrowser for help on using the repository browser.