Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado
In article <PH.92Feb13101317@vortex.ama.caltech.edu>, ph@vortex.ama.caltech.edu (Paul Hardy) writes... > > ... when PV-Wave is > run, upon exiting X-windows, color Sparcstations do not display any characters > on the screen ... I am using IDL with OpenLook, but I've seen the same behavior. The fix is to call the routine "clear_colormap" immediately after exiting from X-windows. I ensure this by running X-windows from inside a shell script with the following line being "clear_colormap", i.e. #!/usr/bin/csh setenv IDL_DEVICE x setenv OPENWINHOME /usr/openwin $OPENWINHOME/bin/openwin -noauth $* clear_colormap Bill Thompson
In article <PH.92Feb13101317@vortex.ama.caltech.edu> ph@vortex.ama.caltech.edu (Paul Hardy) writes: > > run, upon exiting X-windows, color Sparcstations do not display any characters > on the screen, either for input or output, but commands are accepted and > executed. Somehow the tty or video is left in a strange state if PV-Wave > runs. Has anyone else experienced this, and know of a workaround to reset > the video/keyboard upon exiting X? I have experienced this. What is happening is that Wave is changing the colormap for the Sparc. The base Wave color table (B/W Linear) causes plots to be white lines on a black background. Unfortunately, this translates to white letters on a white background once you exit X. Doing a "clear_colormap" command, or reinvoking X will fix it. Alternatively, the last thing you can do before exiting Wave is to load a color table where the top value is black. The "prism" color table, number 6 I think, will do. |-Ian Novack (Particle Man)----------------------------ian@gomez.jpl.nasa.gov-| | "Don't worry about it. Humans provide some very Jet Propulsion Lab | | important protein." -- Hobbes, to Calvin Pasadena, CA | |-Disclaimer: They might be fake, they might be lies. -- They Might Be Giants-|