[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

968.0. "REGIS terminal window not redrawn" by BOSTON::RYAN (Crosseyed and Painless) Fri Jun 16 1989 15:02

    I looked for other notes that would relate to this topic but couldn't
    find any sooooooo...
    
    I have a customer that has a VAXStation 3100.  When running DECwindows
    he calls up a statistical package that work in REGIS mode.  He terminal
    has been set to REGIS and as a VT340 through DCL commands and also
    through the Terminal Window's Customization Menu.
    
    The problem is that after pulling a window over the REGIS screen and
    then removing it, the REGIS window does not get repainted.  The
    customer says that through some people at DECUS he heard it was
    a known bug.
    
    Is this a known bug or are we doing something wrong?
    Is there a resolution to this now or will there be one in the future?
   

    Thanks in advance -
    
    Mike
    
    

T.RTitleUserPersonal
Name
DateLines
968.1Sudden exposure...17305::WESTI'm just visiting this planet.Fri Jun 16 1989 15:5521
  Not real sure what DECterm does with expose events.  Normally the client
will receive an expose event(s) when some portion of its window becomes
'visible'.  It is the responsibility of the client to process the expose
event since the current implementation of the server does not do backing
store.

  I don't think that the DECterm window remembers what has been 'drawn' to
it and therefore has no way to re-generate the image upon receipt of an
expose event.  

  Sounds like this stat package should do something along this line.

  From the sound of your note I don't think that what is happening is a
bug.  I could be wrong.

						-=> Jim <=-
    
    


968.2DECterm does redraw graphicsHANNAH::MESSENGERBob MessengerFri Jun 16 1989 16:3919
Re: .0

What DECterm does for graphics is to allocate a pixmap the size of the
logical terminal (which is usually but not necessarily the size of the
DECterm window).  Any graphics that are written to the window are also
written to the pixmap.  When DECterm gets an exposure event (assuming
graphics are visible) it first copies the corresponding rectangle from
the pixmap to the window and then over-writes this with text (which is
kept in a separate display list).

It sounds like what's happening in your case is that DECterm's XCreatePixmap
call is failing, because there isn't enough (off screen?) memory available
for pixmaps.  This may relate to a server bug I've heard of where pixmaps
aren't freed properly, or else pixmap space becomes fragmented.  Supposedly
this is fixed in VMS V5.2.  Maybe one of the server people would like to
comment on this.

				-- Bob

968.3Only Regis Terminal Has This ProblemBOSTON::RYANCrosseyed and PainlessMon Jun 19 1989 09:0418
   I would like to assume that memory is Okay for this system.  It has
   16 meg and DECterm does not have any problem restoring other terminal
   windows when exposure events occur.  
    
   It only happens if the terminal is displaying Regis graphics.  
    
   Can anyone else verify this for me?   Just display a Regis application
    on your decterm window, cover it up with a pull-down window and
    then remove the pull down window.  In our case, the part covered
    is not redrawn.
    
    Maybe it is our machine, but I'm beginning to doubt that.

    
    Thanks to all that have answered so far.  The help is appreciated.
    
    Mike

968.4Probably a problem with that particular systemHANNAH::MESSENGERBob MessengerMon Jun 19 1989 11:4929
Re: .3

>   I would like to assume that memory is Okay for this system.  It has
>   16 meg and DECterm does not have any problem restoring other terminal
>   windows when exposure events occur.  
>    
>   It only happens if the terminal is displaying Regis graphics.  
    
The fact that DECterm can redraw text correctly is irrelevant, since it
redraws text in a completely different way: it stores the ASCII character
codes of the characters in the window and redraws them by calling
XDrawImageString.

>    Can anyone else verify this for me?   Just display a Regis application
>    on your decterm window, cover it up with a pull-down window and
>    then remove the pull down window.  In our case, the part covered
>    is not redrawn.
    
It works for me in the baselevel I'm running, and it certainly worked in
the SDC version of VMS V5.1.  I don't have a VAXstation 3100 (that's
VAXstation and not DECstation, right?) but I haven't heard massive complaints
about a lack of ReGIS backing store on VAXstation 3100s, so it sounds like
some kind of problem with your customer's system.  I can't think of what
the problem could be, other than that the XCreatePixmap call is failing for
some reason.  Maybe the server process can't expand its address space because
of quotas or SYSGEN limits.

				-- Bob

968.5problem in V5.1 ??TALLIS::ZANZERKIAMon Jun 19 1989 16:2014
    .4
    	It seems that problem may have been fixed in V5.2
    
    	I have SDC VMS V5.1 and it does have problems with sixel graphics
    	in decterm windows.
    
    	type a sixel file in the DECterm window. It paints the file OK
    	however if you pulldown a menu or overlap a window the background
    	leaves a hole in the display.
    
    	This is on VaxStation II, 13MB, mono.
    
    Robert

968.6I haven't seen V5.1 run on all configurations...HANNAH::MESSENGERBob MessengerMon Jun 19 1989 20:5112
Re: .5

Nothing was changed in DECterm in V5.2 that could have affected the way it
redraws graphics (although as I've said I've herd that there was a server
change that could affect this), and both ReGIS and sixels should be redrawn
from the backing store (although sixels aren't always redrawn in the correct
colors on monochrome systems).  I haven't tested V5.1 on a VAXstation II mono,
though; so maybe there's some kind of problem on both VSII and VAXstation 3100
systems.

				-- Bob

968.7Coupled to DECterm scrollingCZARS::MCGUIRESoftware DrivenTue Jul 11 1989 13:5812
    I realize this may be a bit late, but it takes me a while to catch
    up with this conference :^)
    
    Running SDC Decwindows 1.0/VMS 5.1 on a 32 MB VAXstation 3500 I have
    observed the following behaviour.  If vertical scrolling (in DECterm)
    is enabled then obscured REGIS images will NOT be refreshed.  If
    vertical scrolling is disabled then obscured images will be properly
    redrawn.
    
    -Gerry 
          

968.8Check the Source -> Release Notes!SKRAM::SCHELLMark Schell, SWS, Carolinas District, 367-7040Tue Jul 11 1989 23:4012
>    Running SDC Decwindows 1.0/VMS 5.1 on a 32 MB VAXstation 3500 I have
>    observed the following behaviour.  If vertical scrolling (in DECterm)
>    is enabled then obscured REGIS images will NOT be refreshed.  If
>    vertical scrolling is disabled then obscured images will be properly
>    redrawn.


	Thot I remembered something about this in the VMS 5.1 release notes.  I
think this is currently a restriction or limitation.

Mark