source: general/sysutils/mc.xml@ 8aeb474

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 8aeb474 was 3e63f22a, checked in by Bruce Dubbs <bdubbs@…>, 12 years ago

Update to mc-4.8.4

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

  • Property mode set to 100644
File size: 7.4 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 "https://www.midnight-commander.org/downloads/mc-&mc-version;.tar.xz">
8 <!ENTITY mc-download-ftp " ">
9 <!ENTITY mc-md5sum "eef6144d9f0331437e9a51adbb77c757">
10 <!ENTITY mc-size "2.0 MB">
11 <!ENTITY mc-buildsize "70 MB">
12 <!ENTITY mc-time "0.5 SBU">
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 &lfs72_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">Optional</bridgehead>
74 <para role="optional">
75 <xref linkend="doxygen"/>,
76 <xref linkend="gpm"/>,
77 <xref linkend="samba3"/>,
78 <xref linkend="slang"/>,
79 <xref linkend="unzip"/>,
80 <xref linkend="x-window-system"/>, and
81 <xref linkend="zip"/>
82 </para>
83
84 <para condition="html" role="usernotes">User Notes:
85 <ulink url="&blfs-wiki;/MC"/></para>
86
87 </sect2>
88
89 <sect2 role="installation">
90 <title>Installation of MC</title>
91
92 <para>Install <application>MC</application> by
93 running the following commands:</para>
94
95<screen><userinput>./configure --prefix=/usr \
96 --enable-charset \
97 --disable-static \
98 --sysconfdir=/etc \
99 --with-screen=ncurses &amp;&amp;
100make</userinput></screen>
101
102 <para>To test the results, issue: <userinput>make check</userinput>.</para>
103
104 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
105
106<screen role="root"><userinput>make install &amp;&amp;
107cp -v doc/keybind-migration.txt /usr/share/mc</userinput></screen>
108
109 </sect2>
110
111 <sect2 role="commands">
112 <title>Command Explanations</title>
113
114 <para><parameter>--enable-charset</parameter>: This option adds support
115 to <command>mcedit</command> for editing files in encodings different
116 from the one implied by the current locale.</para>
117
118 <para><parameter>--sysconfdir=/etc</parameter>: This option places the
119 global configureation directory in <filename
120 class="directory">/etc</filename>.</para>
121
122 <para><parameter>--with-screen=ncurses</parameter>: This option is only
123 required if the optional <xref linkend="slang"/> package is not installed.
124 </para>
125
126 <para><parameter>--with-screen=(slang|ncurses)</parameter>: This
127 parameter selects the screen library used by <application>MC</application>.
128 <xref linkend="slang"/> is the default if found.</para>
129
130 </sect2>
131
132 <sect2 role="configuration">
133 <title>Configuring MC</title>
134
135 <sect3 id="mc-config">
136 <title>Config Files</title>
137
138 <para><filename>~/.config/mc/*</filename></para>
139
140 <indexterm zone="mc mc-config">
141 <primary sortas="e-AA.config/.mc/*">~/.config/.mc/*</primary>
142 </indexterm>
143
144 </sect3>
145
146 <sect3>
147 <title>Configuration Information</title>
148
149 <para>The <filename class="directory">~/.config/mc</filename> directory and
150 its contents are created when you start <command>mc</command> for the
151 first time. Then you can edit the main <filename>~/.config/mc/ini</filename>
152 configuration file manually or through the <application>MC</application>
153 shell. Consult the mc(1) man page for details.</para>
154
155 <note><para> On 8.x versions of <application>mc</application>,
156 keybind names used in mc.keymap.* files are changed. This is
157 described in <filename>keybind-migration.txt</filename>.</para></note>
158
159 </sect3>
160
161 </sect2>
162
163 <sect2 role="content">
164 <title>Contents</title>
165
166 <segmentedlist>
167 <segtitle>Installed Programs</segtitle>
168 <segtitle>Installed Libraries</segtitle>
169 <segtitle>Installed Directories</segtitle>
170
171 <seglistitem>
172 <seg>mc, mcdiff, mcedit, and mcview</seg>
173 <seg>None</seg>
174 <seg>/etc/mc, /usr/libexec/mc, /usr/share/mc, ~/.config/mc</seg>
175 </seglistitem>
176 </segmentedlist>
177
178 <variablelist>
179 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
180 <?dbfo list-presentation="list"?>
181 <?dbhtml list-presentation="table"?>
182
183 <varlistentry id="conssaver">
184 <term><command>cons.saver</command></term>
185 <listitem>
186 <para>is used internally by <command>mc</command> for saving and
187 restoring the text behind the panels on Linux text console.</para>
188 <indexterm zone="mc conssaver">
189 <primary sortas="b-conssaver">cons.saver</primary>
190 </indexterm>
191 </listitem>
192 </varlistentry>
193
194 <varlistentry id="mc-prog">
195 <term><command>mc</command></term>
196 <listitem>
197 <para>is a visual shell.</para>
198 <indexterm zone="mc mc-prog">
199 <primary sortas="b-mc">mc</primary>
200 </indexterm>
201 </listitem>
202 </varlistentry>
203
204 <varlistentry id="mcedit">
205 <term><command>mcedit</command></term>
206 <listitem>
207 <para>is an internal file editor.</para>
208 <indexterm zone="mc mcedit">
209 <primary sortas="b-mcedit">mcedit</primary>
210 </indexterm>
211 </listitem>
212 </varlistentry>
213
214 <varlistentry id="mcdiff">
215 <term><command>mcdiff</command></term>
216 <listitem>
217 <para>is an internal visual diff tool.</para>
218 <indexterm zone="mc mcdiff">
219 <primary sortas="b-mcdiff">mcdiff</primary>
220 </indexterm>
221 </listitem>
222 </varlistentry>
223
224 <varlistentry id="mcview">
225 <term><command>mcview</command></term>
226 <listitem>
227 <para>is an internal file viewer.</para>
228 <indexterm zone="mc mcview">
229 <primary sortas="b-mcview">mcview</primary>
230 </indexterm>
231 </listitem>
232 </varlistentry>
233
234 </variablelist>
235
236 </sect2>
237
238</sect1>
Note: See TracBrowser for help on using the repository browser.