[Date Prev] [Date Next] [Thread Prev] [Thread Next] Date Index Thread Index Search archive:
Date:Mon Apr 17 05:03:57 2006 
Subject:pop-forum re-packaged AMD-64 poplog 
From:Aaron Sloman 
Volume-ID: 

There is now a re-packaged version of AMD-64 poplog (64-bit poplog)
available here, including a linked version of poplog with all the
standard saved images:

    http://www.cs.bham.ac.uk/research/poplog/v15.6-amd64

Fetch the tar file and untar it e.g. into
    /usr/local/poplog64

In that case the directory
    /usr/local/poplog64/v15.6-amd64/bin

will contain two scripts for starting up poplog, one for bash
users .../bin/poplog.sh

and one for users of csh or tcsh
      .../bin/poplog

Edit the scripts to use a different root directory if you install it
somewhere else. Later I'll integrate this with the installation
procedure for 32 bit poplog.

For sussex users this version of poplog has been copied to

    ~aarons/v15.6-amd64

There remains a mysterious problem if that version of poplog is
liked with motif: graphical windows do not trap the 'close window'
event, and as a result those events cause the whole process to abort.

For that reason amd64 poplog has been linked without motif.

I suspect that for someone who understands the X window system, there
shold be a simple fix, since the XVed windows manage to trap the
close events and shut themselves without crashing poplog. So it should
also be possible to do this for windows created using rc_graphic and
rclib facilities.

In other versions of poplog trapping of 'close window' actions is
handled by a command of this form

        rc_destroy_widget -> XptShellDeleteResponse(shell);

where rc_destroy_widget invokes XtDestroyWidget. There is some reason
why this does not work with 64 bit motif on AMD64, even though it works
on 32 bit machines, and works without motif on AMD64.

XVed seems to use a different way of handling 'close window' actions
which works with Motif. I have not found out how, but I suspect it
involves the use of this instruction

    ;;; set WM_PROTOCOLS to WM_TAKE_FOCUS and WM_DELETE_WINDOW
    ;;; add event handlers for above, and also for XV_DO_DRAG_LOAD
    exacc raw_XpwSetWMProtocols(wvedwindow);

in

    $usepop/pop/x/ved/src/xvedwindows.p

Aaron