[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference bulova::decw_jan-89_to_nov-90

Title:DECWINDOWS 26-JAN-89 to 29-NOV-90
Notice:See 1639.0 for VMS V5.3 kit; 2043.0 for 5.4 IFT kit
Moderator:STAR::VATNE
Created:Mon Oct 30 1989
Last Modified:Mon Dec 31 1990
Last Successful Update:Fri Jun 06 1997
Number of topics:3726
Total number of notes:19516

1669.0. "DECterm: How to set the cursor color" by CLYPPR::DIAMOND (dtn 264-0582... Nick, don't go!!!) Fri Nov 03 1989 10:31

Is there any way to set the cursor color in a DECterm?  The color seems to be 
chosen at random, sometimes blending into the background color.

Dave
T.RTitleUserPersonal
Name
DateLines
1669.1No, you can't set the cursor colorHANNAH::MESSENGERBob MessengerFri Nov 03 1989 11:0711
Re:. 0

No, you can't set the cursor color.  The cursor is drawn by complementing the
character cell with the plane mask set to the XOR of the text foreground and
background colors.  If you've used ReGIS to draw some other color into the
background and the cursor complements that color, the result is predictable
but essentially "random"; if ReGIS is emulating a 16 color terminal, ReGIS
color 0 becomes 7, 1 becomes 6, 15 becomes 8, etc. (invert the bottom 3 bits
of the ReGIS color number).

				-- Bob
1669.2How to? Anyone tried?CLYPPR::DIAMONDdtn 264-0582... Nick, don't go!!!Fri Nov 03 1989 11:395
Hmm.  OK.  Has anyone solved this problem by drawing to the background,
thereby making the cursor color predictable?  How would I do this?  Is it
documented?

Dave