http://www.cs.bham.ac.uk/research/poplog/com/startup/bham+default+tcsh
$local/com/startup/bham+default+tcsh
Aaron Sloman
http://www.cs.bham.ac.uk/~axs/
29 Oct 2003

RUNNING POPLOG

POPLOG WITH BHAM EXTENSIONS IN THE DEFAULT LOCATION,
FOR TCSH and CSH USERS

If you have installed poplog with Birmingham extensions, then how you
run it will depend on whether it is in /usr/local/poplog or somewhere
else.

If Poplog is in /usr/local/poplog, and if the installation script
successfully installed a symbolic link from
    /usr/local/bin/poplog

to
    /usr/local/poplog/local/setup/bin/poplog

Then, you should be able to run poplog commands by prefixing them with
'poplog'.

E.g.

    rehash

    poplog pop11

        Will start up pop11

    poplog xved myfile.p

        Will start up XVed (the multi-window version of the poplog
        editor Ved) and will read your file called myfile.p, if it
        exists, or will start a new file with that name.

NOTE: before doing this for the first time in an xterm window after you
have installed poplog, if your shell is tcsh or csh you will have to
type

    rehash

That 'rehash' command is not necessary if your shell is bash, or if you
have logged out and logged in after installing poplog.

However, if you wish to be able to run pop11, ved, xved, etc. without
having to type 'poplog' before each command, you can do this, which does
not require a link in /usr/local/bin/

    Give this 'source' command to set the environment variables:

        source /usr/local/poplog/local/setup/bin/poplog

    That will print out something like

        Sussex Poplog Version <version number>

    and you will then be able to run pop11, xved, clisp, prolog, etc.
    without the poplog prefix until you exit from that shell.

    Every time you start a new xterm window or log out and log in you'll
    have to repeat the above 'dot' command.

    You can avoid the need to repeat it by putting this in your .login
    file:
        source /usr/local/poplog/local/setup/bin/poplog

    Then after logging in or starting a new xterm window running a login
    shell you will be able run pop11, Xved, clisp, prolog, etc.,
    directly. E.g. to start up xved on your pop11 file called myfile.p

        xved myfile.p


For more information see
    http://www.cs.bham.ac.uk/research/poplog/userguide.html

which should have been installed in poplog as

    $usepop/man/man1/userguide.html
