home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / lang / ada / 4070 < prev    next >
Encoding:
Text File  |  1993-01-25  |  5.7 KB  |  152 lines

  1. Newsgroups: comp.lang.ada
  2. Path: sparky!uunet!haven.umd.edu!darwin.sura.net!bogus.sura.net!howland.reston.ans.net!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!news.sei.cmu.edu!ajpo.sei.cmu.edu!adainfo
  3. From: adainfo@ajpo.sei.cmu.edu (Michele L. Kee (AdaIC))
  4. Subject: New service on AJPO host
  5. Message-ID: <1993Jan25.160836.19134@sei.cmu.edu>
  6. Keywords: AdaIC, AJPO host, mail-server
  7. Sender: netnews@sei.cmu.edu (Netnews)
  8. Organization: Ada Information Clearinghouse
  9. Date: Mon, 25 Jan 1993 16:08:36 EST
  10. Lines: 140
  11.  
  12.  
  13.  
  14. For those of you without FTP access to download files, the AJPO host,
  15. ajpo.sei.cmu.edu, will provide mail-server capabilities on an
  16. experimental basis.  If you know the name and directory of the file
  17. you can have the AJPO host e-mail it to you directly with
  18. "file-request".  Just send e-mail to "ftpmail@ajpo.sei.cmu.edu" and
  19. have the subject line say "file-request <filename>" (/public is the
  20. root directory).  So for the filename, "adopthbk.txt.Z", under the
  21. "/public/ada-adoption-hbk" directory, you would have the subject line
  22. read:
  23.  
  24. Subject:  file-request ada-adoption-hbk/adopthbk.txt.Z
  25.  
  26. [There is no need for any text in the body of your message.]
  27.  
  28. If you don't know the filename, there are services provided by this
  29. automatic mail server to help you: services, help, info, man, and
  30. directory.  To request a service, send e-mail to
  31. "ftpmail@ajpo.sei.cmu.edu" and place its name in the Subject line of
  32. the mail message, followed by any needed parameters.  The mail server
  33. will respond to your request with either the information you requested
  34. or an error message.
  35.  
  36. The following are common examples on how to request services from the
  37. AJPO host mail server:
  38.  
  39. ----------------------------------------------------------------------
  40. 1) To get a short explanation on available services --
  41.  
  42. To: ftpmail@ajpo.sei.cmu.edu
  43. Subject: help
  44.  
  45. ----------------------------------------------------------------------
  46.  
  47. 2) To get "man" pages of a particular service, such as "directory" --
  48.  
  49. To: ftpmail@ajpo.sei.cmu.edu
  50. Subject: man directory
  51.  
  52. This service takes as a parameter the name of a service, and returns
  53. a manual page on that service.
  54.  
  55. ----------------------------------------------------------------------
  56.  
  57. 3) To get a "directory" listing of the AJPO anonymous ftp area (/public) --
  58.  
  59. To: ftpmail@ajpo.sei.cmu.edu
  60. Subject: directory
  61.  
  62. The "directory" service takes as an optional parameter a file or
  63. directory name, and returns the results of an "ls -l" on that
  64. parameter.  For example, to get a listing of the
  65. /public/ada9x/ada9x.reports directory you would submit a message with
  66. the Subject of:
  67.  
  68. Subject: directory ada9x/ada9x.reports
  69.  
  70. The filename pattern may include the "*" wildcard.  For example, to
  71. get a listing of the /public directories beginning with "p" you would
  72. submit a message with the Subject of:
  73.  
  74. Subject: directory p*
  75.  
  76. ----------------------------------------------------------------------
  77.  
  78. 4) Use "file-request" to get /adastyle/style-t.hlp file --
  79.  
  80. To: ftpmail@ajpo.sei.cmu.edu
  81. Subject: file-request adastyle/style-t.hlp
  82.  
  83. The "file-request" service takes as an optional parameter a filename,
  84. and will return the contents of the file.  (With no filename, you will
  85. get the /public/README file.)  Text files are returned verbatim, while
  86. binary files are encoded via the Unix "uuencode" command.  Large files
  87. (greater than 1000 lines long) will be split into multiple mail
  88. messages.  
  89.  
  90. The filename pattern may include the "*" wildcard.  For example, to
  91. get the contents of all files in the /public/ada-info directory ending
  92. in "Jan93" you would submit a message with the Subject of:
  93.  
  94. Subject: file-request ada-info/*Jan93
  95.  
  96.  
  97. ----------------------------------------------------------------------
  98.  
  99. Below is a sample response to a "help" request.
  100.  
  101.  
  102. From: FTP Mail Server <ftpmail@ajpo.sei.cmu.edu>
  103. Message-Id: <9301141628.AA26473@ajpo.sei.cmu.edu>
  104. To: adainfo@ajpo.sei.cmu.edu
  105. Subject: Re: help
  106. In-Reply-To: <9301141628.AA26462@ajpo.sei.cmu.edu>
  107. Content-Type: text/plain; charset=us-ascii
  108.  
  109.  
  110. You have sent electronic mail to the Ada Joint Programs Office automatic
  111. mail server. This server is based on the ServiceMail(tm) Tookit from
  112. Enterprise Integration Technologies.
  113.  
  114. In general, you may request a service by placing its name in the Subject
  115. line of a mail message, followed by any needed parameters. The mail server
  116. will respond to your request with either the information you requested or an
  117. error message.
  118.  
  119. Here is a brief description of the available services:
  120.  
  121. services:    This service returns a list of the available services.
  122.  
  123. Re:        This service discards all messages with "Re:" in the subject
  124.         line.  This is to prevent mail loops.
  125.  
  126. help:        This service returns this help message.
  127.  
  128. info:        This service returns this help message.
  129.  
  130. man:        This service takes as a parameter the name of a service, and
  131.         returns a manual page on that service.
  132.  
  133. directory:    This service takes as an optional parameter a file or
  134.         directory name, and returns the results of an "ls -l" on
  135.         that parameter.  The root of the file structure is the
  136.         AJPO anonymous FTP area.
  137.  
  138. file-request:    This service takes as an optional parameter a file name,
  139.         and will return the contents of the file.  The root of the
  140.         file structure is the AJPO anonymous FTP area.  Text files
  141.         are returned verbatim, while binary files are encoded via
  142.         the Unix "uuencode" command.  Large files (greater than
  143.         1000 lines long) will be split into multiple mail messages.
  144.  
  145. try 'man <service>' to get more information on a particular service.
  146. Please report bugs and other problems to ftpmail-request@ajpo.sei.cmu.edu
  147. -- 
  148. Ada Information Clearinghouse (AdaIC)        |  IIT Research Institute
  149. 703/685-1477, 800/AdaIC-11, FAX 703/685-7019    |  operates the AdaIC for
  150. Internet:  adainfo@ajpo.sei.cmu.edu        |  the Ada Joint Program
  151. CompuServe:  70312,3303                |  Office (AJPO).
  152.