diff options
author | Jeremy Huntwork <jhuntwork@linuxfromscratch.org> | 2006-01-06 01:59:08 +0000 |
---|---|---|
committer | Jeremy Huntwork <jhuntwork@linuxfromscratch.org> | 2006-01-06 01:59:08 +0000 |
commit | fa21b3dc894b9964620968dfae6685d69ce89fb9 (patch) | |
tree | 2353b9af8cae48156b98e651873d483e994e352a /chapter06/vim.xml | |
parent | 60e34b52810dd47567ca18aa2c86fe4cd7c9fd01 (diff) |
Initial support of UTF-8. Thanks Alexander Patrakov.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@7245 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..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 |