On Tue, May 13, 2008 at 9:10 PM, Stephane Chazelas <[EMAIL PROTECTED]> wrote: > 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.
Thanks for your help. This issue has been resolved. In my ~/.bashrc term was set to xterm-color and that was causing these issues. I removed this entry and all good. The default shell is now xterm (after removing the term entry from .bashrc). _______________________________________________ screen-users mailing list [email protected] http://lists.gnu.org/mailman/listinfo/screen-users
