lkml.org 
[lkml]   [2011]   [Nov]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [F.A.Q.] the advantages of a shared tool/kernel Git repository, tools/perf/ and tools/kvm/
Date
From

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


\
 
 \ /
  Last update: 2011-11-09 11:53    [W:0.141 / U:0.168 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site