source: general/sysutils/mc.xml@ 99bc211

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 8.0 8.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 nosym 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 99bc211 was 99bc211, checked in by Bruce Dubbs <bdubbs@…>, 8 years ago

Update to gedit-3.20.2.
Update to mc-4.8.17.
Update to smartmontools-6.5.
Update to samba-4.4.3.
Update to List-AllUtils-0.10.

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

  • Property mode set to 100644
File size: 7.5 KB
RevLine 
[52d29f7]1<?xml version="1.0" encoding="ISO-8859-1"?>
[6732c094]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[52d29f7]4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
[2dd3436a]7 <!ENTITY mc-download-http "http://ftp.midnight-commander.org/mc-&mc-version;.tar.xz">
[4ad93b6]8 <!ENTITY mc-download-ftp "ftp://ftp.osuosl.org/pub/midnightcommander/mc-&mc-version;.tar.xz">
[99bc211]9 <!ENTITY mc-md5sum "0b3965f3267a76d895ce8ab90df2402b">
[3b4224f]10 <!ENTITY mc-size "2.3 MB">
[99bc211]11 <!ENTITY mc-buildsize "198 MB (with tests)">
[3b4224f]12 <!ENTITY mc-time "1.1 SBU (with tests)">
[52d29f7]13]>
14
[880c568]15<sect1 id="mc" xreflabel="MC-&mc-version;">
[2571cae1]16 <?dbhtml filename="mc.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
[880c568]23 <title>MC-&mc-version;</title>
[2571cae1]24
25 <indexterm zone="mc">
[880c568]26 <primary sortas="a-MC">MC</primary>
[2571cae1]27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to MC</title>
31
[539ace5]32 <para><application>MC</application> (Midnight Commander) is a text-mode
[3cd5c69]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
[e577f07]38 &lfs79_checked;
[99bc211]39 &gcc6_checked;
[ee122615]40
[4ad93b6]41 <!--<note><para>The download site uses a self-signed security certificate.
42 You will need to accept it as valid to get the source code.</para></note>-->
[ee122615]43
[2571cae1]44 <bridgehead renderas="sect3">Package Information</bridgehead>
45 <itemizedlist spacing="compact">
46 <listitem>
47 <para>Download (HTTP): <ulink url="&mc-download-http;"/></para>
48 </listitem>
49 <listitem>
50 <para>Download (FTP): <ulink url="&mc-download-ftp;"/></para>
51 </listitem>
52 <listitem>
53 <para>Download MD5 sum: &mc-md5sum;</para>
54 </listitem>
55 <listitem>
56 <para>Download size: &mc-size;</para>
57 </listitem>
58 <listitem>
59 <para>Estimated disk space required: &mc-buildsize;</para>
60 </listitem>
61 <listitem>
62 <para>Estimated build time: &mc-time;</para>
63 </listitem>
64 </itemizedlist>
65
66 <bridgehead renderas="sect3">MC Dependencies</bridgehead>
67
68 <bridgehead renderas="sect4">Required</bridgehead>
[476618b]69 <para role="required">
70 <xref linkend="glib2"/> and
71 <xref linkend="pcre"/>
[ee122615]72 </para>
[2571cae1]73
[2dd3436a]74 <bridgehead renderas="sect4">Recommended</bridgehead>
75 <para role="recommended">
[d2bd92f]76 <xref linkend="slang"/>
[2dd3436a]77 </para>
78
[2571cae1]79 <bridgehead renderas="sect4">Optional</bridgehead>
[ee122615]80 <para role="optional">
[3e63f22a]81 <xref linkend="doxygen"/>,
[ee122615]82 <xref linkend="gpm"/>,
[45f56ac]83 <xref linkend="samba"/>,
[3e63f22a]84 <xref linkend="unzip"/>,
85 <xref linkend="x-window-system"/>, and
86 <xref linkend="zip"/>
[ee122615]87 </para>
[2571cae1]88
[1039de3]89 <para condition="html" role="usernotes">User Notes:
[6c42d4e]90 <ulink url="&blfs-wiki;/MC"/></para>
[1039de3]91
[2571cae1]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
[2dd3436a]100<screen><userinput>./configure --prefix=/usr \
[ab0209e]101 --sysconfdir=/etc \
[2dd3436a]102 --enable-charset &amp;&amp;
[f0801a2d]103make</userinput></screen>
[3a575ab5]104
[dfff8213]105 <para>To test the results, issue: <command>make check</command>.</para>
[bccbdaea]106
[7f78b6f]107 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
108
[ab0209e]109<screen role="root"><userinput>make install &amp;&amp;
110cp -v doc/keybind-migration.txt /usr/share/mc</userinput></screen>
[3a575ab5]111
112 </sect2>
113
114 <sect2 role="commands">
115 <title>Command Explanations</title>
[29f80ebc]116
[2dd3436a]117 <para><parameter>--sysconfdir=/etc</parameter>: This switch places the
[ab0209e]118 global configureation directory in <filename
119 class="directory">/etc</filename>.</para>
120
[2dd3436a]121 <para><parameter>--enable-charset</parameter>: This switch adds support
122 to <command>mcedit</command> for editing files in encodings different
123 from the one implied by the current locale.</para>
124<!-- currently broken
125 <para><parameter>- -with-screen=ncurses</parameter>: This switch
126 selects the screen library used by <application>MC</application>. It is only
127 required if the optional <xref linkend="slang"/> package is not installed
128 which is the default if found.</para>
129-->
[2571cae1]130 </sect2>
131
132 <sect2 role="configuration">
133 <title>Configuring MC</title>
134
135 <sect3 id="mc-config">
136 <title>Config Files</title>
137
[52f9553c]138 <para><filename>~/.config/mc/*</filename></para>
[2571cae1]139
140 <indexterm zone="mc mc-config">
[52f9553c]141 <primary sortas="e-AA.config/.mc/*">~/.config/.mc/*</primary>
[2571cae1]142 </indexterm>
143
144 </sect3>
145
146 <sect3>
147 <title>Configuration Information</title>
148
[52f9553c]149 <para>The <filename class="directory">~/.config/mc</filename> directory and
[2571cae1]150 its contents are created when you start <command>mc</command> for the
[52f9553c]151 first time. Then you can edit the main <filename>~/.config/mc/ini</filename>
[0619e6d]152 configuration file manually or through the <application>MC</application>
[2571cae1]153 shell. Consult the mc(1) man page for details.</para>
154
[ab0209e]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
[2571cae1]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>
[b01e2d2]172 <seg>mc and the symlinks mcdiff, mcedit and mcview</seg>
[2571cae1]173 <seg>None</seg>
[05ec61e9]174 <seg>/etc/mc and /usr/{libexec,share}/mc</seg>
[2571cae1]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
[3a575ab5]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
[f0801a2d]187 restoring the text behind the panels on Linux text console.</para>
[3a575ab5]188 <indexterm zone="mc conssaver">
189 <primary sortas="b-conssaver">cons.saver</primary>
190 </indexterm>
191 </listitem>
192 </varlistentry>
193
[2571cae1]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
[ee122615]204 <varlistentry id="mcdiff">
205 <term><command>mcdiff</command></term>
[3a575ab5]206 <listitem>
[ee122615]207 <para>is an internal visual diff tool.</para>
208 <indexterm zone="mc mcdiff">
209 <primary sortas="b-mcdiff">mcdiff</primary>
[3a575ab5]210 </indexterm>
211 </listitem>
212 </varlistentry>
213
[af5248e2]214 <varlistentry id="mcedit">
215 <term><command>mcedit</command></term>
216 <listitem>
217 <para>is an internal file editor.</para>
218 <indexterm zone="mc mcedit">
219 <primary sortas="b-mcedit">mcedit</primary>
220 </indexterm>
221 </listitem>
222 </varlistentry>
223
[2571cae1]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>
[2082ebf6]237
238</sect1>
Note: See TracBrowser for help on using the repository browser.