Changeset 3a575ab
- Timestamp:
- 01/19/2007 04:05:59 PM (16 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 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, ken/inkscape-core-mods, krejzi/svn, lazarus, nosym, perl-modules, plabs/python-mods, qt5new, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/soup3, xry111/test-20220226
- Children:
- 9a9d136c
- Parents:
- 8f1faf9f
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
general.ent
r8f1faf9f r3a575ab 4 4 --> 5 5 6 <!ENTITY day "1 8"> <!-- Always 2 digits -->6 <!ENTITY day "19"> <!-- Always 2 digits --> 7 7 <!ENTITY month "01"> <!-- Always 2 digits --> 8 8 <!ENTITY year "2007"> -
general/sysutils/mc.xml
r8f1faf9f r3a575ab 36 36 full power of the command prompt.</para> 37 37 38 <caution>39 <para>The <application>MC</application> package has major issues when40 used in a UTF-8 based locale because it assumes the characters are41 always one byte wide. See <ulink url="&files-anduin;/mc-bad.png">this42 screenshot</ulink> (taken in a ru_RU.UTF-8 locale).43 See the <ulink url="&blfs-wiki;/MC">MC Wiki</ulink> page for a way44 to work around these problems.45 For a general discussion of these types of issues, see46 the <xref linkend="locale-issues"/> page.</para>47 </caution>48 49 38 <bridgehead renderas="sect3">Package Information</bridgehead> 50 39 <itemizedlist spacing="compact"> … … 69 58 </itemizedlist> 70 59 60 <bridgehead renderas="sect3">Additional Downloads</bridgehead> 61 <itemizedlist spacing="compact"> 62 <listitem> 63 <para>Required patch: <ulink 64 url="&patch-root;/mc-&mc-version;-bash32-1.patch"/></para> 65 </listitem> 66 <listitem> 67 <para>Recommended Patch: <ulink 68 url="&patch-root;/mc-&mc-version;-debian_fixes-1.patch"/></para> 69 </listitem> 70 </itemizedlist> 71 72 <bridgehead renderas="sect3">Do I Need the Debian Patch?</bridgehead> 73 <para>Midnight Commander without the Debian patch is completely unusable 74 in multibyte locales because it assumes that characters and 75 bytes are the same thing. The issue manifests itself as massive screen 76 contents corruption similar to what is depicted in 77 <ulink url="&files-anduin;/mc-bad.png">this screenshot</ulink> 78 (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 80 mostly fixes this issue, and adds support for recoding remote FTP 81 filenames. Debian also fixed 64-bit issues, rare segfaults in 82 <command>mcedit</command>, and improved syntax highlighting.</para> 83 84 <para>If you do not use a multibyte locale and do not need any of the new 85 features or fixes, the patch is still supposed to be harmless. 86 However, the patch changes the dependencies and build instructions, and 87 in the past it caused unacceptable regressions for non-UTF-8 locale users. 88 Thus, failsafe instructions without the patch are left in the book just 89 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> 91 71 92 <bridgehead renderas="sect3">MC Dependencies</bridgehead> 72 93 73 94 <bridgehead renderas="sect4">Required</bridgehead> 74 <para role="required"><xref linkend="GLib"/> or95 <para role="required"><xref linkend="GLib"/> (untested with Debian patch) or 75 96 <xref linkend="glib2"/></para> 76 97 … … 79 100 <xref linkend="x-window-system"/>, 80 101 <xref linkend="samba3"/>, 81 <xref linkend="slang"/> ,102 <xref linkend="slang"/> (required when building with Debian patch), 82 103 <xref linkend="zip"/>, 83 104 <xref linkend="unzip"/>, and … … 92 113 <title>Installation of MC</title> 93 114 115 <para>Fix incompatibility of MC-&mc-version; with Bash-3.2:</para> 116 <screen><userinput>patch -Np1 -i ../mc-&mc-version;-bash32-1.patch</userinput></screen> 117 118 <para>If desired, apply Debian fixes:</para> 119 <screen><userinput>patch -Np1 -i ../mc-&mc-version;-debian_fixes-1.patch</userinput></screen> 120 94 121 <para>Install <application>MC</application> by 95 122 running the following commands:</para> 96 123 97 <screen><userinput>./configure --prefix=/usr && 98 make</userinput></screen> 124 <screen><userinput>CPPFLAGS="-DUTF8" ./configure --prefix=/usr \ 125 --enable-charset && 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 133 converted if (and only if) the Debian patch has been applied:</para> 134 <screen><userinput>convert-mans ISO-8859-1 UTF-8 lib/mc.hint{,.es,.it,.nl} && 135 convert-mans ISO-8859-2 UTF-8 lib/mc.hint{.cs,.hu,.pl} && 136 convert-mans ISO-8859-5 UTF-8 lib/mc.hint.sr && 137 convert-mans KOI8-R UTF-8 lib/mc.hint.ru && 138 convert-mans KOI8-U UTF-8 lib/mc.hint.uk && 139 convert-mans BIG5 UTF-8 lib/mc.hint.zh && 140 convert-mans ISO-8859-1 UTF-8 doc/{es,it}/mc.hlp.* && 141 convert-mans ISO-8859-2 UTF-8 doc/{hu,pl}/mc.hlp.* && 142 convert-mans ISO-8859-5 UTF-8 doc/sr/mc.hlp.sr && 143 convert-mans KOI8-R UTF-8 doc/ru/mc.hlp.ru</userinput></screen> 99 144 100 145 <para>This package does not come with a test suite.</para> … … 102 147 <para>Now, as the <systemitem class="username">root</systemitem> user:</para> 103 148 104 <screen role="root"><userinput>make install</userinput></screen> 149 <screen role="root"><userinput>make install && 150 chmod 1755 /usr/lib/mc/cons.saver</userinput></screen> 151 152 </sect2> 153 154 <sect2 role="commands"> 155 <title>Command Explanations</title> 156 157 <para><parameter>CPPFLAGS="-DUTF8"</parameter>: This parameter activates 158 UTF-8 support in the Debian patch and has no effect without this patch.</para> 159 160 <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> 164 165 <para><parameter>--with-screen=(slang|mcslang|ncurses)</parameter>: This 166 parameter selects the screen library used by MC. NCurses support is 167 currently buggy (MC does not handle mouse events in xterm correctly). 168 UTF-8 support in the Debian patch is functional 169 only when external <xref linkend="slang"/> is used as a screen library 170 (this is the default).</para> 171 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> 174 175 <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> 181 182 <!-- Other distributions make the devices owned by the vcsa group 183 and make the cons.saver program setgid vcsa instead --> 105 184 106 185 </sect2> … … 142 221 143 222 <seglistitem> 144 <seg> mc, mcedit, mcmfmt, and mcview</seg>223 <seg>cons.saver, mc, mcedit, mcmfmt, and mcview</seg> 145 224 <seg>None</seg> 146 225 <seg>/usr/share/mc and /usr/lib/mc</seg> … … 153 232 <?dbhtml list-presentation="table"?> 154 233 234 <varlistentry id="conssaver"> 235 <term><command>cons.saver</command></term> 236 <listitem> 237 <para>is used internally by <command>mc</command> for saving and 238 restoring the text behind the panels on Linux text console.</para> 239 <indexterm zone="mc conssaver"> 240 <primary sortas="b-conssaver">cons.saver</primary> 241 </indexterm> 242 </listitem> 243 </varlistentry> 244 155 245 <varlistentry id="mc-prog"> 156 246 <term><command>mc</command></term> … … 173 263 </varlistentry> 174 264 265 <varlistentry id="mcmfmt"> 266 <term><command>mcmfmt</command></term> 267 <listitem> 268 <para>is used internally by <command>mcview</command> when viewing mailbox files.</para> 269 <indexterm zone="mc mcmfmt"> 270 <primary sortas="b-mcmfmt">mcmfmt</primary> 271 </indexterm> 272 </listitem> 273 </varlistentry> 274 175 275 <varlistentry id="mcview"> 176 276 <term><command>mcview</command></term> -
introduction/welcome/changelog.xml
r8f1faf9f r3a575ab 43 43 44 44 <listitem> 45 <para>January 19th, 2007</para> 46 <itemizedlist> 47 <listitem> 48 <para>[alexander] - Added Debian patch and bash-3.2 49 compatibility patch to MC. Fixes #2189.</para> 50 </listitem> 51 </itemizedlist> 52 </listitem> 53 54 <listitem> 45 55 <para>January 18th, 2007</para> 46 56 <itemizedlist>
Note:
See TracChangeset
for help on using the changeset viewer.