Skip to content

adityagodbole/gofer

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

To compile pugofer:

In the source directory src:

  1. Edit prelude.h to set your platform to 1. Make sure that others are set to 0. Note that OSX compiles with NETBSD.
  2. Edit the Makefile to suit your needs
  3. run 'make'

That should be all ideally.

To lauch:

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
?

Web Server

Using tty.js nodejs module, you can access pugofer over a web server.

  1. Install nodejs using a native package or get it here.
  2. Inside the server directory, run install.sh to install the npm dependencies.
  3. Edit the config in server.js and the user CSS in serverstatic/user.css to your liking.
  4. 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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TeX 38.6%
  • C 37.4%
  • Perl 12.8%
  • Gosu 6.5%
  • Emacs Lisp 2.5%
  • Haskell 0.9%
  • Other 1.3%