Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
background color gray instead of black
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  5 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Britton Kerin  
View profile  
 More options Jul 28 2012, 3:11 pm
From: Britton Kerin <britton.ke...@gmail.com>
Date: Sat, 28 Jul 2012 11:11:23 -0800
Local: Sat, Jul 28 2012 3:11 pm
Subject: background color gray instead of black
I've tried both these commands:

     :highlight Normal ctermbg=black
     :highlight Normal ctermbg=0

but the background is still ugly grey not true black.

Hmm after a bit more experimentation I find this does what I want:

     :highlight Normal ctermbg=255
     :highlight Normal ctermbg=255

I guess this has to do with the colorscheme torte that I use in .vimrc,
it just seems a bit weird the explicitly setting the color twice to what
one would expect to be white is required to get it to be black :)


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Florian Rehnisch  
View profile  
 More options Jul 28 2012, 8:23 pm
From: Florian Rehnisch <eix...@gmx.de>
Date: Sun, 29 Jul 2012 02:23:54 +0200
Local: Sat, Jul 28 2012 8:23 pm
Subject: Re: background color gray instead of black

Maybe your terminal emulator? (gnome-terminal or konsole)

I use urxvt, switched to :colo torte and :syn on, and have
a brilliant black bg ...


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Chris Jones  
View profile  
 More options Jul 28 2012, 8:56 pm
From: Chris Jones <cjns1...@gmail.com>
Date: Sat, 28 Jul 2012 20:56:56 -0400
Local: Sat, Jul 28 2012 8:56 pm
Subject: Re: background color gray instead of black

What does ‘:verbose hi Normal' display..?

What color is the top left rectangle when you run 256colors2.pl from a
shell prompt..?

CJ

--
SOMEBODY SET UP US THE BOMB


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Britton Kerin  
View profile  
 More options Jul 29 2012, 1:03 pm
From: Britton Kerin <britton.ke...@gmail.com>
Date: Sun, 29 Jul 2012 09:03:43 -0800
Local: Sun, Jul 29 2012 1:03 pm
Subject: Re: background color gray instead of black

I am using gnome-terminal with a white on black color scheme.

Initially it looks like this:

     :verbose hi Normal
     Normal         xxx ctermfg=7 ctermbg=0 guifg=Grey80 guibg=Black
             Last set from ~/local/share/vim/vim73/colors/torte.vim
     Press ENTER or type command to continue

It looks the same after the first ctermbg=255 command above. t After the second
one,  the output changes showing ctermbg=255 instead of ctermbg=0.

> What color is the top left rectangle when you run 256colors2.pl from a
> shell prompt..?

I wasn't sure where this script came from and I found a couple of
different versions.  One of them first outputs a block called System
colors, and the top left of that is gray.  Its had to tell but it
appears to be a bit darker than the gray I get in vim though.

Britton


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Chris Jones  
View profile  
 More options Jul 29 2012, 3:05 pm
From: Chris Jones <cjns1...@gmail.com>
Date: Sun, 29 Jul 2012 15:05:15 -0400
Local: Sun, Jul 29 2012 3:05 pm
Subject: Re: background color gray instead of black

On Sun, Jul 29, 2012 at 01:03:43PM EDT, Britton Kerin wrote:
> On Sat, Jul 28, 2012 at 4:56 PM, Chris Jones <cjns1...@gmail.com> wrote:

[..]

> It looks the same after the first ctermbg=255 command above. t After
> the second one,  the output changes showing ctermbg=255 instead of
> ctermbg=0.
> > What color is the top left rectangle when you run 256colors2.pl from
> > a shell prompt..?
> I wasn't sure where this script came from and I found a couple of
> different versions.  One of them first outputs a block called System
> colors, and the top left of that is gray.  Its had to tell but it
> appears to be a bit darker than the gray I get in vim though.

Makes sense.. That particular rectangle corresponds to color 0 and
I believe it should be black.

But what doesn't make sense is that color 255 should correspond to
white or a very light grey..!

Color 255 is be the last rectangle in what is referred to as the
‘Grayscale Ramp’ in 256color2.pl's output.

But then, this may be irrelevant, since ‘torte’ is an 8/16 color scheme
anyway. Specifying color values to override torte's by anything above 15
would likely give ‘unpredictable results’.

Suggestions:

What is the output of the following:

| :verbose set background
| :verbose set t_Co
| :display $TERM

Where the ‘background’ Vim option is concerned, it may be of interest to
see its value at startup and also after you change the default value of
the background, if done manually. See if Vim has automatically adjusted
it.

| :h 'background'

As to the value of the $TERM environment variable, where is it set -- or
do you just use gnome-terminal's default?

IIRC, gnome-terminal forcibly resets the value of $TERM to ‘xterm’ no
matter what you try to set it to prior to launching gnome-terminal.

Since I have no idea what is going on, you could try to to play with the
color palette in the gnome-terminal Preferences (?) dialog and see what
happens re: 256colors2.pl and in Vim with :colo torte... Might help
narrow it down..

CJ

--
Oh My God!!! Larry is back!


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »