home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: Java / Java.zip / telnet4j.zip / INSTALL < prev    next >
Text File  |  1997-03-14  |  2KB  |  56 lines

  1. ** The Java(tm) Telnet Applet **
  2.  
  3. -------------------------------------------------------------
  4. If you want to use the classes only do the following:
  5.  
  6. * UNIX:
  7.     gzip -cd telnet.tgz | tar xf - \*.class
  8.  
  9. * DOS/Windows:
  10.     pkunzip -d telnet.zip
  11.     * Maybe you can unzip it by just clicking on the
  12.       package or Netscape knows how to handle .zip.
  13.  
  14. This will extract the classes and create the required 
  15. directory structure (/ is \ on DOS/Windows):
  16.  
  17.     telnet.class
  18.     socket/TelnetIO.class
  19.     socket/StatusPeer.class
  20.     display/CharDisplay.class
  21.     display/Terminal.class
  22.     display/TerminalHost.class
  23.     display/vt320.class
  24.     modules/ButtonBar.class
  25.     modules/Script.class
  26.  
  27. -------------------------------------------------------------
  28. In case you like to compile the sources yourself extract
  29. everything and type the following:
  30.  
  31.     make realclean
  32.     make telnet.class
  33.  
  34. The Makefile will compile all classes recursively even though
  35. the java compiler would do this by itself when running 
  36. "java telnet.java".
  37.  
  38. Just typing "make" will print you all available make targets:
  39.  
  40.     make test         - compile applet and run appletviewer
  41.     make telnet       - compile standalone and run telnet
  42.     make doc          - create documentation
  43.     make clean        - delete backup files
  44.     make realclean    - make clean and delete .class files
  45.  
  46. -------------------------------------------------------------
  47.  
  48. Hint: Always remember that the applet can only connect to the
  49.       server it has been loaded from! You will get a security
  50.       exception when trying to connect to some other host.
  51.  
  52.       If you load your applet locally via the file:// URL
  53.       don't forget to set the CLASSPATH environment variable
  54.       to the directory, where the telnet.class resides _before_
  55.       you start your appletviewer or web browser!
  56.