I didn't get any response on this the last time I posted, so let me rephrase things. I'd like to have MacPerl create a window and draw pictures in it. I'd like to have MacPerl control the interaction between user and window (eg, draw a line when a key is pressed). Is there a module or other set of techniques for this? For instance, the GD module might be helpful for drawing in a window, but CPAN says it doesn't work with MacPerl. I am trying to do this now with xcmds, but without reliable results so far. For example, I call an xcmd that puts up a window, sets the port, draws, and then restores the original port. This is ok, except that when control passes from the xcmd back to macperl, the window is put in the background. I'd like to keep the window in the foreground for further interaction with the user. Rob ***** Want to unsubscribe from this list? ***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch