Waldek,
Thanks very much for looking into the Motif problems.
[Apologies for slow response: I've had some other urgent tasks, deadline
today! Now done.]
You wrote:
> I have looked at Motif problems, and at least one is fixed
> now. Let me recall (as Aaron wrote) that the following
> commands in pop11:
>
> uses rc_graphic;
> rc_start();
>
> and clicking on window delete button kills Poplog linked
> to Motif (should only kill window and Poplog should be
> running).
>
> There are actually a few separate issues releated to this.
> First, in V16 ATM startup image is really minimal. 'rc_graphic'
> alone does not install event handler for 'delete window'
> event. Consequently, we get default toolkit action.
> In Xt (X toolkit) this action seem to be closing window.
> In Motif this seem to be killing the whole program.
>
> Long ago Aaron wrote that:
>
> rc_destroy_widget(rc_window);
>
> works correctly. However, in V16, using commands above
> it fails because 'rc_destroy_widget' is not loaded.
>
> To install event handler one needs to load another
> library. For testing I used the following:
>
> uses rc_graphic;
> uses rclib;
> uses rc_mousepic;
> rc_start();
>
> With this sequence typically clicking on window delete
> button did nothing, sometimes it killed Poplog.
> Also
>
> rc_destroy_widget(rc_window);
>
> killed Poplog.
>
> Problem with 'rc_destroy_widget' was because 'rc_destroy_widget'
> apparently called Poplog event handler, but handler did not
> recognize the event and we again got default toolkit
> behaviour. Debugging this was tedious, because most routines
> were in startup saved image and debugging printouts or other
> chenges were only effective after rebuilding saved images.
>
> Anyway, event was not recognized because Poplog used wrong
> declaration of corresponding event structure. This is
> now fixed in git repo. The same problem appeared using Xt
> (X toolkit). But because default action in Xt is to
> kill window, the problem was less visible.
>
> Now, 'rc_destroy_widget' works OK: kill window and leaves
> Poplog running. Still, there is problem with events,
> most to the time event handler is not called. I was
> not able to find any regularity...
>
> To summarize, one problem (unrecgnized event) is fixed.
I would like to install that in the current version of V16. In principle I
should work out how to get the latest poplog from the git repo and use it
to build a new version of the file my download script has been using,
copied from your website
poplog_base.tar.bz2
do you have a script that built that file using contents of github which I
could copy and use to get a new version, so that the current install file
http://www.cs.bham.ac.uk/research/projects/poplog/V16/getpoplog.sh
does not need to be rewritten?
That would be very helpful.
Otherwise I am not a github user so if you could provide commands for me to
create a new version of poplog_base.tar.bz2 I would be very grateful.
I appreciate that you have pointed out that there are remaining obscure
problems!
Aaron