Changeset f0801a2d


Ignore:
Timestamp:
01/20/2007 07:07:20 AM (17 years ago)
Author:
Alexander E. Patrakov <alexander@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 6.2, 6.2.0, 6.2.0-rc1, 6.2.0-rc2, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 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
Children:
52fb8cf
Parents:
9a9d136c
Message:

Formatting and tagging fixes, as suggested by Randy.

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

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • general/sysutils/mc.xml

    r9a9d136c rf0801a2d  
    7474    in multibyte locales because it assumes that characters and
    7575    bytes are the same thing. The issue manifests itself as massive screen
    76     contents corruption similar to what is depicted in
     76    content corruption similar to what is depicted in
    7777    <ulink url="&files-anduin;/mc-bad.png">this screenshot</ulink>
    7878    (taken in the ru_RU.UTF-8 locale). For a general discussion of this type
    79     of issues, see the <xref linkend="locale-issues"/> page. The Debian patch
     79    of issue, see the <xref linkend="locale-issues"/> page. The Debian patch
    8080    mostly fixes this issue, and adds support for recoding remote FTP
    8181    filenames. Debian also fixed 64-bit issues, rare segfaults in
     
    8888    Thus, failsafe instructions without the patch are left in the book just
    8989    in case. Due to the size and unofficial nature of the patch, please
    90     do not report bugs in the patched MC to the original MC developers.</para>
     90    do not report bugs in the patched <application>MC</application> to the
     91    original <application>MC</application> developers.</para>
    9192
    9293    <bridgehead renderas="sect3">MC Dependencies</bridgehead>
     
    113114    <title>Installation of MC</title>
    114115
    115     <para>Fix incompatibility of MC-&mc-version; with Bash-3.2:</para>
     116    <para>Fix incompatibility of <application>MC</application>-&mc-version;
     117    with <application>Bash</application>-3.2:</para>
     118
    116119<screen><userinput>patch -Np1 -i ../mc-&mc-version;-bash32-1.patch</userinput></screen>
    117120
    118121    <para>If desired, apply Debian fixes:</para>
     122
    119123<screen><userinput>patch -Np1 -i ../mc-&mc-version;-debian_fixes-1.patch</userinput></screen>
    120124
     
    124128<screen><userinput>CPPFLAGS="-DUTF8" ./configure --prefix=/usr \
    125129            --enable-charset &amp;&amp;
    126 make
    127 </userinput></screen>
    128 
    129     <para>MC with Debian patches expects its documentation to be stored in the
    130     UTF-8 encoding on disk, and automatically converts it to the locale
    131     encoding when displaying on the terminal. This is different from the
    132     expectations of the unpatched MC, so the documentation files have to be
     130make</userinput></screen>
     131
     132    <para><application>MC</application> with Debian patches expects its
     133    documentation to be stored in UTF-8 encoding on disk, and automatically
     134    converts it to the locale encoding when displaying on the terminal. This
     135    is different from the expectations of the unpatched
     136    <application>MC</application>, so the documentation files have to be
    133137    converted if (and only if) the Debian patch has been applied:</para>
     138
    134139<screen><userinput>convert-mans ISO-8859-1 UTF-8 lib/mc.hint{,.es,.it,.nl} &amp;&amp;
    135140convert-mans ISO-8859-2 UTF-8 lib/mc.hint{.cs,.hu,.pl} &amp;&amp;
     
    156161   
    157162    <para><parameter>CPPFLAGS="-DUTF8"</parameter>: This parameter activates
    158     UTF-8 support in the Debian patch and has no effect without this patch.</para>
     163    UTF-8 support in the Debian patch and has no effect without this
     164    patch.</para>
    159165
    160166    <para><parameter>--enable-charset</parameter>: This option adds support
    161     to <command>mcedit</command> for editing files in encodings different from the one implied
    162     by the current locale. This feature works in non-UTF-8 locales only,
    163     even with the Debian patch.</para>
     167    to <command>mcedit</command> for editing files in encodings different
     168    from the one implied by the current locale. This feature works in
     169    non-UTF-8 locales only, even with the Debian patch.</para>
    164170   
    165171    <para><parameter>--with-screen=(slang|mcslang|ncurses)</parameter>: This
    166     parameter selects the screen library used by MC. NCurses support is
     172    parameter selects the screen library used by <application>MC</application>.
     173    <application>NCurses</application> support is
    167174    currently buggy (MC does not handle mouse events in xterm correctly).
    168175    UTF-8 support in the Debian patch is functional
     
    170177    (this is the default).</para>
    171178   
    172     <para><parameter>--with-codepagedir=DIR</parameter>: This parameter was useful
    173     only with SAMBA-2.x. New versions of SAMBA do not have codepage files.</para>
     179    <para><parameter>--with-codepagedir=DIR</parameter>: This parameter was
     180    useful only with <application>SAMBA</application>-2.x. New versions of
     181    <application>SAMBA</application> do not have codepage files.</para>
    174182   
    175183    <para><command>chmod 1755 /usr/lib/mc/cons.saver</command>: The
    176     <command>cons.saver</command> program on LFS has to be installed setuid root,
    177     because on LFS regular users have no access to <filename>/dev/vcsa*</filename>
    178     devices. This step is optional if MC is going to be started from X terminal
    179     emulators or ssh sessions only (thus rendering the <command>cons.saver</command>
    180     binary completely unneeded).</para>
     184    <command>cons.saver</command> program has to be installed setuid
     185    root, because on LFS regular users have no access to
     186    <filename>/dev/vcsa*</filename> devices. This step is optional if
     187    <application>MC</application> is going to be started from X terminal
     188    emulators or <command>ssh</command> sessions only (thus rendering the
     189    <command>cons.saver</command> binary completely unneeded).</para>
    181190
    182191    <!-- Other distributions make the devices owned by the vcsa group
     
    236245        <listitem>
    237246          <para>is used internally by <command>mc</command> for saving and
    238           restoring the text behind the panels on Linux text console.</para>
     247          restoring the text behind the panels on Linux text console.</para>
    239248          <indexterm zone="mc conssaver">
    240249            <primary sortas="b-conssaver">cons.saver</primary>
     
    266275        <term><command>mcmfmt</command></term>
    267276        <listitem>
    268           <para>is used internally by <command>mcview</command> when viewing mailbox files.</para>
     277          <para>is used internally by <command>mcview</command> when viewing
     278          mailbox files.</para>
    269279          <indexterm zone="mc mcmfmt">
    270280            <primary sortas="b-mcmfmt">mcmfmt</primary>
  • introduction/welcome/changelog.xml

    r9a9d136c rf0801a2d  
    5656        <listitem>
    5757          <para>[alexander] - Added Debian patch and bash-3.2
    58           compatibility patch to MC. Fixes #2189.</para>
     58          compatibility patch to MC. Fixes #2189.</para>
    5959        </listitem>
    6060      </itemizedlist>
Note: See TracChangeset for help on using the changeset viewer.