﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
848	background color autodetection in vim doesn't work.	alexander@…	lfs-book@…	"Jeremy Utley says that the

set background=dark

statement is needed in /etc/vimrc. He explains the need for such a statement in
the following way. Without this, the color for comments is deep blue, almost
unreadable on Linux console, and with this option it is light-blue, well readable.

I agree that deep blue is unreadable on Linux console. I don't agree that
comments are deep blue by default on Linux console. They become such when I
explicitly set bg=light. I don't have any ""set background"" statement in /etc/vimrc.

Moreover, I can point to the source lines where the background color
autodetection is supposed to happen: vim63/src/option.c, lines 2964 -- 3003. 

The logic is: terminals with TERM=linux have dark background, everything else
has light background.

However, Jeremy confirmed that on his Linux console TERM=linux and vim still
thinks that the background is light.

Since these source lines don't work for Jeremy Utley and James Iwanek (LFS
5.1-pre), but work for me (LFS built in December 2003 according to NPTL hint,
but with upgraded vim), it's a bug in the book."	defect	closed	high		Book	CVS	normal	worksforme		
