aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/vim.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06/vim.xml')
-rw-r--r--chapter06/vim.xml14
1 files changed, 13 insertions, 1 deletions
diff --git a/chapter06/vim.xml b/chapter06/vim.xml
index 2083d4786..aecbe3ac8 100644
--- a/chapter06/vim.xml
+++ b/chapter06/vim.xml
@@ -53,7 +53,7 @@ class="directory">/etc</filename>:</para>
<variablelist>
<varlistentry>
<term><parameter>--enable-multibyte</parameter></term>
-<listitem><para>This optional but highly recommended switch enables support for
+<listitem><para>This switch enables support for
editing files in multibyte character encodings. This is needed if using a
locale with a multibyte character set. This switch is also helpful to be able to
edit text files initially created in Linux distributions like Fedora Core that
@@ -75,6 +75,18 @@ redirecting the output to a log file.</para>
<screen><userinput>make install</userinput></screen>
+<para>In UTF-8 locales, the <command>vimtutor</command> program
+tries to convert the tutorials from ISO-8859-1 to UTF-8. Since
+some tutorials are not in ISO-8859-1, the text in them is thus made unreadable.
+If you unpacked the <filename>vim-&vim-version;-lang.tar.gz</filename>
+archive and are going to use a UTF-8 based locale, remove non-ISO-8859-1
+tutorials. An English tutorial will be used instead.</para>
+<!-- Removal is used instead of conversion in order for the user to be able to
+painlessly revert his UTF-8 locale choice. -->
+
+<screen><userinput>rm -f /usr/share/vim/vim63/tutor/tutor.{gr,pl,ru,sk}
+rm -f /usr/share/vim/vim63/tutor/tutor.??.*</userinput></screen>
+
<para>Many users are used to using <command>vi</command> instead of
<command>vim</command>. To allow execution of <command>vim</command>
when users habitually enter <command>vi</command>, create a