comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Wave under X11R4
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Wave under X11R4 [message #212] Thu, 13 February 1992 12:20 Go to next message
thompson is currently offline  thompson
Messages: 584
Registered: August 1991
Senior Member
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
Re: Wave under X11R4 [message #213 is a reply to message #212] Thu, 13 February 1992 13:18 Go to previous message
ian is currently offline  ian
Messages: 26
Registered: February 1992
Junior Member
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-|
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Wave under X11R4
Next Topic: PV-Wave on VAX/VMS

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 16:21:56 PDT 2025

Total time taken to generate the page: 0.40003 seconds