[Bug 848] background color autodetection in vim doesn't work.

bugzilla at linuxfromscratch.org bugzilla at linuxfromscratch.org
Sat Jun 19 04:44:01 PDT 2004


http://bugs.linuxfromscratch.org/show_bug.cgi?id=848

matthew at linuxfromscratch.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |WORKSFORME



------- Additional Comments From matthew at linuxfromscratch.org  2004-06-19 05:44 -------
I can't reproduce this with vim-6.3 - here's some details:

---
bash-2.05b$ vim --version
VIM - Vi IMproved 6.3 (2004 June 7, compiled Jun 19 2004 12:21:54)
Compiled by root at lfs5
Normal version without GUI.  Features included (+) or not (-):
-arabic +autocmd -balloon_eval -browse +builtin_terms +byte_offset +cindent
-clientserver -clipboard +cmdline_compl +cmdline_hist +cmdline_info +comments
+cryptv -cscope +dialog_con +diff +digraphs -dnd -ebcdic -emacs_tags +eval
+ex_extra +extra_search -farsi +file_in_path +find_in_path +folding -footer
+fork() -gettext -hangul_input +iconv +insert_expand +jumplist -keymap -langmap
 +libcall +linebreak +lispindent +listcmds +localmap +menu +mksession
+modify_fname +mouse -mouseshape -mouse_dec +mouse_gpm -mouse_jsbterm
-mouse_netterm +mouse_xterm +multi_byte +multi_lang -netbeans_intg -osfiletype
+path_extra -perl +postscript +printer -python +quickfix -rightleft -ruby
+scrollbind -signs +smartindent -sniff +statusline -sun_workshop +syntax
+tag_binary +tag_old_static -tag_any_white -tcl +terminfo +termresponse
+textobjects +title -toolbar +user_commands +vertsplit +virtualedit +visual
+visualextra +viminfo +vreplace +wildignore +wildmenu +windows +writebackup
-X11 -xfontset -xim -xsmp -xterm_clipboard -xterm_save
   system vimrc file: "/etc/vimrc"
     user vimrc file: "$HOME/.vimrc"
      user exrc file: "$HOME/.exrc"
  fall-back for $VIM: "/usr/share/vim"
Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2
Linking: gcc   -L/usr/local/lib -o vim       -lncurses -lgpm -ldl
bash-2.05b$ cat /etc/vimrc
" Begin /etc/vimrc

set nocompatible
set backspace=2
syntax on

if (&term == "iterm") || (&term == "putty")
  set background=dark
endif

" End /etc/vimrc
bash-2.05b$ cat $HOME/.vimrc
cat: /home/matthew/.vimrc: No such file or directory
bash-2.05b$ echo $TERM
linux
---

Behaviour is as expected and described above (i.e. TERM=linux results in
background=dark).



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
You are the QA contact for the bug, or are watching the QA contact.



More information about the lfs-book mailing list