#!/bin/sh
## $poplocal/local/com/startup/run-eliza-nonstop
## run this in a directory containing the poplog.sh startup script
## created when poplog is installed, or a copy of it.
## Aaron Sloman
##  12 Nov 2003

## set poplog environment variables
. poplog.sh

## Run pop11 with eliza
## This should run the code in $poplocal/local/lib/elizaprog.p
## invoked via $usepop/pop/lib/auto/eliza.p

pop11 ":eliza()"

## Restart this script. This means that the only way to stop this
## is to suspend (CTRL-Z) and kill the suspended process (kill %1) or
## kill it from another shell
exec run-eliza-nonstop
