From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756668Ab1KIKuT (ORCPT ); Wed, 9 Nov 2011 05:50:19 -0500 Received: from alternativer.internetendpunkt.de ([88.198.24.89]:60613 "EHLO geheimer.internetendpunkt.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754019Ab1KIKuR (ORCPT ); Wed, 9 Nov 2011 05:50:17 -0500 To: Gerd Hoffmann Subject: Re: [F.A.Q.] the advantages of a shared tool/kernel =?UTF-8?Q?Git=09repository=2C=20tools/perf/=20and=20tools/kvm/?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Date: Wed, 09 Nov 2011 11:50:15 +0100 From: Hagen Paul Pfeifer 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 In-Reply-To: <4EBA5881.7080409@redhat.com> 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> Message-ID: User-Agent: RoundCube Webmail/0.1-rc1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@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