vile
[Top][All Lists]
Advanced

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

Re: [vile] Wrong background colour in vile


From: Thomas Dickey
Subject: Re: [vile] Wrong background colour in vile
Date: Tue, 18 Jul 2006 06:20:40 -0400 (EDT)

On Tue, 18 Jul 2006, address@hidden wrote:

On Tue, Jul 18, 2006 at 05:57:58AM -0400, Thomas Dickey wrote:
On Tue, 18 Jul 2006, address@hidden wrote:

I'm using vile on a new (to me) Linux shell service via an ssh
connection in an rxvt window.

After setting the vile.keywords file correctly I now get the colours I
expect but all of the background is set black rather than being
unchanged (pale grey).  How do I tell vile (or the terminal) not to
change the background colour when the foreground colour is changed?

It sounds as if the terminfo ($TERM) that you're using doesn't have the
features that vile is looking for to implement "default" color.  That
would be (using infocmp to look) something like

        op=\E[39;49m,

Is that the terminfo on the remote system?  I'm using exactly the same X
display (server) and terminal (rxvt on Solaris) at the 'viewing' end for
both the old system that works and the new system that doesn't.

yes - I don't have the source-code at hand, but don't recall any compile-time dependencies for the terminfo/termcap drivers. If you're using ncurses for the screen-driver (I seem to recall you mentioning that), it still should work consistently. So I'm thinking in terms of the runtime (terminfo entry, etc). For instance, you should be able to

        :set bcolor=default

and see the terminal's default color.  Though perhaps I misinterpreted the
"pale grey". There are a few color schemes that are defined via vileinit.rc, e.g., black, dark, default, light, reverse and white. Some of those use the terminal's default background color, and some use a gray that corresponds to the non-bright white value. It's been quite a while since I defined those, so I have to refresh my memory by doing a

        :set cs<tab>

and trying different ones to see their effect. Perhaps your remote environment is using a different color-scheme value.



Running 'infocmp' on the remote system in my rxvt window I get (along with
lots more of course):-

   op=\E[39;49m, rc=\E8, rev=\E[7m, ri=\EM, rin=\E[%p1%dT,

so it looks OK.

I may have some other things to check on though as my .vilerc file
doesn't seem to be being picked up at the moment.  I'll do some more
checks.

Thanks for the feedback.

--
Chris Green (address@hidden)


_______________________________________________
vile mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/vile


--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net




reply via email to

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