			 Xrouter Version 182i
			 ~~~~~~~~~~~~~~~~~~~~

This is a very minor upgrade, mainly of interest to those who are running
the HTTP server.  The only differences between this and 182g are a small
bugfix in the HTTP server code, and a slight rearrangement of the chat
server code.  There are no functional changes other than the fact that
the chat peer links now time out after 15 minutes of inactivity.

The main purpose of this package is to "officially" release the Java
applet which can be used to access Xrouter from a web page.  A number of
you had already "lifted" the prototype v0.11 applet from my site, but
you will find this version (v0.12) offers you more flexibility.

For instance, with v0.12 you can change the applet colours and font,
the number of rows and columns displayed, and the connection mode (normal
or http tunneled).

I have included the new XWEB.CLA file, plus 3 rudimentary .HTM pages for
you to examine or experiment with.  CONNECT.HTM is the menu page for 3
types of connection, and would typically be accessed via a "connect" link
on the main page.  You may however wish to put the 3 connect options
directly on the main page, it's up to you.  CONN23.HTM uses the Java
applet to perform a normal telnet connect to port 23.  The port number
is configurable (see below), so you could clone the page for use with
your chat server.  CONN80.HTM uses the Java applet to perform a
"tunnelled" connection, which can be used via corporate firewalls.

The parameters which can be used with the applet are as follows:

   Param name     Default      Description
   ----------------------------------------------------------------
   rows           22           No. of rows in text window
   cols           80           No. of columns in text window
   bgcolor        Dark grey    Applet background colour.
   borderColor	  Light grey   Applet framework colour.
   textBackground Black        Background for text window and cmd line.
   textColor      White        Colour of sent / rcvd text.
   font           Times        Font style used for sent / rcvd text
   port           9999         TCP port number for connections.
   mode           Normal       Connection mode (normal / proxy).

The only mandatory parameter (unless you happen to use port 9999 for
telnet :-) is "port".  This should normall be 23 for a normal telnet
connect or 80 for an http-tunnelled connect, but you may use other
values if you have mapped your TCP ports.

Colours should be specified as a 24 bit hexadecimal number in 'C' style,
e.g. 0xEECCFF, where the first 2 digits represent the RED value, the
second two digits represent the GREEN value and the last two digits
represent the BLUE value.  Some browsers can only display 216 discrete
colours, so you should prefarably use the "browser-safe" values, which
are all formed from combinations of 00, 33, 66, 99, CC and FF.

The default font is quite small, and the characters are not of a
constant width, which means tables sent by Xrouter will not line up
correctly.  You may use the "font" parameter to override the default.
The recommended font is "Courier", which is slightly larger and uses
constant width.  Note: if the chosen font is not found on the client's
computer, the default will be used, so stick to the common ones.

You may need to reduce the number of rows or columns displayed by the
applet if you find it won't fit on a 640*480 screen (I haven't tested
it on 640*480 but the applet is smaller than those limits.  It fits
nicely on 800*600, but you may wish to optimise it for another screen
size, or even offer users the choice.

If you change the font, rows or cols, you may need to tweak the WIDTH
and HEIGHT attributes in the APPLET tag to prevent parts of the applet
from being obscured.

Don't forget, although the Java applet is called XWEB.CLA (because DOS
can't display long file extensions), it must be called "xweb.class" in
any link, otherwise the browser will not recognise it as an applet.

73, Paula 7/3/03
