Re: [F.A.Q.] the advantages of a shared tool/kernel Git repository, tools/perf/ and tools/kvm/

Hagen Paul Pfeifer
2011-11-09T10:50:19Z

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