I have defined
urxvt*color0: #000000
urxvt*color8: #777777
in my $HOME/.Xdefault. Using vim (console not gvim), this gives me a light grey for strings in bash scripts when I use urxvt. Now, if I start GNU screen and edit the same file with vim, all strings are now black. This is a problem since I use revese video (white text on black background for my terminal). The TERM is the same in both instances (xterm).
Is this a vim or screen issue? More importantly, how do I solve it?
After bhinesley reply put me on the right tracks, the solution was to add
set t_Co=256
to my $HOME/.vimrc. Also, I have the following set for my TERM variable:
screen-256color
xterm-256color
for screen and urxvt console.