cvs commit: LFS/BOOK/chapter06 vim.xml

alexander at linuxfromscratch.org alexander at linuxfromscratch.org
Fri Jun 11 16:04:52 PDT 2004


alexander    04/06/11 17:04:52

  Modified:    BOOK     general.ent
               BOOK/chapter01 changelog.xml
               BOOK/chapter06 vim.xml
  Log:
  Re-added the "background" option to /etc/vimrc
  
  Revision  Changes    Path
  1.43      +2 -2      LFS/BOOK/general.ent
  
  Index: general.ent
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/general.ent,v
  retrieving revision 1.42
  retrieving revision 1.43
  diff -u -r1.42 -r1.43
  --- general.ent	11 Jun 2004 11:19:40 -0000	1.42
  +++ general.ent	11 Jun 2004 23:04:52 -0000	1.43
  @@ -1,6 +1,6 @@
   <?xml version="1.0" encoding="ISO-8859-1"?>
  -<!ENTITY version "CVS-20040611">
  -<!ENTITY releasedate "June 11, 2004">
  +<!ENTITY version "CVS-20040612">
  +<!ENTITY releasedate "June 12, 2004">
   <!ENTITY milestone "6.0">
   
   <!ENTITY lfs-root "http://www.linuxfromscratch.org/">
  
  
  
  1.802     +4 -0      LFS/BOOK/chapter01/changelog.xml
  
  Index: changelog.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/chapter01/changelog.xml,v
  retrieving revision 1.801
  retrieving revision 1.802
  diff -u -r1.801 -r1.802
  --- changelog.xml	11 Jun 2004 15:49:18 -0000	1.801
  +++ changelog.xml	11 Jun 2004 23:04:52 -0000	1.802
  @@ -107,6 +107,10 @@
   </itemizedlist>
   </listitem>
   
  +<listitem><para>June 12, 2004 [alexander]: Re-added the "background" option to
  +/etc/vimrc, since it has some educational value. Put this option inside an "if"
  +statement because it applies to some, not all, terminals</para></listitem>
  +
   <listitem><para>June 11, 2004 [winkie]: Dropped hackish GRUB instructions in
   favor of a patch from upstream.</para></listitem>
   
  
  
  
  1.39      +8 -0      LFS/BOOK/chapter06/vim.xml
  
  Index: vim.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/chapter06/vim.xml,v
  retrieving revision 1.38
  retrieving revision 1.39
  diff -u -r1.38 -r1.39
  --- vim.xml	10 Jun 2004 11:10:55 -0000	1.38
  +++ vim.xml	11 Jun 2004 23:04:52 -0000	1.39
  @@ -106,6 +106,9 @@
   set backspace=2
   syntax on
   set fileencodings=ucs-bom,utf-8,<replaceable>your-8-bit-charset</replaceable>
  +if (&term == "iterm") || (&term == "putty")
  +  set background=dark
  +endif
   
   " End /etc/vimrc
   <userinput>EOF</userinput></screen>
  @@ -126,6 +129,11 @@
   use traditional 8-bit encodings for text files. If you have not
   passed the <option>--enable-multibyte</option> switch to the
   <command>./configure</command> command above, this line will not work.
  +Finally, the <emphasis>if</emphasis> statement with the
  +<emphasis>set background=dark</emphasis> corrects <command>vim</command>'s
  +guess about the background color of some terminal emulators. This gives the
  +highliting a better color scheme for use on the black background of
  +these programs.
   </para>
   
   <para>Documentation for other available options can be obtained by running
  
  
  



More information about the lfs-book mailing list