[To reply replace "Aaron.Sloman.XX" with "A.Sloman"]
This is a very late response to this message from
Vesa A Norrman <vnorrman@delta.hut.fi>
> NNTP-Posting-Date: 11 Jan 2000 19:23:08 GMT
> Date: 11 Jan 2000 21:23:06 +0200
> Organization: Helsinki University of Technology, Finland
>
> Hello,
>
> Is it possible to use the X Window System with Poplog Standard ML?
> What kind of interface is available?
>
> --
> Vesa Norrman <vnorrman@cc.hut.fi>
Robin Popplestone previously wrote
> You'd have to do this by binding the POP-11 facilities into the
> SML. See help mlinpop.
It may be helpful to add that if you are not already aware of this,
the poplog system, through Pop-11, provides a very rich interface
to the X window system, at various levels of abstraction. For
instance it is the basis of the XVed editor, a sophisticated
(partly emacs-like) programmable multi-window editor based on the
poplog scrolling text widget.
The poplog X facilities include both a collection of motif-based
utilities (which can be used with lesstif unders linux) and also the
Poplog widget set, which is independent of motif, and is the basis
for XVed, the RC_GRAPHIC and RC_GRAPHPLOT libraries, and also the
RCLIB package available from this site:
http://www.cs.bham.ac.uk/research/poplog/freepoplog.html
See
http://www.cs.bham.ac.uk/research/poplog/rclib/
http://www.cs.bham.ac.uk/research/poplog/rclib.tar.gz
(This has been used successfully for producing graphical
interfaces for a number of student projects of varying kinds here
in Birmingham.)
David Young's popvision library, developed at Sussex university,
is available from the same site. It also uses the Poplog/X
interface, and includes a variety of tools for manipulating images
and much teaching material. See
http://www.cs.bham.ac.uk/research/poplog/popvision/
http://www.cs.bham.ac.uk/research/poplog/popvision.tar.gz
The Poplog X libraries are well documented if you are knowledgeable
about the X window system, in these directories
$usepop/pop/x/pop/ref
$usepop/pop/x/pop/help
$usepop/pop/x/pop/teach
And for XVed facilities:
$usepop/pop/x/ved/ref/
$usepop/pop/x/ved/help/
$usepop/pop/x/ved/teach/
For programmers who are less knowledgeable about X, the RCLIB
package probably provides a much easier way into producing graphical
interfaces in the Poplog environment (and is "softer", i.e. more
easily programmable at the poplog level).
All those ref, help and teach files are browseable within poplog if
you have it, otherwise here (stripped of XVed's graphic characters
which can get in the way of some browsers):
http://www.cs.bham.ac.uk/research/poplog/doc/
Everything referred to above is programmable in Pop-11, which
invokes external C libraries to drive the X server, where
appropriate.
Likewise ML can be used to drive all those facilities by invoking
Pop-11.
As Robin stated, this will require use of the facilities described
in
$usepop/pop/pml/help/mlinpop
also browseable at
http://www.cs.bham.ac.uk/research/poplog/doc/pmlhelp/mlinpop
I hope that helps.
Aaron
==
--
Aaron Sloman, ( http://www.cs.bham.ac.uk/~axs/ )
School of Computer Science, The University of Birmingham, B15 2TT, UK
EMAIL A.Sloman AT cs.bham.ac.uk (NB: Anti Spam address)
TOOLS: http://www.cs.bham.ac.uk/research/poplog/freepoplog.html
|