From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hagen Paul Pfeifer Subject: Re: [F.A.Q.] the advantages of a shared tool/kernel =?UTF-8?Q?Git=09repository=2C=20tools/perf/=20and=20tools/kvm/?= Date: Wed, 09 Nov 2011 11:50:15 +0100 Message-ID: References: <20111107203255.GF24234@thunk.org> <4EB85969.2010108@codemonkey.ws> <12F471C8-2CF3-4CD7-B417-C8CC898669E6@mit.edu> <20111108093225.GB32533@elte.hu> <20111108125609.GA14272@ghostprotocols.net> <4EB9315A.10806@redhat.com> <20111108143228.GC14272@ghostprotocols.net> <4EB94D08.3010207@redhat.com> <20111109085120.GD11473@elte.hu> <4EBA5881.7080409@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: Ingo Molnar , Arnaldo Carvalho de Melo , Theodore Tso , Anthony Liguori , Pekka Enberg , Vince Weaver , Avi Kivity , "kvm@vger.kernel.org list" , "linux-kernel@vger.kernel.org List" , qemu-devel Developers , Alexander Graf , Blue Swirl , =?UTF-8?Q?Am=C3=A9rico_Wang?= , Linus Torvalds , Thomas Gleixner , Peter Zijlstra To: Gerd Hoffmann Return-path: In-Reply-To: <4EBA5881.7080409@redhat.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: kvm.vger.kernel.org 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