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

Syd Polk spolk@redhat.com
Wed Dec 13 09:23:00 GMT 2000


But your other applications must have problems with black cursors, too.
We have no control of the cursor color on NT.

"Dove.John" wrote:
> 
> My apologise for forgetting to mention that I'm using SN4.5.2 on an NT
> workstation.
> 
> -----Original Message-----
> From: Mo DeJong [ mailto:mdejong@cygnus.com ]
> Sent: 13 December 2000 10:11
> To: sourcenav@sources.redhat.com
> Subject: Re: How do you change the colour of the cursor to WHITE for a
> BLACK b ackground ?
> 
> 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