On Wed, 09 Nov 2011 11:40:01 +0100, Gerd Hoffmann wrote: > far I know it is pretty much impossible to figure the > foreground/background colors of the terminal you are running on. You > can try some guesswork based on $TERM (linux console usually has black > background, xterm is white by default), but there will always be cases > where it fails. You can make it more explicit, similar to .vimrc: :set background=dark or :set background=light which in turn set the appropriate foreground colors. Hagen -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html