[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

1300.0. "How do you restore default colormap without running DECW$STARTUP RESTART ?" by TARDS::AGE (Aage Ronning) Fri Aug 18 1989 05:41

I have a customer who has problems on his 4-plane VS2000, because he is getting
COLORMAP FULL all the time. He understands why he gets this message while 
running a lot of color applications. He's problem is that even after stopping
the different images he gets colormap full messages he has to acknowledge when
he starts working again.
He has to make a @DECW$STARTUP RESTART to restore the default colormap.

Is it another way to restore the default colormap ?

Is there another way to get rid of these messages ?

I have read a lot of notes concerning Colormap, but can't find anything
about this.

Aage

T.RTitleUserPersonal
Name
DateLines
1300.1Check use of RetainPermanent close down modeSTAR::ORGOVANVince OrgovanMon Aug 21 1989 18:276
    Normally the server is supposed to free all colormap entries
    allocated by a client when the client closes the display connection.
    However, clients can override this behavior using the XSetCloseDownMode
    routine. Perhaps your customer is using XSetCloseDownMode with the
    RetainPermanent setting?

1300.2Using standard applications, but some are displaying in REGIS.OSLKC::AGEAage RonningTue Aug 22 1989 10:4012
Hi,

Thanks for the suggestion, but I don't think the customer use this routine.

He is running standard applications like 2020, DECchart? and some 3-party
products. Some of these products are displaying REGIS-graphs. Any problems?

Even if the programs are screwing things up, is there a way to restore the
default colormap without running DECW$STARTUP RESTART.

Aage

1300.3This is how ReGIS works on a 4-plane system in V1HANNAH::MESSENGERBob MessengerTue Aug 22 1989 12:3319
Re: .2

I assume the customer is running DECwindows V1 (i.e. he isn't running field
test software).  On a 4-plane color system, when an application displays
ReGIS graphics DECterm allocates a private colormap for that window.  If
the window with ReGIS has the input focus, the entire workstation switches
to that colormap, so the ReGIS window displays in its true colors, and if
another window has the input focus the workstation uses the default colormap,
so the ReGIS window does not display in its true colors.  You can return the
ReGIS window to using the default colormap by invoking the Clear Display
and Reset Terminal commands from the Commands menu.

I've never seen the "colormap full" message.  Is this output by an application?
If so, which one?  If you run a DECwindows application while the ReGIS
window has a private colormap, the DECwindows application should allocate
its colors out of the default colormap, so there should be no problem.

				-- Bob