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

From: Hagen Paul Pfeifer
Date: Wed Nov 09 2011 - 05:50:19 EST



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 linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/