On Aug 22, 2012, at 11:46 PM, Alan W. Irwin wrote:

> Hi Jerry:
> 
> Do you have success with any other X application? The reason I ask is
> the above error message may simply mean that X is badly installed on
> your platform.  Of course, if X were badly installed on Linux it would
> be catastrophic since X is so important on that platform, but my
> understanding is that X is not very important on Mac OS X.  Therefore,
> on that platform you might have a bad X installation and not know
> about it (except by running some classical X applications such as
> xterm, xeyes, oclock, etc.)
> 
> Alan

Hi Alan,

My X system as far as I know has always worked OK, both with plplot and other 
programs. On Plplot, X-Window (Xlib) is always the first choice and it has 
always worked--X launches and a graphics window appears with the plplot stuff 
in it. I can also run the programs you mention, and I have in the past run 
Grace and a version of OpenOffice among others. This is the X systems that 
Apple ships as part of the developer tools.

Here is what I think I know about Tcl/Tk on OS X. tclsh is available at the 
command line. wish is also available and runs with a native ("Aqua") look and 
feel. These are installed either out of the box or as part of the developer 
tools. wish can be built for X if desired (Wikipedia) but an X version is 
apparently not available out of the box. When I type wish in any OS X terminal 
or Xterm, the native wish shell launches and can run the widget demos, all of 
which work and are rendered in native Aqua.

So the point here is--wish on OS X runs natively, not as an X app.

Typing /usr/local/plplot/bin/plserver causes a native program to run that looks 
exactly like wish except the background on the window which displays the list 
of demos is gray instead of white, and the program name that is displayed is 
"plserver" instead of "Wish".

When I run x01c and choose device Tcl/TK Window, a native program is started 
called plserver but looks different--in its own window near the top is a 
drop-down menu with items About... and Exit. (Remember that on OS X, the 
standard menus are in a menu bar that is fixed at the top of the screen, not 
attached to each window.) When About... is chosen, a description of PLplot 
appears in a new window. There is another drop-down menu Help with items On 
Tcl/Tk, On GUI, and On Keys-- each of these opens a new window with help 
information. No plot appears, and as I have described before, when Quitting the 
program using the standard menu bar menu, it hangs and has to be force-quit. No 
plot ever appears. If I select Exit from the first menu in the window, the menu 
turns gray for a few seconds but the program continues to run. Typing exit in 
the terminal causes the program to stop running.

Jerry
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to