diff --git a/general/sysutils/mc.xml b/general/sysutils/mc.xml
index e32ecb1412..7046292584 100644
--- a/general/sysutils/mc.xml
+++ b/general/sysutils/mc.xml
@@ -73,10 +73,10 @@
Midnight Commander without the Debian patch is completely unusable
in multibyte locales because it assumes that characters and
bytes are the same thing. The issue manifests itself as massive screen
- contents corruption similar to what is depicted in
+ content corruption similar to what is depicted in
this screenshot
(taken in the ru_RU.UTF-8 locale). For a general discussion of this type
- of issues, see the page. The Debian patch
+ of issue, see the page. The Debian patch
mostly fixes this issue, and adds support for recoding remote FTP
filenames. Debian also fixed 64-bit issues, rare segfaults in
mcedit, and improved syntax highlighting.
@@ -87,7 +87,8 @@
in the past it caused unacceptable regressions for non-UTF-8 locale users.
Thus, failsafe instructions without the patch are left in the book just
in case. Due to the size and unofficial nature of the patch, please
- do not report bugs in the patched MC to the original MC developers.
+ do not report bugs in the patched MC to the
+ original MC developers.
MC Dependencies
@@ -112,10 +113,13 @@
Installation of MC
- Fix incompatibility of MC-&mc-version; with Bash-3.2:
+ Fix incompatibility of MC-&mc-version;
+ with Bash-3.2:
+
patch -Np1 -i ../mc-&mc-version;-bash32-1.patch
If desired, apply Debian fixes:
+
patch -Np1 -i ../mc-&mc-version;-debian_fixes-1.patch
Install MC by
@@ -123,14 +127,15 @@
CPPFLAGS="-DUTF8" ./configure --prefix=/usr \
--enable-charset &&
-make
-
+make
- MC with Debian patches expects its documentation to be stored in the
- UTF-8 encoding on disk, and automatically converts it to the locale
- encoding when displaying on the terminal. This is different from the
- expectations of the unpatched MC, so the documentation files have to be
+ MC with Debian patches expects its
+ documentation to be stored in UTF-8 encoding on disk, and automatically
+ converts it to the locale encoding when displaying on the terminal. This
+ is different from the expectations of the unpatched
+ MC, so the documentation files have to be
converted if (and only if) the Debian patch has been applied:
+
convert-mans ISO-8859-1 UTF-8 lib/mc.hint{,.es,.it,.nl} &&
convert-mans ISO-8859-2 UTF-8 lib/mc.hint{.cs,.hu,.pl} &&
convert-mans ISO-8859-5 UTF-8 lib/mc.hint.sr &&
@@ -155,29 +160,33 @@ chmod 1755 /usr/lib/mc/cons.saver
Command Explanations
CPPFLAGS="-DUTF8": This parameter activates
- UTF-8 support in the Debian patch and has no effect without this patch.
+ UTF-8 support in the Debian patch and has no effect without this
+ patch.
--enable-charset: This option adds support
- to mcedit for editing files in encodings different from the one implied
- by the current locale. This feature works in non-UTF-8 locales only,
- even with the Debian patch.
+ to mcedit for editing files in encodings different
+ from the one implied by the current locale. This feature works in
+ non-UTF-8 locales only, even with the Debian patch.
--with-screen=(slang|mcslang|ncurses): This
- parameter selects the screen library used by MC. NCurses support is
+ parameter selects the screen library used by MC.
+ NCurses support is
currently buggy (MC does not handle mouse events in xterm correctly).
UTF-8 support in the Debian patch is functional
only when external is used as a screen library
(this is the default).
- --with-codepagedir=DIR: This parameter was useful
- only with SAMBA-2.x. New versions of SAMBA do not have codepage files.
+ --with-codepagedir=DIR: This parameter was
+ useful only with SAMBA-2.x. New versions of
+ SAMBA do not have codepage files.
chmod 1755 /usr/lib/mc/cons.saver: The
- cons.saver program on LFS has to be installed setuid root,
- because on LFS regular users have no access to /dev/vcsa*
- devices. This step is optional if MC is going to be started from X terminal
- emulators or ssh sessions only (thus rendering the cons.saver
- binary completely unneeded).
+ cons.saver program has to be installed setuid
+ root, because on LFS regular users have no access to
+ /dev/vcsa* devices. This step is optional if
+ MC is going to be started from X terminal
+ emulators or ssh sessions only (thus rendering the
+ cons.saver binary completely unneeded).
@@ -235,7 +244,7 @@ chmod 1755 /usr/lib/mc/cons.saver
cons.saver
is used internally by mc for saving and
- restoring the text behind the panels on Linux text console.
+ restoring the text behind the panels on Linux text console.
cons.saver
@@ -265,7 +274,8 @@ chmod 1755 /usr/lib/mc/cons.saver
mcmfmt
- is used internally by mcview when viewing mailbox files.
+ is used internally by mcview when viewing
+ mailbox files.
mcmfmt
diff --git a/introduction/welcome/changelog.xml b/introduction/welcome/changelog.xml
index 62d778d640..91224d7d91 100644
--- a/introduction/welcome/changelog.xml
+++ b/introduction/welcome/changelog.xml
@@ -55,7 +55,7 @@
[alexander] - Added Debian patch and bash-3.2
- compatibility patch to MC. Fixes #2189.
+ compatibility patch to MC. Fixes #2189.