Bug 7225

Summary: gvim: cannot set background to black
Product: [Retired] Red Hat Linux Reporter: darkeye
Component: vimAssignee: Bernhard Rosenkraenzer <bero>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6.1CC: darkeye, kskontor
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2000-01-14 08:24:22 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description darkeye 1999-11-22 14:17:50 UTC
I cannot set the background to back for gvim with the X resources in
.Xdefaults. Used to work in RedHat 6.0, with the following values:

Vim*background: black
Vim*foreground: green

Now gvim ignores them :(

Comment 1 Bernhard Rosenkraenzer 1999-11-22 17:53:59 UTC
Looking into it...

Comment 2 Skontorp, Karl-Martin 2000-01-07 22:40:59 UTC
How about starting gvim like this: gvim -rv

Comment 3 schulz 2000-01-14 08:24:59 UTC
Are you running gnome?

I observed that the .Xdefaults file ist not read as usual when using gnome.
You could verify this with the command

xrdb -query

if the resources get mentioned, you have to blame gvim, if not, dont blame
gvim but try

xrdb -merge ~/.Xdefaults

and see if gvim (or whatever else) now works as you want.
If that is the case, as a workaround, you could add the command

xrdb -merge /home/putusernamehere/.Xdefaults

at priority 10 into the startup programs list in the gnome control center
(as I did). I consider this a bug of gnome or enlightment or whatever.

Yours,
	Martin Schulz

Comment 4 Bernhard Rosenkraenzer 2000-08-30 20:09:33 UTC
gvim isn't supposed to look at .Xdefaults. The old versions that did were using
the Athena widget set, not GTK.