source: general/sysutils/mc.xml@ 73fb07ad

10.1 11.0 ken/refactor-virt lazarus qt5new trunk xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since 73fb07ad was 73fb07ad, checked in by Douglas R. Reno <renodr@…>, 9 months ago

Update to scons-4.1.0
Update to bind (and bind-utils) 9.16.11
Update to pipewire-0.3.20
Update to mc-4.8.26
Update to pango-1.48.1
Update to libmbim-1.24.6
Update to pinentry-1.1.1
Update to icewm-2.1.1

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@24155 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 7.2 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 "3c1f77b71dba1f4eeeedc4276627fed7">
10 <!ENTITY mc-size "2.4 MB">
11 <!ENTITY mc-buildsize "196 MB (with tests)">
12 <!ENTITY mc-time "0.5 SBU (using parallelism=4; with tests)">
13]>
14
15<sect1 id="mc" xreflabel="MC-&mc-version;">
16 <?dbhtml filename="mc.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>MC-&mc-version;</title>
24
25 <indexterm zone="mc">
26 <primary sortas="a-MC">MC</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to MC</title>
31
32 <para>
33 <application>MC</application> (Midnight Commander) is a text-mode
34 full-screen file manager and visual shell. It provides a clear,
35 user-friendly, and somewhat protected interface to a Unix system while
36 making many frequent file operations more efficient and preserving the
37 full power of the command prompt.
38 </para>
39
40 &lfs10_checked;
41
42 <bridgehead renderas="sect3">Package Information</bridgehead>
43 <itemizedlist spacing="compact">
44 <listitem>
45 <para>
46 Download (HTTP): <ulink url="&mc-download-http;"/>
47 </para>
48 </listitem>
49 <listitem>
50 <para>
51 Download (FTP): <ulink url="&mc-download-ftp;"/>
52 </para>
53 </listitem>
54 <listitem>
55 <para>
56 Download MD5 sum: &mc-md5sum;
57 </para>
58 </listitem>
59 <listitem>
60 <para>
61 Download size: &mc-size;
62 </para>
63 </listitem>
64 <listitem>
65 <para>
66 Estimated disk space required: &mc-buildsize;
67 </para>
68 </listitem>
69 <listitem>
70 <para>
71 Estimated build time: &mc-time;
72 </para>
73 </listitem>
74 </itemizedlist>
75
76 <bridgehead renderas="sect3">MC Dependencies</bridgehead>
77
78 <bridgehead renderas="sect4">Required</bridgehead>
79 <para role="required">
80 <xref linkend="glib2"/> and
81 <xref linkend="pcre"/>
82 </para>
83
84 <bridgehead renderas="sect4">Recommended</bridgehead>
85 <para role="recommended">
86 <xref linkend="slang"/>
87 </para>
88
89 <bridgehead renderas="sect4">Optional</bridgehead>
90 <para role="optional">
91 <xref linkend="doxygen"/>,
92 <xref linkend="gpm"/>,
93 <xref linkend="libssh2"/>,
94 <xref linkend="ruby"/>,
95 <xref linkend="samba"/>,
96 <xref linkend="unzip"/>,
97 <xref linkend="x-window-system"/>, and
98 <xref linkend="zip"/>
99 </para>
100
101 <para condition="html" role="usernotes">User Notes:
102 <ulink url="&blfs-wiki;/MC"/></para>
103
104 </sect2>
105
106 <sect2 role="installation">
107 <title>Installation of MC</title>
108
109 <para>
110 Install <application>MC</application> by
111 running the following commands:
112 </para>
113
114<screen><userinput>./configure --prefix=/usr \
115 --sysconfdir=/etc \
116 --enable-charset &amp;&amp;
117make</userinput></screen>
118
119 <para>
120 To test the results, issue: <command>make check</command>.
121 One test concerning rpm files fails.
122 </para>
123
124 <para>
125 Now, as the <systemitem class="username">root</systemitem> user:
126 </para>
127
128<screen role="root"><userinput>make install</userinput></screen>
129
130 </sect2>
131
132 <sect2 role="commands">
133 <title>Command Explanations</title>
134
135 <para>
136 <parameter>--sysconfdir=/etc</parameter>: This switch places the
137 global configureation directory in <filename
138 class="directory">/etc</filename>.
139 </para>
140
141 <para>
142 <parameter>--enable-charset</parameter>: This switch adds support
143 to <command>mcedit</command> for editing files in encodings different
144 from the one implied by the current locale.
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 mc(1) man page for details.
174 </para>
175
176 </sect3>
177
178 </sect2>
179
180 <sect2 role="content">
181 <title>Contents</title>
182
183 <segmentedlist>
184 <segtitle>Installed Programs</segtitle>
185 <segtitle>Installed Libraries</segtitle>
186 <segtitle>Installed Directories</segtitle>
187
188 <seglistitem>
189 <seg>mc and the symlinks mcdiff, mcedit and mcview</seg>
190 <seg>None</seg>
191 <seg>/etc/mc and /usr/{libexec,share}/mc</seg>
192 </seglistitem>
193 </segmentedlist>
194
195 <variablelist>
196 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
197 <?dbfo list-presentation="list"?>
198 <?dbhtml list-presentation="table"?>
199
200 <varlistentry id="conssaver">
201 <term><command>cons.saver</command></term>
202 <listitem>
203 <para>
204 is used internally by <command>mc</command> for saving and
205 restoring the text behind the panels on Linux text console.
206 </para>
207 <indexterm zone="mc conssaver">
208 <primary sortas="b-conssaver">cons.saver</primary>
209 </indexterm>
210 </listitem>
211 </varlistentry>
212
213 <varlistentry id="mc-prog">
214 <term><command>mc</command></term>
215 <listitem>
216 <para>
217 is a visual shell.
218 </para>
219 <indexterm zone="mc mc-prog">
220 <primary sortas="b-mc">mc</primary>
221 </indexterm>
222 </listitem>
223 </varlistentry>
224
225 <varlistentry id="mcdiff">
226 <term><command>mcdiff</command></term>
227 <listitem>
228 <para>
229 is an internal visual diff tool.
230 </para>
231 <indexterm zone="mc mcdiff">
232 <primary sortas="b-mcdiff">mcdiff</primary>
233 </indexterm>
234 </listitem>
235 </varlistentry>
236
237 <varlistentry id="mcedit">
238 <term><command>mcedit</command></term>
239 <listitem>
240 <para>
241 is an internal file editor.
242 </para>
243 <indexterm zone="mc mcedit">
244 <primary sortas="b-mcedit">mcedit</primary>
245 </indexterm>
246 </listitem>
247 </varlistentry>
248
249 <varlistentry id="mcview">
250 <term><command>mcview</command></term>
251 <listitem>
252 <para>
253 is an internal file viewer.
254 </para>
255 <indexterm zone="mc mcview">
256 <primary sortas="b-mcview">mcview</primary>
257 </indexterm>
258 </listitem>
259 </varlistentry>
260
261 </variablelist>
262
263 </sect2>
264
265</sect1>
Note: See TracBrowser for help on using the repository browser.