Changeset f0801a2d
- Timestamp:
- 01/20/2007 07:07:20 AM (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:
- 52fb8cf
- Parents:
- 9a9d136c
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
general/sysutils/mc.xml
r9a9d136c rf0801a2d 74 74 in multibyte locales because it assumes that characters and 75 75 bytes are the same thing. The issue manifests itself as massive screen 76 content scorruption similar to what is depicted in76 content corruption similar to what is depicted in 77 77 <ulink url="&files-anduin;/mc-bad.png">this screenshot</ulink> 78 78 (taken in the ru_RU.UTF-8 locale). For a general discussion of this type 79 of issue s, see the <xref linkend="locale-issues"/> page. The Debian patch79 of issue, see the <xref linkend="locale-issues"/> page. The Debian patch 80 80 mostly fixes this issue, and adds support for recoding remote FTP 81 81 filenames. Debian also fixed 64-bit issues, rare segfaults in … … 88 88 Thus, failsafe instructions without the patch are left in the book just 89 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> 90 do not report bugs in the patched <application>MC</application> to the 91 original <application>MC</application> developers.</para> 91 92 92 93 <bridgehead renderas="sect3">MC Dependencies</bridgehead> … … 113 114 <title>Installation of MC</title> 114 115 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 116 119 <screen><userinput>patch -Np1 -i ../mc-&mc-version;-bash32-1.patch</userinput></screen> 117 120 118 121 <para>If desired, apply Debian fixes:</para> 122 119 123 <screen><userinput>patch -Np1 -i ../mc-&mc-version;-debian_fixes-1.patch</userinput></screen> 120 124 … … 124 128 <screen><userinput>CPPFLAGS="-DUTF8" ./configure --prefix=/usr \ 125 129 --enable-charset && 126 make 127 </userinput></screen> 128 129 <para>MC with Debian patches expects its documentation to be stored in the130 UTF-8 encoding on disk, and automatically converts it to the locale131 encoding when displaying on the terminal. This is different from the132 expectations of the unpatched MC, so the documentation files have to be130 make</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 133 137 converted if (and only if) the Debian patch has been applied:</para> 138 134 139 <screen><userinput>convert-mans ISO-8859-1 UTF-8 lib/mc.hint{,.es,.it,.nl} && 135 140 convert-mans ISO-8859-2 UTF-8 lib/mc.hint{.cs,.hu,.pl} && … … 156 161 157 162 <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> 159 165 160 166 <para><parameter>--enable-charset</parameter>: This option adds support 161 to <command>mcedit</command> for editing files in encodings different from the one implied162 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> 164 170 165 171 <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 167 174 currently buggy (MC does not handle mouse events in xterm correctly). 168 175 UTF-8 support in the Debian patch is functional … … 170 177 (this is the default).</para> 171 178 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> 174 182 175 183 <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> 181 190 182 191 <!-- Other distributions make the devices owned by the vcsa group … … 236 245 <listitem> 237 246 <para>is used internally by <command>mc</command> for saving and 238 247 restoring the text behind the panels on Linux text console.</para> 239 248 <indexterm zone="mc conssaver"> 240 249 <primary sortas="b-conssaver">cons.saver</primary> … … 266 275 <term><command>mcmfmt</command></term> 267 276 <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> 269 279 <indexterm zone="mc mcmfmt"> 270 280 <primary sortas="b-mcmfmt">mcmfmt</primary> -
introduction/welcome/changelog.xml
r9a9d136c rf0801a2d 56 56 <listitem> 57 57 <para>[alexander] - Added Debian patch and bash-3.2 58 58 compatibility patch to MC. Fixes #2189.</para> 59 59 </listitem> 60 60 </itemizedlist>
Note:
See TracChangeset
for help on using the changeset viewer.