[comp.sys.sgi] scrsave.c

davis@masig1.ocean.fsu.edu (Alan Davis) (07/15/89)

Several months ago our group bought a Tektronix 4693D printer for our IRIS.
After learning that SGI first was, then wasn't going to release their driver
for that printer, I wrote our own driver for a 3130 machine.  The software
works great and a number of other people have requested it for their 4D
machine.  Unfortunately there are a couple of window manager compatability
problems.  First, on the 3130 you can copy the whole screen as when the
mex is running you have to be in colormap mode.  This is not the case on the
4D as you can mix colormap and RGB modes.  Second I am unable to copy the
screen outside of an existing window.  Upon doing a little investigation on
a Personal IRIS I discovered the new version of scrsave.c used by icut which
has no trouble copying the whole screen in any mode.  There are two
undocumented routines in there:
	wmplanes() and gl_readscreen()
which look rather suspicious.  Does anyone have some info concerning these
routines and/or has anyone sucessfully used them or are there other routines
which I should be using?  Thanks for your help.

--
          Alan Davis                |
Mesoscale Air-Sea Interaction Group | TCP/IP davis@masig1.ocean.fsu.edu
    Florida State University        |             (128.186.3.1)
    435 OSB  Meteorology Annex      | SPAN   scri::"davis@masig1.ocean.fsu.edu"
    Tallahassee, FL 32306-3041      | BITNET davis%masig1.ocean.fsu.edu@cunyvm
         (904) 644-3798             |
_______________________________________________________________________________

blbates@AERO4.LARC.NASA.GOV ("Brent L. Bates TAD/TAB ms294 x42854") (07/17/89)

    When I wrote my screen dump routines, I didn't bother to use 
scrsave, since it wasn't documented, and wrote my own.  Mine copies
only the entire screen, not just part of it or just one window.
We have a 3130.  A few people have requested my software, but I haven't
had a chance to put it on info-iris yet, sorry.  I'll try to get that
done.
--

	Brent L. Bates
	NASA-Langley Research Center
	M.S. 294
	Hampton, Virginia  23665-5225
	(804) 864-2854
	E-mail: blbates@aero4.larc.nasa.gov or blbates@aero2.larc.nasa.gov