source: general/sysutils/mc.xml@ bd78fad2

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt perl-modules 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 bd78fad2 was bd78fad2, checked in by Bruce Dubbs <bdubbs@…>, 6 years ago

Update to mc-4.8.20.
Update to nghttp2-1.28.0.

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

  • Property mode set to 100644
File size: 7.5 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 "7f808b01f3f7d9aa52152a9efb86dbca">
10 <!ENTITY mc-size "2.4 MB">
11 <!ENTITY mc-buildsize "180 MB (with tests)">
12 <!ENTITY mc-time "0.6 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><application>MC</application> (Midnight Commander) is a text-mode
33 full-screen file manager and visual shell. It provides a clear,
34 user-friendly, and somewhat protected interface to a Unix system while
35 making many frequent file operations more efficient and preserving the
36 full power of the command prompt.</para>
37
38 &lfs81_checked;
39
40 <!--<note><para>The download site uses a self-signed security certificate.
41 You will need to accept it as valid to get the source code.</para></note>-->
42
43 <bridgehead renderas="sect3">Package Information</bridgehead>
44 <itemizedlist spacing="compact">
45 <listitem>
46 <para>Download (HTTP): <ulink url="&mc-download-http;"/></para>
47 </listitem>
48 <listitem>
49 <para>Download (FTP): <ulink url="&mc-download-ftp;"/></para>
50 </listitem>
51 <listitem>
52 <para>Download MD5 sum: &mc-md5sum;</para>
53 </listitem>
54 <listitem>
55 <para>Download size: &mc-size;</para>
56 </listitem>
57 <listitem>
58 <para>Estimated disk space required: &mc-buildsize;</para>
59 </listitem>
60 <listitem>
61 <para>Estimated build time: &mc-time;</para>
62 </listitem>
63 </itemizedlist>
64
65 <bridgehead renderas="sect3">MC Dependencies</bridgehead>
66
67 <bridgehead renderas="sect4">Required</bridgehead>
68 <para role="required">
69 <xref linkend="glib2"/> and
70 <xref linkend="pcre"/>
71 </para>
72
73 <bridgehead renderas="sect4">Recommended</bridgehead>
74 <para role="recommended">
75 <xref linkend="slang"/>
76 </para>
77
78 <bridgehead renderas="sect4">Optional</bridgehead>
79 <para role="optional">
80 <xref linkend="check"/> (for tests),
81 <xref linkend="doxygen"/>,
82 <xref linkend="gpm"/>,
83 <xref linkend="samba"/>,
84 <xref linkend="unzip"/>,
85 <xref linkend="x-window-system"/>, and
86 <xref linkend="zip"/>
87 </para>
88
89 <para condition="html" role="usernotes">User Notes:
90 <ulink url="&blfs-wiki;/MC"/></para>
91
92 </sect2>
93
94 <sect2 role="installation">
95 <title>Installation of MC</title>
96
97 <para>Install <application>MC</application> by
98 running the following commands:</para>
99
100<screen><userinput>./configure --prefix=/usr \
101 --sysconfdir=/etc \
102 --enable-charset &amp;&amp;
103make</userinput></screen>
104
105 <para>To test the results, issue: <command>make check</command>.
106 One test concerning rpm files fails.</para>
107
108 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
109
110<screen role="root"><userinput>make install &amp;&amp;
111cp -v doc/keybind-migration.txt /usr/share/mc</userinput></screen>
112
113 </sect2>
114
115 <sect2 role="commands">
116 <title>Command Explanations</title>
117
118 <para><parameter>--sysconfdir=/etc</parameter>: This switch places the
119 global configureation directory in <filename
120 class="directory">/etc</filename>.</para>
121
122 <para><parameter>--enable-charset</parameter>: This switch adds support
123 to <command>mcedit</command> for editing files in encodings different
124 from the one implied by the current locale.</para>
125<!-- currently broken
126 <para><parameter>- -with-screen=ncurses</parameter>: This switch
127 selects the screen library used by <application>MC</application>. It is only
128 required if the optional <xref linkend="slang"/> package is not installed
129 which is the default if found.</para>
130-->
131 </sect2>
132
133 <sect2 role="configuration">
134 <title>Configuring MC</title>
135
136 <sect3 id="mc-config">
137 <title>Config Files</title>
138
139 <para><filename>~/.config/mc/*</filename></para>
140
141 <indexterm zone="mc mc-config">
142 <primary sortas="e-AA.config/.mc/*">~/.config/.mc/*</primary>
143 </indexterm>
144
145 </sect3>
146
147 <sect3>
148 <title>Configuration Information</title>
149
150 <para>The <filename class="directory">~/.config/mc</filename> directory and
151 its contents are created when you start <command>mc</command> for the
152 first time. Then you can edit the main <filename>~/.config/mc/ini</filename>
153 configuration file manually or through the <application>MC</application>
154 shell. Consult the mc(1) man page for details.</para>
155
156 <note><para> On 8.x versions of <application>mc</application>,
157 keybind names used in mc.keymap.* files are changed. This is
158 described in <filename>keybind-migration.txt</filename>.</para></note>
159
160 </sect3>
161
162 </sect2>
163
164 <sect2 role="content">
165 <title>Contents</title>
166
167 <segmentedlist>
168 <segtitle>Installed Programs</segtitle>
169 <segtitle>Installed Libraries</segtitle>
170 <segtitle>Installed Directories</segtitle>
171
172 <seglistitem>
173 <seg>mc and the symlinks mcdiff, mcedit and mcview</seg>
174 <seg>None</seg>
175 <seg>/etc/mc and /usr/{libexec,share}/mc</seg>
176 </seglistitem>
177 </segmentedlist>
178
179 <variablelist>
180 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
181 <?dbfo list-presentation="list"?>
182 <?dbhtml list-presentation="table"?>
183
184 <varlistentry id="conssaver">
185 <term><command>cons.saver</command></term>
186 <listitem>
187 <para>is used internally by <command>mc</command> for saving and
188 restoring the text behind the panels on Linux text console.</para>
189 <indexterm zone="mc conssaver">
190 <primary sortas="b-conssaver">cons.saver</primary>
191 </indexterm>
192 </listitem>
193 </varlistentry>
194
195 <varlistentry id="mc-prog">
196 <term><command>mc</command></term>
197 <listitem>
198 <para>is a visual shell.</para>
199 <indexterm zone="mc mc-prog">
200 <primary sortas="b-mc">mc</primary>
201 </indexterm>
202 </listitem>
203 </varlistentry>
204
205 <varlistentry id="mcdiff">
206 <term><command>mcdiff</command></term>
207 <listitem>
208 <para>is an internal visual diff tool.</para>
209 <indexterm zone="mc mcdiff">
210 <primary sortas="b-mcdiff">mcdiff</primary>
211 </indexterm>
212 </listitem>
213 </varlistentry>
214
215 <varlistentry id="mcedit">
216 <term><command>mcedit</command></term>
217 <listitem>
218 <para>is an internal file editor.</para>
219 <indexterm zone="mc mcedit">
220 <primary sortas="b-mcedit">mcedit</primary>
221 </indexterm>
222 </listitem>
223 </varlistentry>
224
225 <varlistentry id="mcview">
226 <term><command>mcview</command></term>
227 <listitem>
228 <para>is an internal file viewer.</para>
229 <indexterm zone="mc mcview">
230 <primary sortas="b-mcview">mcview</primary>
231 </indexterm>
232 </listitem>
233 </varlistentry>
234
235 </variablelist>
236
237 </sect2>
238
239</sect1>
Note: See TracBrowser for help on using the repository browser.