source: general/sysutils/mc.xml@ ee122615

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 ee122615 was ee122615, checked in by Bruce Dubbs <bdubbs@…>, 12 years ago

Updated to mc-4.8.3

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

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