Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!src.honeywell.com!msi.umn.edu!noc.MR.NET!uc!msc.EDU!ken From: ken@msc.EDU (Ken Chin-Purcell) Newsgroups: comp.sys.sgi Subject: rectcopy in overlay planes - VGX Keywords: rectcopy bomb VGX Message-ID: <1990Nov8.215809@msc.EDU> Date: 9 Nov 90 03:58:09 GMT Sender: news@uc.msc.umn.edu Reply-To: ken@msc.umn.edu Organization: Minnesota Supercomputer Center Lines: 34 I would like to scroll text in the overlay planes, but rectcopy is misbehaving. For instance, the following core dumps: #include main() { long winID; prefsize(300, 200); foreground(); winID = winopen("rectcopy"); clear(); drawmode(OVERDRAW); mapcolor(1, 255, 255, 255); color(1); cmov2i(50, 50); charstr("try me out for size"); rectcopy(50, 50, 200, 100, 10, 10); /* bombola! */ drawmode(NORMALDRAW); pause(); } Take out the 'drawmode(OVERDRAW);' and it works as expected. By trial and error I've discovered that setting 'overlay(4)' avoids a core dump, but produces strange results. Could some kind soul show me the light? Thanks. -- -- Ken