[To reply replace "Aaron.Sloman.XX" with "A.Sloman"]
Marco Antoniotti <marcoxa@cs.nyu.edu> writes:
> Date: 20 Nov 2000 12:30:13 -0500
> Organization: New York University
>
> > E.g. suppose you create a directory ~/poplib, then in your login
> > script do
>
> ...
>
> Thanks for the pointers. However it seems to me that you need to (at
> least) re-link parto of the poplog "system-wide" directory locally to
> do so.
I don't know if anyone else has responded to this, but I don't
really understand it.
I had previously assumed that you had read enough of the
instructions to work out how to start up Polog, so I didn't say
anything about that in my answer to your question about startup
files. Maybe I made a mistake and should have filled that in.
If that is what you are referring to then the answer is
(a) define the environment variable $usepop to refer to the root
directory in which Poplog is installed, e.g.
/usr/local/poplog/v15.53/
(The directory pop should be just below that).
Then do this if you use csh or tcsh
source $usepop/pop/com/poplog
or, if you use sh, ksh, or bash, do
. $usepop/pop/com/poplog.sh
People who use poplog a great deal often put the definition of the
environment variable and the source or "." command in their login
files.
The second command sets up various environment variables, alters
your $PATH, etc.
After that the following commands should work:
pop11
prolog
(or, equivalently: pop11 +prolog)
clisp
(or pop11 +clisp)
pml
(or pop11 +pml)
xved
(see the other things linked to basepop11 in the directory
$popsys, which is added to your $PATH).
Add the flag "%x" if you want to have the poplog control panel
and Xved version of the the editor, e.g.
clisp %x
Alternatively fetch this little package produced for our students:
http://www.cs.bham.ac.uk/research/poplog/setup.tar.gz
untar it and follow instructions. It includes some sample startup
files and alternative .Xdefault entries for Ved/Xved, and a
poplog script that can be put in a bin directory (linked to from a
bin directory) and which can be run as
poplog pop11 %x
poplog clisp %x
poplog prolog %x
or without %x if you want Ved, not XVed.
An alternative way to get Xved without using %x and without getting
the poplog control panel is to put this near the top of your
vedinit.p file in $poplib
if systranslate(DISPLAY) then
;;; $DISPLAY set so invoke XVed
"x" -> vedusewindows;
endif;
Then whenever you start up any of the poplog commands, if $DISPLAY
is set it will start Xved rather than Ved.
> AFAIU, I don't have the option of a "regular"
>
> ~/poplog-init
>
> file, do I?
What would it do?
The closest thing to this is
$poplib/init.p
If you don't define your own $poplib it defaults to ~, in which
case the init file would be
~/init.p
(and for lisp initialisation ~/init.lsp)
> 1 - DEFPACKAGE does not understand the :DOCUMENTATION option.
> 2 - The COMPILE-FILE function should leave some trace on the file
> system. This is just for "compatibility" with other systems.
> Maybe the result of the compilation of "foo.lsp" could be a dummy
> file like
>
> ;;; foo.pfs -- "Dummy" compilation file for 'foo.lsp'.
> ;;; Poplog Common Lisp Version XXXXXXXX
> (load "foo.lsp")
>
> This would help me port MK:DEFSYSTEM.
John Williams at Sussex university built the Poplog Common Lisp
system. However he is now employed to do other things, and may
not respond to such requests.
In principle any changes to Poplog common lisp should be relatively
easy as the sources are all in either Pop-11 or common lisp in the
directory
$usepop/pop/lisp/src/
If you edit any of those files and want to create a new version of
common lisp then save (rename) the common lisp saved image file
$usepop/pop/lib/psv/clisp.psv
then run
$usepop/pop/com/mkclisp
It will recompile the common lisp system sources and create
a new version of
$usepop/pop/lib/psv/clisp.psv
which is invoked by
pop11 +clisp
or just
clisp
alternatively copy and edit $popcom/mkclisp
and change the line
$popsavelib/clisp.psv \
to
$popsavelib/mylisp.psv \
Then if you run the script it will create a saved image in
$popsavelib called mylisp.psv , and you can start that up as
pop11 +mylisp
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 (ReadATas@please !)
PAPERS: http://www.cs.bham.ac.uk/research/cogaff/
FREE TOOLS: http://www.cs.bham.ac.uk/research/poplog/freepoplog.html
|