screen-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: vim black areas after starting screen


From: Stephane Chazelas
Subject: Re: vim black areas after starting screen
Date: Tue, 13 May 2008 12:10:12 +0100
User-agent: Mutt/1.5.16 (2007-09-19)

On Tue, May 13, 2008 at 08:53:06PM +1000, Chris Henderson wrote:
> I have a problem which is a bit hard to describe. Here's a background
> on my system: bash shell, term outside screen is xterm-color, term
> inside screen is screen.
> 
> Once I am inside screen and want to vim edit, say, a 5 line PHP file,
> the 5 line of code will be color but the rest of the file will be
> black. But my shell or vim background is always white. Now if I go to
> that black region and keep hitting enter (or return) the black region
> will turn into white. I also have this issue when I ssh to another
> host from inside screen: the bash shell of that host will be black
> (while it's supposed to be white).
[...]

Looks like some bce (bacakground-color-erase) setting issue.

You may want to play with the bce and defbce and/or update your
terminfo entry for screen.

See:

info Screen --index-search=bce
info Screen --index-search=defbce

Also, my experience is that the terminfo entry for
"xterm-color" generally doesn't describe correctly most xterm
implementations, so you may want to try some that better
describes your terminal. For instance, if your terminal is the
XFree86 xterm with 256 color support, xterm-256color is a better
one.

-- 
Stéphane




reply via email to

[Prev in Thread] Current Thread [Next in Thread]