home *** CD-ROM | disk | FTP | other *** search
/ BURKS 2 / BURKS_AUG97.ISO / BURKS / LANGUAGE / ADA / LOVELACE / install.txt < prev    next >
Text File  |  1997-04-08  |  11KB  |  302 lines

  1. This file provides installation instructions and related information
  2. useful for setting up a `local' version of:
  3. * Lovelace, an Ada 95 tutor
  4. * mklesson, a tutor generator
  5. * Small, a sample Ada 95 Object-Oriented program.
  6.  
  7. This file is divided into the following sections:
  8.   1. LEGAL NOTES
  9.   2. WHERE TO FIND CURRENT VERSIONS
  10.   3. INSTALLATION INSTRUCTIONS
  11.   4. IF YOU'RE CRAMPED FOR DISK SPACE
  12.  
  13. =============================================================
  14.  
  15. 1. LEGAL NOTES
  16.  
  17. The Lovelace Ada tutorial & mklesson (tutorial generator)
  18. are covered by the GNU General Public License and/or
  19. Library General Public License; see the file legal.htm
  20. for more information. Unless otherwise noted, this material is
  21. Copyright (C) 1994-1995 David A. Wheeler.
  22.  
  23.     This program is distributed in the hope that it will be useful,
  24.     but WITHOUT ANY WARRANTY; without even the implied warranty of
  25.     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  26.     GNU General Public License for more details.
  27.  
  28. Small is, in essence, public domain; see the legal notes in file
  29. "legal.htm" for a more exact description of Small's legal status.
  30.  
  31. This tutorial is not an endorsement.
  32. This tutorial was developed on my own time (off-hours).
  33. I do work at the Institute for Defense Analyses (IDA), but
  34. this tutorial does not represent any kind of endorsement by IDA,
  35. the Ada Joint Program Office (AJPO),
  36. the U.S. Department of Defense (DoD), or the U.S. Government.
  37.  
  38.  
  39. =============================================================
  40.  
  41. 2. WHERE TO FIND CURRENT VERSIONS
  42.  
  43. If you've already downloaded current versions of the files you need
  44. (the Lovelace files, an uncompressing program like pkunzip, and 
  45. a Web browser), you can skip to section 3 below.
  46.  
  47. Lovelace is distributed on the World Wide Web,
  48. with the current home page URL of:
  49.  http://www.adahome.com/Tutorials/Lovelace/lovelace.htm
  50. Use a World Wide Web browser and go to that URL to see
  51. the latest version of Lovelace.
  52.  
  53. If you can use "ftp" but aren't set up to use the Web, you can use
  54. ftp to download Lovelace.  Here are the commands you'd use for a
  55. typical text interface:
  56.    ftp
  57.    open lglftp.epfl.ch
  58.    user anonymous YOUR_EMAIL_ADDRESS
  59. {use username "anonymous", and your email address as your password}
  60.    cd /pub/Ada/HTML
  61.    binary
  62. Then you get the file by running (for the zip format):
  63.    get lovelace.zip
  64. or (for the tar/gunzip format):
  65.    get lovelace.tar.gz
  66.  
  67.  
  68. If you don't have a program to uncompress the zip file format, you
  69. can obtain an index of programs to do this for you from URL:
  70.    ftp://ftp.uu.net/pub/archiving/zip/Index
  71. To retrieve this file using ftp, type:
  72.    ftp
  73.    open ftp.uu.net
  74.    user anonymous YOUR_EMAIL_ADDRESS
  75. {use username "anonymous", and your email address as your password}
  76.    cd /pub/archiving/zip
  77.    ascii
  78.    get Index
  79. Then read the index file you receive.  When you've decided which
  80. file you need, do the same as above, but instead of typing ascii, type:
  81.    binary
  82.    get NAME_OF_FILE_YOU_WANT
  83.  
  84.  
  85. If you don't even have an ftp connection, but you have a working
  86. email connection, you can still get the files, though it's not nearly
  87. as easy or quick.  What you need to do is send an email message to a
  88. service that will execute ftp requests for you and send you the results
  89. by email.  Here are some such services, as noted by IEEE Institute,
  90. November 1995:
  91.  
  92.   bitftp@pucc.princeton.edu
  93.   ftpmail@decwrl.dec.com
  94.   archive-server@Germany.eu.net
  95.   ftpmail@ftp.uni-stuttgart.de
  96.   mail-server@cs.tu-berlin.de
  97.   archive-server@ibr.cs.tu-bs.de
  98.   mailserver@Leo.org
  99.  
  100. Send an email message to one of the above sites (or another one you
  101. identify) with no subject line and a single message line saying "help".
  102. You will get a reply stating how to use the service.
  103.  
  104. In general, you'll need to mimic an ftp session in the message body
  105. sent to these services. The text commands
  106. listed above for ftp commands will be very useful to you.
  107.  
  108. Binary files can't be reliably sent over normal email without packing
  109. it up as some sort of text format; one of the most common such formats
  110. is "uuencoding".  You'll need to specify this packing format when you
  111. talk to such services, and once you get the data via email to your
  112. machine, you can then unpack it (say using uudecode) to turn it back
  113. into a normal file.  Unfortunately, many email systems don't do this
  114. binary unpacking automatically.
  115.  
  116. If you're doing this by email, good luck to you.  If you get stuck,
  117. consult a local "guru" on the intricacies of obtaining binary files
  118. with ftp and email.
  119.  
  120.  
  121. =============================================================
  122.  
  123. 3. INSTALLATION INSTRUCTIONS
  124.  
  125. You should have received a compressed file containing the Lovelace files.
  126.  
  127. The file may be in one of several different compressed formats.
  128.  
  129. If this file is stored in `tar plus gzip' format (a common Unix format),
  130. it will probably have a filename like lovelace.tar.gz
  131. (or a related filename; MS-DOS systems will have shorter
  132. filenames like lovelace.gz).
  133. `tar' is a format that allows multiple files to be stored in a single file.
  134. `gzip' is a compression format supported by the FSF GNU `gzip' and `gunzip'
  135. programs; it is NOT the same format as the MS-DOS `zip' format.
  136.  
  137. If the file is stored in `zip' format (a common PC format), it
  138. will have a filename like `lovelace.zip'.
  139.  
  140. A. Create a new subdirectory called "lovelace", and move to that subdirectory.
  141.    In Unix and MS-DOS systems, this can be done at the command
  142.    line by executing:
  143.  
  144.    mkdir lovelace
  145.  
  146.    If you are using the "lovelace.zip" file, do not
  147.    "cd" into this new lovelace directory; the latest
  148.    version of the lovelace.zip file will automatically put files into this
  149.    subdirectory (this was changed starting in Lovelace version 5.7).
  150.  
  151.    OTHERWISE, execute:
  152.    cd lovelace
  153.  
  154. B. Place the compressed Lovelace file (which may be called LOVELACE.gz.tar,
  155.    lovelace.zip, lovecell.zip, or something similar) into your current directory.
  156.    In Unix, this is done with the "mv" command. In MS-DOS, this
  157.    can be done using the "copy" command.
  158.  
  159. C. Uncompress the file.
  160.  
  161.    For the tar+gzip file, on Unix and MS-DOS systems, do:
  162.      gunzip lovelace.tar.gz
  163.      tar xvf lovelace.tar
  164.    Some MS-DOS machines don't have these programs already; consult
  165.    your "local expert" on how to get programs to uncompress and untar
  166.    these files.
  167.  
  168.    For the zip file, on MS-DOS systems, do:
  169.       unzip lovelace.zip
  170.    (or whatever your unzipping program name is, such as
  171.     pkunzip or dezip).
  172.  
  173.    On Macintoshes, use programs such as stuffit or suntar.
  174.    Again, if you don't have programs to uncompress and untar, consult
  175.    your "local expert".
  176.  
  177.    If you want to support the Java applets, you need to expand those
  178.    as well. Unzip the "adaclass.zip" or "tar xvf" the "adaclass.tar"
  179.    file; this will expand into a set of directories and subdirectories
  180.    needed to support the Java applets.  If only a few users will use
  181.    this system, you could alternatively have the users set their
  182.    "CLASSPATH" variable to include the "adaclass.zip" file in this
  183.    directory.
  184.     
  185.  
  186. D. On multiuser systems you _may_ need to reset file access permissions.
  187.    For Unix systems, do:
  188.    chmod a=r *
  189.  
  190. E. Read the file "readme", which points out the key files here.
  191.    On Unix and MS-DOS machines, this can be done using:
  192.    more < readme
  193.  
  194. F. If you don't already have a "web browser" such as Mosaic, Netscape, Lynx,
  195.    Cello, etc., install one.  You do NOT need Internet access to use
  196.    Lovelace this way, though Internet access will increase your
  197.    capabilities.
  198.  
  199.    Some versions of Lovelace are available that have the Cello browser
  200.    already integrated into them.  If you have such a version, you can simply
  201.    run Cello by running the program "cello.exe" in the lovelace directory
  202.    (Cello will automatically start at the Lovelace local home page).
  203.  
  204.    If you don't have Internet access, make sure your web browser is
  205.    configured so it will NOT attempt Internet access and make sure that
  206.    the Web browser "home page" is a local file (say, the initial Lovelace file).
  207.  
  208.    For example, to set up Cello so you don't need an Internet connection,
  209.    edit the "CELLO.INI" file (in Cello's directory) to contain the following
  210.    settings:
  211.  
  212.