When vim is started inside of gnu screen it does not colour the background after text.
Screen looks like it should be setup for handling 256 colours correctly:
$ screen
$ tput colors
256
$ echo $term
xterm-256colors
OS & Shell I am using:
$ cat /etc/redhat-release
Red Hat Enterprise Linux WS release 4 (Nahant Update 9)
$echo $shell
/bin/tcsh
The Colour test looks like it is working ok except the end of lines:
:runtime syntax/colortest.vim
:source %
And when not using screen:
Is there any other settings I should be checking, is there a screen mode I can force to allow the colours to be redrawn correctly?
Best Answer
Partly based on: tmux-and-screen-256-term-not-supported.
The issue resolves itself when using a 'screen' term. To identify as 256 colors correctly it should be 'screen-256colors'. Which leads to the error below :
To create a screen-256colors entry:
Changing (screen-256color.ti)
to :
Now create the terminfo :