source: general/sysutils/mc.xml@ ee369e0

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since ee369e0 was ff0b3aa8, checked in by Bruce Dubbs <bdubbs@…>, 4 years ago

Tags

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