Setting up Jago on your WWW Server

If you maintain a WWW server, you may install Jago on your server so that users can connect to the internet servers with their browser. To do this, the server must have a Java installation, since the relay program is written in Java. (Advanced programmers might be able to program a relay demon in C - please send me a copy). If your web server is identical to the go server, you can do without a relay demon.

The procedure is complicated by the existence of two Java versions. I support only the new 2.xx Jago version, which is completely contained in the jago.jar file.

You will have to copy jago.jar (in case of the 1.xx version, unzip jago.zip and get all classes and help texts) to a directory on your server. Furthermore, you need to compile the Relay.java class. Since you need Java anyway, you will have a Java compiler. The compilation is done by

javac Relay.java

Then start the relay server with

nohup java Relay 6971 32 &

This assumes that 6971 is the port number you wish to use and you allow a maximum of 32 connections. As usual, you start the process in the background and prevent it from being shut down, when you log out (with nohup).

Having done this, you may start Jago on the server or locally as described above. Switch relay on and set the correct relay host and port. Then try to connect to some go server site. Open all possible board and settings windows and adjust the sizes to your liking (this will be saved in the configuration file go.cfg).

Then copy go.cfg and server.cfg from the active directory to the WWW directory, unless you did not already run Jago from that directory (in which case you inspect the server.cfg file for your IGS password and name and set the name to YourName and cancel the password).

You can also add the line

smtp www-host

to the go.cfg file, where www-host is the name of your server. Then your server must run an SMTP demon.

The applet to be inserted into your page looks like this

<applet archive="jagoclient/jago.jar" code="Jago.class" name="Jago" width="10" height="10">
Your browser does not support Java
</applet>

Setting up Jago on a Go Server

If your web server is the go server and you do not run a relay demon, you should use a restricted applet. This version will not allow the user to connect to anything else but your server. I.e., the corresponding buttons and menu items are missing. Jago will be started in that mode, if you insert the name and port parameters.

<applet archive="jagoclient/jago.jar" code="Jago.class" name="Jago" width="10" height="10">
Your browser does not support Java
<param name=server value=igs.server.internet.address>
<param port=server value=igs.server.port>
</applet>