In the source directory src:
- Edit prelude.h to set your platform to 1. Make sure that others are set to 0. Note that OSX compiles with NETBSD.
- Edit the Makefile to suit your needs
- run 'make'
That should be all ideally.
Running ./launch.sh from the repostory root should give you a gofer session
with a temporary module loaded along with the prelude. You can type :e to
edit the temporary module in $EDITOR. Quitting the editor causes the changes
to be reloaded.
The name of the prelude can given in the ENV variable GOFERPRE. By default, it is
pusimple. All arguments passed to launch.sh will be subsequently passed to the
gofer command.
Eg.
$ ./launch.sh
Gofer Version 2.30a
Modifications for pugofer Rusi Mody
Copyright (c) Mark P Jones 1991-1994
Copyright (c) Rusi Mody 1995-2012
Gofer session for:
./lib/pusimple.prelude
/var/folders/lh/tf7l9p512hnd5jkhgrb1rfz40000gn/T//pugofer-25062.hs
?
$ GOFERPRE=simple ./launch.sh -S
Gofer Version 2.30a
Modifications for pugofer Rusi Mody
Copyright (c) Mark P Jones 1991-1994
Copyright (c) Rusi Mody 1995-2012
Gofer session for:
./lib/simple.prelude
/var/folders/lh/tf7l9p512hnd5jkhgrb1rfz40000gn/T//pugofer-18161.hs
?
Using tty.js nodejs module, you can access pugofer over a web server.
- Install nodejs using a native package or get it here.
- Inside the
serverdirectory, runinstall.shto install the npm dependencies. - Edit the config in
server.jsand the user CSS inserverstatic/user.cssto your liking. - Start with
node server.js
Note: Don't change the shell configuration in server.js unless you know what you are doing.
Click on "Open Terminal" to launch a gofer session