How do you change the colour of the cursor to WHITE for a BLACK b ackground ?

Mo DeJong mdejong@cygnus.com
Wed Dec 13 02:11:00 GMT 2000


On Wed, 13 Dec 2000, Dove.John wrote:

> I would like to use SN4.5.2, but I can't see the cursor with the colour
> scheme I'm using. My preferred colour scheme is BLACK background with mostly
> green text.
> 
> I can't find any mechanism for changing the colour of the cursor which is
> always BLACK, when it needs to be green or white etc.
> 
> Any solutions would be greatly appreciated.
> --
> JD

Does this Tk code do what you want? Try running it
in the wish shell installed in the sn bin dir.

text .t
pack .t
.t configure -bg black -fg green
.t configure -insertbackground green

If that is what you wanted, then you will need
to either hack that "$text configure -insertbackground green"
bit into the source code or set the proper X resource
for it.

There is no preferences option for the text insert
cursor color, we really should add one. Anyone
feel like taking a stab at adding a preferences
option for the text insertion cursor?

Mo DeJong
Red Hat Inc


More information about the Sourcenav mailing list