Ignore:
Timestamp:
03/19/2020 10:00:16 AM (4 years ago)
Author:
Pierre Labastie <pieere@…>
Branches:
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
Children:
e68b588
Parents:
09f0998
Message:

Format sysutils

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/sysutils/mc.xml

    r09f0998 rb1532549  
    3030    <title>Introduction to MC</title>
    3131
    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>
     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>
    3739
    3840    &lfs91_checked;
    3941
    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    <!--<note>
     43      <para>
     44        The download site uses a self-signed security certificate.
     45        You will need to accept it as valid to get the source code.
     46      </para>
     47    </note>-->
    4248
    4349    <bridgehead renderas="sect3">Package Information</bridgehead>
    4450    <itemizedlist spacing="compact">
    4551      <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>
     52        <para>
     53          Download (HTTP): <ulink url="&mc-download-http;"/>
     54        </para>
     55      </listitem>
     56      <listitem>
     57        <para>
     58          Download (FTP): <ulink url="&mc-download-ftp;"/>
     59        </para>
     60      </listitem>
     61      <listitem>
     62        <para>
     63          Download MD5 sum: &mc-md5sum;
     64        </para>
     65      </listitem>
     66      <listitem>
     67        <para>
     68          Download size: &mc-size;
     69        </para>
     70      </listitem>
     71      <listitem>
     72        <para>
     73          Estimated disk space required: &mc-buildsize;
     74        </para>
     75      </listitem>
     76      <listitem>
     77        <para>
     78          Estimated build time: &mc-time;
     79        </para>
    6280      </listitem>
    6381    </itemizedlist>
     
    94112    <title>Installation of MC</title>
    95113
    96     <para>Install <application>MC</application> by
    97     running the following commands:</para>
     114    <para>
     115      Install <application>MC</application> by
     116      running the following commands:
     117    </para>
    98118
    99119<screen><userinput>./configure --prefix=/usr \
     
    102122make</userinput></screen>
    103123
    104     <para>To test the results, issue: <command>make check</command>.
    105     One test concerning rpm files fails.</para>
    106 
    107     <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
     124    <para>
     125      To test the results, issue: <command>make check</command>.
     126      One test concerning rpm files fails.
     127    </para>
     128
     129    <para>
     130      Now, as the <systemitem class="username">root</systemitem> user:
     131    </para>
    108132
    109133<screen role="root"><userinput>make install &amp;&amp;
     
    115139    <title>Command Explanations</title>
    116140
    117     <para><parameter>--sysconfdir=/etc</parameter>: This switch places the
    118     global configureation directory in <filename
    119     class="directory">/etc</filename>.</para>
    120 
    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>
     141    <para>
     142      <parameter>--sysconfdir=/etc</parameter>: This switch places the
     143      global configureation directory in <filename
     144      class="directory">/etc</filename>.
     145    </para>
     146
     147    <para>
     148      <parameter>--enable-charset</parameter>: This switch adds support
     149      to <command>mcedit</command> for editing files in encodings different
     150      from the one implied by the current locale.
     151    </para>
    124152<!-- 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>
     153    <para>
     154      <parameter>- -with-screen=ncurses</parameter>: This switch
     155      selects the screen library used by <application>MC</application>. It is
     156      only required if the optional <xref linkend="slang"/> package is not
     157      installed which is the default if found.
     158    </para>
    129159-->
    130160  </sect2>
     
    136166      <title>Config Files</title>
    137167
    138       <para><filename>~/.config/mc/*</filename></para>
     168      <para>
     169        <filename>~/.config/mc/*</filename>
     170      </para>
    139171
    140172      <indexterm zone="mc mc-config">
     
    147179      <title>Configuration Information</title>
    148180
    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>
     181      <para>
     182        The <filename class="directory">~/.config/mc</filename> directory and
     183        its contents are created when you start <command>mc</command> for the
     184        first time. Then you can edit the main <filename>~/.config/mc/ini
     185        </filename> configuration file manually or through the <application>
     186        MC</application> shell. Consult the mc(1) man page for details.
     187      </para>
     188
     189      <note>
     190        <para>
     191          On 8.x versions of <application>mc</application>,
     192          keybind names used in mc.keymap.* files are changed.  This is
     193          described in <filename>keybind-migration.txt</filename>.
     194        </para>
     195      </note>
    158196
    159197    </sect3>
     
    184222        <term><command>cons.saver</command></term>
    185223        <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>
     224          <para>
     225            is used internally by <command>mc</command> for saving and
     226            restoring the text behind the panels on Linux text console.
     227          </para>
    188228          <indexterm zone="mc conssaver">
    189229            <primary sortas="b-conssaver">cons.saver</primary>
     
    195235        <term><command>mc</command></term>
    196236        <listitem>
    197           <para>is a visual shell.</para>
     237          <para>
     238            is a visual shell.
     239          </para>
    198240          <indexterm zone="mc mc-prog">
    199241            <primary sortas="b-mc">mc</primary>
     
    205247        <term><command>mcdiff</command></term>
    206248        <listitem>
    207           <para>is an internal visual diff tool.</para>
     249          <para>
     250            is an internal visual diff tool.
     251          </para>
    208252          <indexterm zone="mc mcdiff">
    209253            <primary sortas="b-mcdiff">mcdiff</primary>
     
    215259        <term><command>mcedit</command></term>
    216260        <listitem>
    217           <para>is an internal file editor.</para>
     261          <para>
     262            is an internal file editor.
     263          </para>
    218264          <indexterm zone="mc mcedit">
    219265            <primary sortas="b-mcedit">mcedit</primary>
     
    225271        <term><command>mcview</command></term>
    226272        <listitem>
    227           <para>is an internal file viewer.</para>
     273          <para>
     274            is an internal file viewer.
     275          </para>
    228276          <indexterm zone="mc mcview">
    229277            <primary sortas="b-mcview">mcview</primary>
Note: See TracChangeset for help on using the changeset viewer.