cvs commit: LFS/BOOK/chapter06 chapter06.xml vim.xml

Jeremy Utley jeremy at jutley.org
Thu Jun 10 10:19:33 PDT 2004


alexander at linuxfromscratch.org wrote:

>alexander    04/06/10 05:10:55
>
>  Modified:    BOOK/chapter01 changelog.xml
>               BOOK/chapter06 chapter06.xml vim.xml
>  Log:
>  Fixed the previous commit. Removed the "background" option from /etc/vimrc
>  
>  Revision  Changes    Path
>  1.798     +4 -0      LFS/BOOK/chapter01/changelog.xml
>  
>  Index: changelog.xml
>  ===================================================================
>  RCS file: /home/cvsroot/LFS/BOOK/chapter01/changelog.xml,v
>  retrieving revision 1.797
>  retrieving revision 1.798
>  diff -u -r1.797 -r1.798
>  --- changelog.xml	10 Jun 2004 08:18:06 -0000	1.797
>  +++ changelog.xml	10 Jun 2004 11:10:55 -0000	1.798
>  @@ -105,6 +105,10 @@
>   </itemizedlist>
>   </listitem>
>   
>  +<listitem><para>June 10, 2004 [alexander]: Reverted the bogus change of package
>  +order. Removed the "background" line from /etc/vimrc because it matches the
>  +default on Linux console</para></listitem>
>  +
>   <listitem><para>June 10, 2004 [alexander]: Added a command to autodetect the
>   character set of files being edited to /etc/vimrc
>   </para></listitem>
>  
>  
>  
>  1.84      +1 -1      LFS/BOOK/chapter06/chapter06.xml
>  
>  Index: chapter06.xml
>  ===================================================================
>  RCS file: /home/cvsroot/LFS/BOOK/chapter06/chapter06.xml,v
>  retrieving revision 1.83
>  retrieving revision 1.84
>  diff -u -r1.83 -r1.84
>  --- chapter06.xml	10 Jun 2004 08:18:07 -0000	1.83
>  +++ chapter06.xml	10 Jun 2004 11:10:55 -0000	1.84
>  @@ -30,6 +30,7 @@
>   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="gawk.xml"/>
>   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="ncurses.xml"/>
>   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="readline.xml"/>
>  +<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="vim.xml"/>
>   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="m4.xml"/>
>   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="bison.xml"/>
>   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="less.xml"/>
>  @@ -37,7 +38,6 @@
>   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="sed.xml"/>
>   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="flex.xml"/>
>   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="gettext.xml"/>
>  -<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="vim.xml"/>
>   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="net-tools.xml"/>
>   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="inetutils.xml"/>
>   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="perl.xml"/>
>  
>  
>  
>  1.38      +8 -8      LFS/BOOK/chapter06/vim.xml
>  
>  Index: vim.xml
>  ===================================================================
>  RCS file: /home/cvsroot/LFS/BOOK/chapter06/vim.xml,v
>  retrieving revision 1.37
>  retrieving revision 1.38
>  diff -u -r1.37 -r1.38
>  --- vim.xml	10 Jun 2004 08:18:07 -0000	1.37
>  +++ vim.xml	10 Jun 2004 11:10:55 -0000	1.38
>  @@ -51,7 +51,8 @@
>   <para>The optional but highly recommended
>   <userinput>--enable-multibyte</userinput> switch
>   includes support for editing files in multibyte character encodings into
>  -vim. It is needed for those people who ignore our recommendation not to
>  +<command>vim</command>.
>  +It is needed for those people who ignore our recommendation not to
>   use LFS in locales with multibyte character sets. It is also needed for
>   people who want to be able to edit text files initially created
>   in Linux distributions like Fedora Core
>  @@ -104,7 +105,6 @@
>   set nocompatible
>   set backspace=2
>   syntax on
>  -set background=dark
>   set fileencodings=ucs-bom,utf-8,<replaceable>your-8-bit-charset</replaceable>
>   
>   " End /etc/vimrc
>  @@ -116,12 +116,12 @@
>   behavior. The <emphasis>set backspace=2</emphasis> allows
>   backspacing over line breaks, autoindents and the start of insert. The
>   <emphasis>syntax on</emphasis> enables <command>vim</command>'s
>  -syntax highliting, while <emphasis>set background=dark</emphasis> gives the
>  -highliting a better color scheme for use on the black background of a linux
>  -console.  If you later use X and terminals with a light background, changing
>  -this will be useful. The <emphasis>set fileencodings=...</emphasis> makes
>  -<command>vim</command> capable of detecting the character set of the
>  -file being edited. This is useful because bleeding-edge distributions
>  +syntax highliting. The <emphasis>set fileencodings=...</emphasis> makes
>  +<command>vim</command> capable of automatically detecting the character
>  +set of the file being edited (replace
>  +"<replaceable>your-8-bit-charset</replaceable>"
>  +with the value appropriate for your country, e.g. iso-8859-15 in Italy).
>  +This line is useful because bleeding-edge distributions
>   like Fedora Core use UTF-8, and conservative ones like Debian
>   use traditional 8-bit encodings for text files. If you have not
>   passed the <option>--enable-multibyte</option> switch to the
>  
>  
>  
>  
>
Uhh, why was set background=dark removed?  That was placed there for a 
very specific purpose.

-J-




More information about the lfs-book mailing list