|
Re: fsc_color and z-buffer problem with remote non X-session [message #45641 is a reply to message #45640] |
Fri, 16 September 2005 16:10  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
richardgmcmahon writes:
> I am running IDL on a Unix machine remotely with no X-session
> active. i.e using putty as my terminal.
>
> To make my plots in IDL I am writing to the z-buffer and then
> creating a png that I can then view in a browser. However,
> my session in IDL is crashing when I use fsc_color from
> Dave Fanning's library. See the simple example below.
>
> IDL> set_plot,'z'
> IDL> a=fsc_color('black')
> % Compiled module: FSC_COLOR.
> X connection to cass00:10.0 broken (explicit kill or server shutdown).
>
> Is this me, or a feature of fsc_color.
A feature, I think. We don't want anyone doing anything "irregular". :-)
Since I've never run into this, I'm going to guess that it comes
about by creating a unrealized base widget in order to add the
system colors to the list of colors the program knows about. Maybe
X windows doesn't allow you to do that. I'd comment out that big
IF statement, starting on line 1087, and see if that doesn't fix
the problem.
Let me know. :-)
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
|
|
|