diff options
author | Archaic <archaic@linuxfromscratch.org> | 2005-12-26 19:00:06 +0000 |
---|---|---|
committer | Archaic <archaic@linuxfromscratch.org> | 2005-12-26 19:00:06 +0000 |
commit | 5536f7440f2f4a12782e8d741cbbba5f1c3cfea8 (patch) | |
tree | a0f3a22ecc9c0eedfd891d54e9acf06502d2b07f /chapter06/vim.xml | |
parent | 2550494b85359ff42bb95a72911c7751cbce14d4 (diff) |
Applied Alexander Patrakov's patch which adds UTF-8 capability to the
development branch of the LFS Book.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@7235 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/vim.xml')
-rw-r--r-- | chapter06/vim.xml | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/chapter06/vim.xml b/chapter06/vim.xml index 2083d4786..bd21f2f32 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/vim64/tutor/tutor.{gr,pl,ru,sk} +rm -f /usr/share/vim/vim64/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 |