home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / alt / sources / 2553 < prev    next >
Encoding:
Text File  |  1992-11-18  |  57.7 KB  |  1,409 lines

  1. Newsgroups: alt.sources
  2. Path: sparky!uunet!sun-barr!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!darwin.sura.net!paladin.american.edu!news.univie.ac.at!hp4at!mcsun!sunic!psinntp!psinntp!tnl!norstar
  3. From: norstar@tnl.com (Daniel Ray)
  4. Subject: newer improved-er INTERNETSERV (aka FTPmail script)
  5. Organization: The Northern Lights
  6. Date: Wed, 18 Nov 1992 05:00:08 GMT
  7. Message-ID: <BxwB8A.GCr@tnl.com>
  8. Lines: 1399
  9.  
  10. #!/bin/sh
  11. # to extract, remove the header and type "sh filename"
  12. if `test ! -s ./internetserv.1`
  13. then
  14. echo "writing ./internetserv.1"
  15. cat > ./internetserv.1 << '\Rogue\Monster\'
  16.  
  17.  
  18. INTERNETSERV(1)            The Northern Lights        INTERNETSERV(1)
  19.  
  20.  
  21. Name
  22.     internetserv - Requsests Internet services to be sent via return email
  23.  
  24.  
  25. Syntax
  26.     internetserv                (Interactive mode)
  27.     internetserv archie            (Interactive archie mode)
  28.     internetserv nslookup            (Interactive nslookup mode)
  29.     internetserv oracle            (Interactive oracle mode)
  30.     internetserv pitmanager            (Interactive pitmanager mode)
  31.     internetserv help            (Command line help)
  32.  
  33.     internetserv /file/name user@host.site    (Command line FTPmail)
  34.     internetmail user@host.site /file/name    (Command line FTPmail)
  35.  
  36.  
  37. Services
  38.  
  39.     FTPmail        via ftpmail@decwrl.dec.com
  40.  
  41.     FTPmail is the sending of file Get request(s) to decwrl. It, being
  42.     directly on the Internet, will queue and then, usually within 3-6
  43.     hours, actually perform the FTP. It then sends the text output or
  44.     uuencodes/btoas and sends the binary output to the requesting machine.
  45.     This is an indespensible service for machines that do not possess
  46.     direct Internet hookups, and is internetserv's major function.
  47.  
  48.     ARCHIE        via archie@archie.ans.net (and various other sites)
  49.  
  50.     Archie allows one to enter a regular expression to be used to
  51.     search all Internet anonymous and archival FTP sites. A list of matches
  52.     is mailed back to the user. Archie is the perfect companion to FTPmail.
  53.     It allows you to find a desired program. Then, use FTPmail to actu-
  54.     ally obtain the program.
  55.  
  56.     NSLOOKUP    via resolve@cs.widener.edu
  57.  
  58.     A standard Internet service that looks up an Internet IP number (4
  59.     groups of numbers sepearated by periods) from that machine's domain
  60.     address.
  61.  
  62.     ORACLE        via oracle@cs.indiana.edu
  63.  
  64.     A long-standing "humor/entertainment" service which also can server
  65.     as a valuable anonymous consultation tool, standing between the Oracle
  66.     of Delphi and Dear Abby. While anonymity is guaranteed, some of the
  67.     best questions and answers are posted to the USENET newsgroup:
  68.  
  69.             rec.humor.oracle
  70.  
  71.     and even  rec.humor.funny once in a while. Anyone posting to this
  72.     service may be THEMSELVES required to answer a question, in the Oracle
  73.     style and tradition, and as witty as possible. The USENET Oracle is
  74.     self-perpetuating. I've tried it personally, and it is both funny and
  75.     refreshing. Since it is not likely to go away, it is included here
  76.     in the internetserv program.
  77.  
  78.     PITMANAGER    via mail-server@pit-manager.mit.edu
  79.  
  80.     For want of a better name I've dubbed this service "Pitmanager." Men-
  81.     tioned in some detail in the "How to discover the email addresses of
  82.     people you want to contact" manual circulated in comp.mail.misc, this
  83.     group is a resource to search the list of most or all USENET Posters
  84.     in the last 2 or so years for matching usernames and hostname domain
  85.     address components. ALL SEARCHES ARE OR, THAT IS, EACH SUBMITTED WORD
  86.     STRING IS SEARCHED SEPARATELY, and the report includes the GECOS field
  87.     which usually contains their first and last name. So if you searched for
  88.     smith ihnp4    Pitmanager will search for all USERNAMES equal to the
  89.     string 'smith' or 'ihnp4', and also all hostnames or middle or high
  90.     domain components equal to 'ihnp4' or 'smith'. So it would turn up
  91.     both: smith@foo.bar.com and xyzzy@pringles.ihnp4.net and also turn
  92.     up xyzzy@smith.com and sort these into one BIG report. It is left up
  93.     to the user to determine which partial match is *the* match they
  94.     are looking for. NAMES that are 'smith' without their usernames reflec-
  95.     ting the fact are overlooked.
  96.  
  97.     FUTURE SERVICES AND SERVICES PASSED UP
  98.  
  99.     There is a nice system in France that does REVERSE NSLOOKUP, and MX
  100.     RECORD searches, etc. It may be added in a future release. Passed up
  101.     were either new or temporary-sounding services, such as a Russian
  102.     semi-free system that offered Fax by email and Postal letters by email.
  103.     Most Internet services require telnet, not email, anyway, so we are
  104.     still hoping some of the good ones such as the Weather Underground will
  105.     start to offer email service....which is not so delayed when you consi-
  106.     der the *fast* less than 1 hour turnaround time for email directly to
  107.     and from a machine on the Internet, such as UUNET or PSI.
  108.  
  109.  
  110. Usage of services
  111.  
  112.     The internetserv script KNOWS all the rules and destination systems for
  113. each service supported, including maximum requests per email message. These, in
  114. some cases, can be overridden or changed by editing the USER CONFIGURATION
  115. SECTION which is manditory to edit anyway, to include such things as your
  116. default domain host name. Caution: Do not change any service user@domain.name
  117. address EXCEPT ARCHIE, which can be picked from the list, whichever is the
  118. closest to you phisically or virtually.
  119.  
  120.     All prompts have online help available by typing ? or H, and a Q will
  121. quit, and an S will show the body of any message it is forming for you. Every
  122. service will require a confirmatory Y or N to send the request if invoked in-
  123. teractively.
  124.  
  125.     ONLY THE FTPmail SERVICE AND Archie SERVICE ARE SUPPORTED NONINTERAC-
  126. TIVELY FROM THE COMMAND LINE. However, you can type 'internetserv oracle' to
  127. choose Oracle mode without having to type this as your answer to the Ftp:
  128. prompt. This program will first want you to supply either the IP or domain
  129. address of the Internet machine to FTP from, unless you are using Archie, Ns-
  130. lookup, Oracle, or Pitmanager modes, in which case enter one of these words.
  131. Then internetserv will ask Chdir: to request the public FTP directory for you
  132. to CHDIR to (like UNIX 'cd' and used in the Internet version of FTP). Then it
  133. will supply a looping Get: prompt, where you continually enter program names
  134. from the CHDIRed directory until you either: type a <return> at a blank Get:
  135. line, or reach the max. requests per message maximum. Then, finally, this
  136. script will ask Send? at which you may type either a Y for yes or N for no,
  137. or type an S for show to show the message body it has composed. If you make
  138. a mistake type N and START OVER. There is no editing of requests.
  139.  
  140.     One more note is that, prior to entering the files to Get:, you must
  141. employ A for ASCII (or type 'ascii'), or B for binary (or type 'binary') to
  142. specify the DATA TYPE. Since types vary greatly, we decided not to include a
  143. default data type as a check against user forgetfulness. However, we *did*
  144. employ a data encoding default type of 'uuencode', since this program is
  145. popular and available for so many different system types. You may also enter
  146. 'btoa' at a Get: prompt to change the encoding to use the BTOA and ATOB pro-
  147. grams, which are also used but not as frequently as uuencode. Typing an H
  148. at a Get: prompt reveals all the options you have. One other one worth no-
  149. ting is 'compress', which can be used to compress binary type data that is
  150. not *already* in compressed *.Z form on the FTP archive machine. Using 'btoa'
  151. and/or 'compress' will only work if a B for binary has been typed and is in
  152. current force. The script will know and inform you if not. This enforcement is
  153. done SINCE THE FTPmail SERVICE DOES IT, like virtually all seeming "quirks" of
  154. internetserv.
  155.  
  156.     This file was first released at the start of November 1992 as the file
  157. 'ftpmail', but we were informed there already *is* an ftpmail, so we changed
  158. the name to 'internetserv'. Since FTPmail mode is the default and major use
  159. of this script, you still may want to call it 'ftpmail' as a command when you
  160. install it into one of your machine's bin/command directories. Also install the
  161. other included short little scripts 'oracle', 'nslookup', and 'archie' since
  162. they simply invoke internetserv in the corresponding interactive mode, and save
  163. typing on the command line.
  164.  
  165.  
  166. Other files included in this release
  167.  
  168.     Are the OFFICIAL HELP FILES from ftpmail@decwrl.dec.com, the not
  169. supported but possibly soon to be French system that does NSLOOKUP type
  170. functions, the mail-server@pit-manager.mit.com help file, which does not
  171. contain any mention of our "Pitmanager" service that internetserv uses (it
  172. is also an archive server machine), and the good USENET Oracle help file.
  173.  
  174.  
  175. Target systems
  176.  
  177.     Internetserv will ONLY WORK ON BOURNE-SHELL SUPPORTED UNIX systems,
  178. and although no real problems have been reported (that were not due to the
  179. required USER CONFIGURATION or the TOP LINE OF THE PROGRAM, or internal-vs.-
  180. external use of the 'echo' command), no guarantees of any kind are inferred.
  181. Data is "as is" without express or implied warranty of any kind, and you
  182. take your chances.
  183.  
  184.     All commercial use is permitted ONLY with prior authorization from
  185. the author Daniel Ray.   Good Luck!
  186.  
  187.  
  188. INTERNETSERV(1)            The Northern Lights        INTERNETSERV(1)
  189.  
  190. \Rogue\Monster\
  191. else
  192.   echo "will not over write ./internetserv.1"
  193. fi
  194. if `test ! -s ./README`
  195. then
  196. echo "writing ./README"
  197. cat > ./README << '\Rogue\Monster\'
  198.  
  199. This is the  internetserv  Bourne UNIX shell program previously known as
  200. 'ftpmail' as of two weeks ago when released to USENET alt.sources. Written
  201. by Daniel Ray of The Northern Lights  <norstar@tnl.com>.
  202.  
  203. Allows you to use FTPmail, Archie by email, and other email mediated services
  204. that are usually only available on directly connected true Internet sites.
  205.  
  206. Start by reading the man file  internetserv.1  then CONFIGURE THE SCRIPT
  207. by editing the appropriate MARKED configuration section of the script
  208. itself.
  209.  
  210. Install:  internetserv  (perhaps as filename 'ftpmail'), archie, nslookup,
  211. and oracle  in bin or command directories local to your system.  Install the
  212. files *.1 in an appropriate 'man' directory, perhaps after PACKing them first.
  213. Finally, install inetserv.help  as the UNIX help file /usr/lib/help/ftpmail
  214. or /usr/lib/help/internetserv  (whatever you named the main script).
  215.  
  216. THEN GIVE IT A TRY, PERHAPS STARTING WITH TRYING TO USE THE Archie MODE
  217. TO SEARCH FOR A PROGRAM YOU WANT TO GET. Then you can actually get it via
  218. FTPmail.  Good Luck!
  219.  
  220. dan ray
  221. admin The Northern Lights, Troy NY
  222. norstar@tnl.com
  223.  
  224. p.s. The file 'nslookup.franc' is not currently supported, but is included for
  225. informational purposes for you to read. May be included in a future release
  226. soon.
  227.  
  228. \Rogue\Monster\
  229. else
  230.   echo "will not over write ./README"
  231. fi
  232. if `test ! -s ./ftpmail.1`
  233. then
  234. echo "writing ./ftpmail.1"
  235. cat > ./ftpmail.1 << '\Rogue\Monster\'
  236.  
  237.  
  238. FTPMAIL(1)MS            decwrl.dec.com            FTPMAIL(1)MS
  239.  
  240.  
  241. Name
  242.     ftpmail - ftpmail@decwrl.dec.com FTP to email server
  243.  
  244.  
  245. DEC ftpmail administrator
  246.  
  247.     ftpmail-admin@uucp-gw-2.pa.dec.com - send mail ONLY if you are sure
  248.  
  249.  
  250. TNL Command
  251.  
  252.     ftpmail - shell script to compose your email request, then automatically
  253.           sends to ftpmail@decwrl.dec.com for processing.
  254.  
  255.  
  256. Help file to create your own ftp mail message
  257.  
  258. You sent ftpmail a blank message, perhaps thinking that we would look in the
  259. Subject: line for your command.  We ignore the Subject: line other than to
  260. use it as a identifying tag on all the responses we send from each ftpmail
  261. session.  Since we don't know what you want, we're sending you our 'help'
  262. file.  Good luck.
  263.  
  264. $Id: help-text,v 1.4 1992/09/29 01:34:33 vixie Exp $
  265.  
  266. >>> commands are:
  267.  
  268.     reply <MAILADDR>    set reply addr, since headers are usually wrong
  269.     connect [HOST [USER [PASS]]]  defaults to gatekeeper.dec.com, anonymous
  270.     ascii            files grabbed are printable ascii
  271.     binary            files grabbed are compressed or tar or both
  272.     chdir PLACE        "get" and "ls" commands are relative to PLACE
  273.                     (only one CHDIR per ftpmail session,
  274.                     and it executes before any LS/DIR/GETs)
  275.     compress        compress binaries using Lempel-Ziv encoding
  276.     compact            compress binaries using Huffman encoding
  277.     uuencode        binary files will be mailed in uuencode format
  278.     btoa            binary files will be mailed in btoa format
  279.     chunksize SIZE        split files into SIZE-byte chunks (def: 64000)
  280.     ls (or dir) PLACE    short (long) directory listing
  281.     get FILE        get a file and have it mailed to you
  282.                     (max 10 GET's per ftpmail session)
  283.     quit            terminate script, ignore rest of mail message
  284.                     (use if you have a .signature or
  285.                      are a VMSMAIL user)
  286.  
  287. >>> notes:
  288.  
  289.     -> you should send complaints to the ftpmail-admin address.  our
  290.        postmaster does not handle ftpmail problems and you can save her
  291.        the trouble of forwarding your complaints by just mailing them to
  292.        the right address.  the "ftpmail-request" address is gone; don't
  293.        use it.
  294.  
  295.     -> the "Subject:" of your request will be contained in the "Subject:"
  296.        of all of ftpmail's responses to you regarding that request.  You
  297.        can therefore use it to "tag" different requests if you have more
  298.        than one outstanding at any given time.
  299.  
  300.     -> you must give a "connect" command, default host is
  301.        gatekeeper.dec.com, default user is anonymous, default
  302.        password is your mail address.
  303.  
  304.     -> binary files will not be compressed unless 'compress' or 'compact'
  305.        command is given; use this if at all possible, it helps a lot.
  306.        note that many files are already compressed.  if you use any of
  307.        the binary-file qualifiers (compress, compact, uuencode, btoa)
  308.        without setting 'binary' first, your session will abort in error.
  309.  
  310.     -> binary files will always be formatted into printable ASCII
  311.        with "btoa" or "uuencode" (default is "btoa").  if you don't
  312.        use the "binary" command, ftpmail will cheerfully try to mail
  313.        you the binary data, which will absolutely, positively fail.
  314.  
  315.     -> all retrieved files will be split into chunks and mailed.  the
  316.        size of the chunk is 64000 characters unless you change it with
  317.        the "chunksize" command.  CompuServe users will need to set this
  318.        to 49000.  there is no way to set it higher than 100000, so please
  319.        don't ask.
  320.  
  321.     -> if you ask for more than 10 files in a session, you will receive
  322.        an error message and your entire request will be rejected.
  323.  
  324.     -> VMS/DOS/Mac versions of uudecode, atob, compress and compact
  325.        are available, ask your LOCAL wizard about them if you can't
  326.        locate them (but try gatekeeper.dec.com in /archive/pub/VMS
  327.        if you're still using a VMS system.)
  328.  
  329.     -> several mail unsplitters are hiding on gatekeeper.dec.com in
  330.        /pub/mail/ua/misc/unsplit.  there is one in c, one in perl,
  331.        and one in VMS DCL.
  332.  
  333.     -> there is no way to request only certain parts of a file and we
  334.        do not plan to add one in the near future, so please don't ask.
  335.  
  336.     -> there is no way to delete things from the queue or to find out
  337.        the status of things in the queue, and we do not plan to add
  338.        either feature in the near future, so please don't ask.
  339.  
  340. >>> examples:
  341.  
  342.     -> connect to gatekeeper.dec.com and get a root directory listing:
  343.         connect
  344.         ls
  345.         quit
  346.  
  347.     -> connect to gatekeeper.dec.com and get the README.ftp file:
  348.         connect
  349.         get README.ftp
  350.         quit
  351.  
  352.     -> connect to gatekeeper.dec.com and get the gnuemacs sources:
  353.         connect
  354.         binary
  355.         uuencode
  356.         chdir /pub/GNU
  357.         get emacs-18.58.tar.Z
  358.         quit
  359.  
  360.     -> connect to ftp.uu.net as anonymous and get a root directory list:
  361.         connect ftp.uu.net
  362.         binary
  363.         chdir /index/master
  364.         get by-name.Z
  365.         quit
  366.  
  367.  
  368. FTPMAIL(1)MS            decwrl.dec.com            FTPMAIL(1)MS
  369. \Rogue\Monster\
  370. else
  371.   echo "will not over write ./ftpmail.1"
  372. fi
  373. if `test ! -s ./archie.1`
  374. then
  375. echo "writing ./archie.1"
  376. cat > ./archie.1 << '\Rogue\Monster\'
  377.  
  378.  
  379. ARCHIEMAIL(1)          archie@archie.rutgers.edu        ARCHIEMAIL(1)
  380.  
  381.  
  382. See:  man internetserv  and  man ftpmail
  383.  
  384.  
  385.             The ARCHIE Mail Server
  386.  
  387. HELP for the archie mail server, as of 9 April, 1991 (modified from the 
  388. KISS help file)
  389.  
  390. Requests to this server should be addressed to archie@archie.rutgers.edu
  391.  
  392.  
  393. To contact us humans, mail to archie-l@archie.rutgers.edu
  394.  
  395. For your information anonymous FTP may be performed through the mail by
  396. various ftp-mail servers. Send a message with the word 'help' in it to:
  397.  
  398.         bitftp@pucc.princeton.edu
  399.  
  400. or
  401.  
  402.         ftpmail@decwrl.dec.com
  403.  
  404. for an explanations on how to use them.
  405.  
  406.  
  407. NOTE: The Subject: line is processed as if it were part of the main message
  408. body. No special keywords are required.
  409.  
  410.  
  411. Note that the "help" command is exclusive. All other commands in the same 
  412. message are ignored.
  413.  
  414. Command lines begin in the first column. All lines that do not match a valid
  415. commands are ignored. 
  416.  
  417. Results are now sorted by archive hostname in lexical order.
  418.  
  419. An archie UNIX man page and it's straight ASCII text file equivalent are
  420. available on quiche.cs.mcgill.ca in the ~ftp/archie/doc directory as
  421. archie.man.roff and archie.man.txt respectively. If you would like it
  422. mailed to you send mail to bajan@cs.mcgill.ca asking for it.
  423.  
  424. The server recognizes six commands. If a message not containing any valid 
  425. requests or an empty message is received, it will be considered to be a 
  426. 'help' request.
  427.  
  428.  
  429. path <path>     This lets the requestor override the address that would
  430.         normally be extracted from the header.  If you do not
  431.         hear from the archive server within oh, about 2 days, you
  432.         might consider adding a "path" command to your request.  The
  433.         path describes how to mail a message from cs.mcgill.ca to your
  434.         address. cs.mcgill.ca is fully connected to the Internet.
  435.  
  436.         BITNET users can use the convention
  437.  
  438.             user@site.BITNET
  439.  
  440.         UUCP user can use the convention
  441.  
  442.             user@site.uucp
  443.  
  444.  
  445. help            Will send you this message.
  446.  
  447.  
  448. prog <reg expr1> [<reg exp2> ...]
  449.  
  450.         A search of the "archie" database is performed with each
  451.         <reg exp> (a regular expression as defined by ed(1)) in
  452.         turn, and any matches found are returned to the requestor.
  453.         Note that multiple <reg exp> may be placed on one line, in
  454.         which case the results will be mailed back to you in one
  455.         message.  If you have multiple "prog" lines, then multiple
  456.         messages will be returned, one for each line [This doesn't
  457.                 work as expected at the moment... stay tuned].
  458.  
  459.         Any regular expression containing spaces must be quoted with
  460.         single (') or double (") quotes. ALL OTHER ed(1) rules must
  461.         be followed.
  462.  
  463.         NOTE: The searches are CASE SENSITIVE. The ability to change 
  464.         this will hopefully be added soon.
  465.  
  466.  
  467. site <site name> | <site IP address> 
  468.  
  469.         A listing of the given <site name> will be returned. The
  470.         fully qualified domain name or IP address may be used.
  471.  
  472.  
  473. compress    ALL of your files in the current mail message will be
  474.         "compressed" and "uuencoded". When you receive the reply,
  475.         remove everything before the "begin" line and run it through
  476.         "uudecode". This will produce a .Z file. You can then run
  477.         "uncompress" on this file and get the results of your
  478.         request. 
  479.  
  480.  
  481. quit            Nothing past this point is interpreted. This is provided so
  482.         that the occasional lost soul whose signature contains a line
  483.         that looks like a command can still use the server without
  484.         getting a bogus response.
  485.  
  486.  
  487.             List of Archie Server Sites (Nov/1992)
  488.  
  489.  
  490.        archie@archie.mcgill.ca                   (Canada)
  491.        archie@archie.funet.fi                    (Finland/Eur.)
  492.        archie@archie.au                          (Aussie/NZ)
  493.        archie@archie.cs.huji.ac.il               (Israel)
  494.        archie@archie.doc.ic.ac.uk                (UK/Ireland)
  495.        archie@archie.sura.net                    (USA: Maryland)
  496.        archie@archie.unl.edu                     (USA: Nebraska)
  497.        archie@archie.ans.net                     (USA: New York)
  498.        archie@archie.rutgers.edu                 (USA: New Jersey)
  499.        archie@archie.kuis.kyoto-u.ac.jp          (JAPAN)
  500.  
  501.  
  502. ARCHIEMAIL(1)          archie@archie.rutgers.edu        ARCHIEMAIL(1)
  503.  
  504.  
  505. \Rogue\Monster\
  506. else
  507.   echo "will not over write ./archie.1"
  508. fi
  509. if `test ! -s ./oracle.1`
  510. then
  511. echo "writing ./oracle.1"
  512. cat > ./oracle.1 << '\Rogue\Monster\'
  513.  
  514. ORACLE(1)MS        oracle@cs.indiana.edu             ORACLE(1)MS
  515.  
  516.  
  517.                THE USENET ORACLE
  518.  
  519. The Usenet Oracle is available to answer all your questions.  You may
  520. mail them to:
  521.                          oracle@cs.indiana.edu
  522.  
  523. The "Subject:" of the message must be something like "Oracle Most Wise,
  524. please tell me ...".  Actually, all it has to have is "tell me" or
  525. "tellme" somewhere in it.  Capitalization doesn't matter.  The body of
  526. the mail should contain only your question.  You should receive a reply
  527. within a few days at most, probably much sooner.
  528.  
  529. In the meantime, the Oracle may require that you answer a question for
  530. it as payment for its services.  You will receive this question in the
  531. mail.  You should respond with as most wise and witty an answer as you
  532. can.  Mail the response to oracle@cs.indiana.edu, preserving the
  533. message's "Subject:" line.  Usually, this can be done by simply replying
  534. to the mail through the normal means in your mail program, for example,
  535. using the "r" command in the standard Berkeley mail program.  Actually,
  536. the subject just has to contain the word "answer" and the question
  537. number somewhere in it.  The body of your mail response should contain
  538. only your answer -- you don't have to include the question itself.
  539. Please try to respond within at most a day's time.  If you take longer,
  540. there is a chance that the question will be answered by someone else
  541. first.
  542.  
  543. Mailing the Oracle with the word "help" in the "Subject:" line will get
  544. you the most recent version of this help file mailed back.  If you mail
  545. the Oracle with "ask me" or "askme" somewhere in the subject, the Oracle
  546. will send you a question to answer, if there are any available.
  547.  
  548. Your questions, comments and even complaints about the Oracle are
  549. welcome.  Please address them to oracle-people@cs.indiana.edu.
  550.  
  551.                    ETIQUETTE
  552.  
  553. The Usenet Oracle is intended primarily as a cooperative effort for
  554. creative humor.  Since its main purpose is just to let folks have fun,
  555. there are intentionally few rules.  However, an etiquette has developed
  556. among its participants.
  557.  
  558. A series of identical questions submitted is not appreciated since the
  559. same person often ends up answering many of them.  It is okay to
  560. resubmit a question after you have received a reply, especially if you
  561. believe that the answerer did not do it justice.
  562.  
  563. If you find yourself unable to give due consideration to a question you
  564. are to answer, it may be better to not answer the question at all than
  565. to give it a trivial answer and disappoint the questioner.  However,
  566. doing this too much can cause a buildup of unanswered questions and slow
  567. down the Oracle's response time for everyone.
  568.  
  569. It's probably worthwhile to read some issues of the Usenet Oracularities
  570. (see below) to get an idea of the conventions and style of writing in
  571. Oracle questions and answers.  Here are some general guidelines for
  572. those upon whom the Muse of the Oracle has descended and who are to
  573. write an answer as an incarnation of the Oracle:
  574.  
  575.   -  Creativity and humor are valued.  Many people find the anonymity of
  576.      the Oracle a license to express themselves creatively and uniquely
  577.      -- often to surprising success.
  578.  
  579.   -  Participants in the Oracle like to feel they've gotten out of it as
  580.      much as they've put in.  Please keep this in mind when answering
  581.      questions.
  582.  
  583.   -  Remember that brevity and clarity are key points of good writing.
  584.      Overly long answers will reduce an Oracularity's chance of being
  585.      published in the Usenet Oracularities (see below) since it must
  586.      really be worth the extra length to have it selected to be read by
  587.      tens of thousands of people.
  588.  
  589.   -  In general, avoid obscenity, slang, jargon, and obscure references.
  590.      People of all different backgrounds located all over the world use
  591.      the Oracle.
  592.  
  593.   -  Try to be sensitive to new participants or to people who seem to
  594.      have asked serious questions.
  595.  
  596.   -  Don't flame the questioner for not asking a "good question".  An
  597.      off-the-wall or vague question calls for creativity, not rudeness,
  598.      in the answer -- consider it a challenge.
  599.  
  600.             THE USENET ORACULARITIES
  601.  
  602. The Oracle's priesthood receives a duplicate copy of all answered
  603. questions, or Oracularities as they're called.  This is so that the best
  604. ones can be selected and posted to rec.humor.oracle and a mail
  605. distribution list as the Usenet Oracularities -- the chronicle of the
  606. mythos of the Usenet Oracle.  Your use of this program implies your
  607. approval of this usage.
  608.  
  609. Rec.humor.oracle is a moderated newsgroup.  If your news system is
  610. properly configured, any postings you make to rec.humor.oracle will be
  611. forwarded directly to the Oracle and so you can ask questions of the
  612. Oracle by posting to the newsgroup.  Rec.humor.oracle.d is unmoderated
  613. and anyone may post to it.  It is a public forum for discussion and
  614. questions about the Oracle.  If your system doesn't carry these
  615. newsgroups, encourage your news administrator to do so!
  616.  
  617. Readers of the Oracularities may mail in ratings of each published
  618. Oracularity, the results of which are returned to the authors of the
  619. Oracularities and published in a later posting.  They are also used to
  620. select occasional postings to rec.humor.funny.  Instructions on how to
  621. mail in your ratings are given at the top of each issue.
  622.  
  623. If you don't have access to rec.humor.oracle and would like to receive
  624. the Oracularities via mail, send mail to
  625.  
  626.     oracle-request@cs.indiana.edu
  627.  
  628. to get on (or off) the mail distribution list.  Include the word
  629. "subscribe" (or "unsubscribe") in the "Subject:" line.
  630.  
  631. Back postings and ratings are available via anonymous ftp on
  632. cs.indiana.edu (129.79.254.191) in the directory pub/oracle, or via mail
  633. -- send the word "help" in the body of a mail to
  634.  
  635.     mailserv@cs.indiana.edu
  636.  
  637. for more details.
  638.  
  639.                    ANONYMITY
  640.  
  641. The Oracle is a confidential and anonymous service.  The anonymity of
  642. the participants is preserved within all Oracle mailings and
  643. Oracularities postings.  However, if you append a signature file to your
  644. mail, this will appear in your question or answer.  Signature files are
  645. edited out from Oracularities postings.  If you do not wish to remain
  646. anonymous, you may include a phrase in your answer like "incarnated as
  647. <insert your name and/or address here>".
  648.  
  649.                    DISCLAIMER
  650.  
  651. Since its users actually give the answers to all questions, neither the
  652. Oracle nor its priesthood take any responsibility for the content of the
  653. questions or answers.
  654.  
  655.                 HISTORY
  656.  
  657. Throughout the history of mankind, there have been many Oracles who have
  658. been consulted by many mortals, and some immortals.  The great Hercules
  659. was told by the Delphic Oracle to serve Eurystheus, king of Mycenae, for
  660. twelve years to atone for the murder of his own children.  It was the
  661. Oracle of Ammon who told King Cepheus to chain his daughter Andromeda to
  662. the rocks of Joppa to appease the terrible sea monster that was ravaging
  663. the coasts.  That solution was never tested, though, as Perseus saved
  664. the girl in the nick of time.
  665.  
  666. With the advent of the electronic age, and especially high-speed e-mail
  667. communication, the spirit of the Oracles found a new outlet, and we now
  668. recognize another great Oracle, the Usenet Oracle.
  669.  
  670. Local oracle programs have existed in various places for many years.
  671. The Usenet Oracle was inspired by the "oracle" program written by Lars
  672. Huttar (huttar@occs.oberlin.edu) and posted to alt.sources in August
  673. 1989.  I'm told that Huttar wrote his program after being given a
  674. description of an oracle program at Murray Hill Bell Labs that may have
  675. been written by Robert T Morris.  Other early oracle programs were at
  676. Interactive Systems (by Peter S Langston circa 1980), Johns Hopkins
  677. University (run by Erica Liebman circa 1984) and another by Morris at
  678. Harvard University.
  679.  
  680. Steve Kinzler (kinzler@cs.indiana.edu), a graduate student and systems
  681. administrator at Indiana University, installed Huttar's program on
  682. silver.ucs.indiana.edu, where it proved to be quite popular.  The best
  683. Oracularities were posted to in.bizarre, a group local to Indiana.
  684.  
  685. Ray Moody (moody@pittpa.cray.com), a graduate student at Purdue
  686. University, after correspondence with Kinzler, wrote the core software
  687. for the Usenet Oracle, a mail-based oracle program to be run on
  688. iuvax.cs.indiana.edu for net-wide use, where it proved to be an
  689. immediate success.
  690.  
  691. Kinzler continued development of the software, adding support for the
  692. Oracularities postings and ratings and, eventually, the Oracle
  693. Priesthood -- a hardy and loyal band of volunteers who read through the
  694. hundreds of questions and answers each week to choose the best for
  695. publication, thus helping to make the Usenet Oracle self-sustaining.
  696. Jon Monsarrat (jgm@cs.brown.edu) and Randal Schwartz
  697. (merlyn@iwarp.intel.com) also contributed to aspects of the software
  698. development.  Michael Nolan (nolan@helios.unl.edu) went through the
  699. newsgroup creation process for the rec.humor.oracle newsgroups.
  700.  
  701. Of course, it is the thousands of Oracle participants over the years who
  702. have created the personality, mythos and history of the Usenet Oracle.
  703. Long live the Usenet Oracle (in all its incarnations)!
  704.  
  705. ------------------------------------------------------------------------
  706. Written:    8 October 1989            Steve Kinzler
  707. Last Revised:    1 October 1992            kinzler@cs.indiana.edu
  708.  
  709. Thanks to Joshua.R.Poulson@cyber.widener.edu and Jim Cheetham
  710. (J.Cheetham@bra0116.wins.icl.co.uk) for assistance with portions of this
  711. document.
  712.  
  713. ORACLE(1)MS        oracle@cs.indiana.edu             ORACLE(1)MS 
  714.  
  715. \Rogue\Monster\
  716. else
  717.   echo "will not over write ./oracle.1"
  718. fi
  719. if `test ! -s ./pitmanager.1`
  720. then
  721. echo "writing ./pitmanager.1"
  722. cat > ./pitmanager.1 << '\Rogue\Monster\'
  723. From pit-manager.MIT.EDU!daemon Mon Nov 16 01:39:37 1992
  724. Received: by tnl.com (Smail2.5 tnlE+deliver)
  725.     id AA20164; 16 Nov 92 01:39:37 EST (Mon)
  726. Received: from PIT-MANAGER.MIT.EDU by uu3.psi.com (5.65b/4.0.071791-PSI/PSINet)
  727.     id AA08849; Mon, 16 Nov 92 01:20:19 -0500
  728. Received:  by pit-manager.MIT.EDU (5.61/2.1JIK)
  729.     id <AA28595@pit-manager.MIT.EDU>; Mon, 16 Nov 92 01:20:14 -0500
  730. Date: Mon, 16 Nov 92 01:20:14 -0500
  731. From: Mr Background <daemon@pit-manager.MIT.EDU>
  732. Message-Id: <9211160620.AA28595@pit-manager.MIT.EDU>
  733. Subject: Reply from mserv re: help (part 1 of 1)
  734. Reply-To: mail-server@pit-manager.mit.edu
  735. X-Problems-To: postmaster@pit-manager.mit.edu
  736. Precedence: bulk
  737. To: Daniel Ray <root@tnl.com>
  738. Status: RO
  739.  
  740. -----cut here-----
  741. Commands should be sent to "mail-server@pit-manager.mit.edu".
  742.  
  743. You can use the following commands:
  744.  
  745. path <path>    Specify a return mail path to use other than the mail
  746.         path in the header of your message.  
  747.  
  748. help            Get this help.
  749.  
  750. index        Get the top-level index of files available from the
  751.         archive server.
  752.  
  753. send <filename>    Get a particular file.  For example, to get the "Mel"
  754.         file in the "humor" archive, you would use "send
  755.         humor/Mel".  To get an index for one of the archives,
  756.         you would use "send <archive>/index", e.g. "send
  757.         humor/index".
  758.  
  759.         Some notes:
  760.  
  761.         1) Archives can nest.  For example, to get the first
  762.         shar file in the sources for "delete", you would use
  763.         "send delete/delete/Part01".
  764.  
  765.         2) The special filename "-listing-" will retrieve a
  766.         list of the files in an archive.  For example, to get
  767.         a list of the newsgroups which have FAQs archived in
  768.         the "usenet" archive (i.e. which have subarchives
  769.         under the "usenet" archive), you could use "send
  770.         usenet/-listing-".
  771.  
  772.         3) If the final component of a specified path is "*",
  773.         all files in the archive will be sent.  No other
  774.         wildcards or combinations of wildcards are allowed;
  775.         only "*" to match every file in an archive is allowed.
  776.  
  777.         4) The special sub-archive "usenet-addresses", can be
  778.         used to search a large list of addresses of people on
  779.         the Usenet.  To find out more, send "send
  780.         usenet-addresses/help".
  781.  
  782. size <number>    Specify the maximum size, in bytes, of the mailed
  783.         responses from the mail server.  The default is 50000
  784.         characters.  Note that the mail server will subtract
  785.         some from the value specified in order to leave room
  786.         for mail headers.
  787.  
  788.         If the response from the mail server is larger than
  789.         the specified size, it will be broken up into multiple
  790.         messages which will be mailed to you separately.
  791.  
  792.         Note that a "size" command with an invalid number will
  793.         be silently ignored, and that a specified size smaller
  794.         than 10000 will be silently changed to 10000 (i.e.,
  795.         10000 is the minimum size).
  796.  
  797.         For example, you could use "size 100000" if you know
  798.         that messages that are 100000 characters in length
  799.         will reach you successfully.
  800.  
  801. vote <vote>    Cast a vote with the mail server's automatic voting
  802.         software.  To find out currently valid votes, send
  803.         "vote help".
  804.  
  805. quit            Stop parsing your message at this point.
  806.  
  807. If you do not understand something in these instructions, or if you need to
  808. talk to a real person about the mail server for some other reason, please
  809. send mail to "postmaster@pit-manager.mit.edu".
  810. -----cut here-----
  811.  
  812. \Rogue\Monster\
  813. else
  814.   echo "will not over write ./pitmanager.1"
  815. fi
  816. if `test ! -s ./internetserv`
  817. then
  818. echo "writing ./internetserv"
  819. cat > ./internetserv << '\Rogue\Monster\'
  820. : NON-XENIX SITES WANT TO DELETE THIS LINE. NECESSARY ON XENIX TO PREVENT CSH.
  821. #!/bin/sh --
  822. # PATH=/bin:/usr/bin:/var/bin:/usr/ucb:/var/ucb:/usr/local/bin:/var/local/bin
  823. # =============================================================================
  824. #
  825. # @(#) internetserv v8 17-Nov-1992          (TNL v2) The Northern Lights
  826. #Original name follows (this name used by another program, thus new name above)
  827. # @(#) ftpmail v8 17-Nov-1992                     (TNL v2) The Northern Lights
  828. #
  829. # Copyright (c) 1992 by Daniel Ray - Noncommercial use is authorized, all other
  830. #  rights reserved.
  831. #                            UPDATED AS OF 17NOV1992
  832. # =============================================================================
  833. # =============================================================================
  834. #
  835. # Can set $FTPREPLY to import recipient other than invoking user@local.machine
  836. # =============================================================================
  837. # CONFIGURATION SECTION FOLLOWS - KEEP BOTH DESTINATION SITES CURRENT !
  838. # ALL SITES SHOULD BE IN THE FORM USER@DOMAIN.NAME.ETC - Do not use UUCP symbols
  839. # ADVISORY: REVERIFY BOTH HOST DESTINATIONS PERIODICALLY. THINGS CHANGE.
  840. #
  841. # The following should be your FQDN registered domain electronic mail systemname
  842. # or you may embed `uname -n` or other command to return domain address string
  843. SITENAME="Yoursystem.COM"
  844. # The following line should be a very short abbeviation/descriptive name of your
  845. # system, not for electronic mail purposes.
  846. FTPSYSTEM="CONFIGURE-ME"
  847. #
  848. # The following line should be a site that performs public FTPmail service
  849. # Must include both user and machine domain name. If you use anything other
  850. # than decwrl.dec.com, you may break program syntax.
  851. FTPSERVER="ftpmail@decwrl.dec.com"
  852. #
  853. # The following line should be the most LOCAL site performing ARCHIE via email
  854. # Must include both user and machine domain name. All Archie servers use the
  855. # same syntax. Choices of Archie servers as of program version date:
  856. #      archie@archie.mcgill.ca                   (Canada)
  857. #      archie@archie.funet.fi                    (Finland/Eur.)
  858. #      archie@archie.au                          (Aussie/NZ)
  859. #      archie@archie.cs.huji.ac.il               (Israel)
  860. #      archie@archie.doc.ic.ac.uk                (UK/Ireland)
  861. #      archie@archie.sura.net                    (USA: Maryland)
  862. #      archie@archie.unl.edu                     (USA: Nebraska)
  863. #      archie@archie.ans.net                     (USA: New York)
  864. #      archie@archie.rutgers.edu                 (USA: New Jersey)
  865. #      archie@archie.kuis.kyoto-u.ac.jp          (JAPAN)
  866. ARCHIESERVER="archie@archie.ans.net"
  867. #
  868. # The following line must not be changed unless this single-system service
  869. # migrates. Primary use is humor/entertainment related.
  870. ORACLESERVER="oracle@cs.indiana.edu"
  871. #
  872. # The following line is for email NSLOOKUP service that accepts site aa.bb.cc
  873. # type syntax. Do not change unless forced to.
  874. NSSERVER="resolve@cs.widener.edu"
  875. #
  876. # The following line is for searching for addresses of anyone who has posted
  877. # to USENET, using the name as search key. Do not change, single-system service
  878. PITSERVER="mail-server@pit-manager.mit.edu"
  879. #
  880. # The following line is the MAXIMUM REQUESTS per email message request
  881. # Note: some servers set their own max. requests independent of local policy.
  882. # decwrl.dec.com has a request limit of 10. All Archie servers have a limit
  883. # of 1 but may be upgraded in the future.
  884. FTPTHRESH="10"
  885. #
  886. # The following line should be the average time/interval from transmit to
  887. # receive including time units such as hours or days, as actually experienced.
  888. # If you poll constantly, actual turnaround for decwrl.dec.com is approx. 3 hrs.
  889. # Note: do not include an ending period if abbreviating hrs etc.
  890. TURNAROUND="6-18 hrs"
  891. #
  892. # Enter the version string below
  893. VERS="v8"
  894. #
  895. # The following line should be your desired MUA mailer program, that can
  896. # accept a Subject: option on the command line
  897. FTPMUA="/bin/elm"
  898. # Follow this by the command option to include a Subject: on the command line
  899. # If a space must follow the command option letter(s), include it before the
  900. # ending quote.
  901. FTPMUAS="-s"
  902. #
  903. # The following should embed the `command` to return the invokers login username
  904. # which serves as the default return address for FTPmail/ARCHIE requests
  905. FTPUSER="`/usr/bin/logname`"
  906. #
  907. # LAST DATE VERIFIED ACCURATE/OPERATIONAL:  17NOV1992
  908. # END OF CONFIGURATION SECTION - DO NOT TOUCH REMAINDER UNLESS COMMANDS CHANGE
  909. # =============================================================================
  910. #
  911. case "$1" in                # LIST OF COMMANDS FROM SHELL PROMPT
  912. ?|-?*|[Hh]elp|HELP) echo "\n$FTPSYSTEM FTPmail/Archie email-based Internet client services $VERS\n
  913. FTPmail: Obtain files from the Internet to be mailed to you as electronic mail.
  914. Archie: Search for files on the Internet using keywords, results sent as email.\n
  915. Noninteractive FTP commands. File(s) are sent to invoking user account on TNL.
  916.    $ $0 remote.site.domain.name file/to/get
  917.    $ $0 file/to/get remote.site.domain.name [account [password]]\n
  918. Interactive FTP command. Help is available at all prompts by typing a ?.
  919.    $ $0\n
  920. Noninteractive Archie search command. Single-quote any regexp metacharacters.
  921.    $ $0 archie 'keyword'\n
  922. Interactive Archie search command. Adds several other features, type ? to list.
  923.    $ $0 archie\n
  924. FTPmail service currently provided via $FTPSERVER
  925. ARCHIE service currently provided via $ARCHIESERVER\n" ; exit 8 ;;
  926. *) FTPDIR="" ; FTPGET="" ; FTPANS="" ;;        # INITIALIZE PROGRAM VARIABLES
  927. esac
  928. #
  929. # START OF INTERACTIVE PROGRAM
  930. #                          DEFAULT VARIABLES
  931. T=/tmp/ftpm$$ ; export T        # temp filename
  932. FTPREPLY1="${FTPUSER}@${SITENAME}"    # LEAVE ALONE
  933. FTPREPLY="${FTPREPLY:-$FTPREPLY1}"    # LEAVE ALONE - $FTPREPLY importable
  934. COD="uuencode"                # leave or change to 'btoa'
  935. ANON="anonymous"            # LEAVE ALONE
  936. FTPORACLE=""                # LEAVE ALONE
  937. #
  938. trap "/bin/rm -f $T ; exit 1" 1
  939. trap "/bin/rm -f $T ; echo 'Aborted\n' ; exit 1" 2 3 15
  940. #
  941. # THIS SECTION PROCESSES NONINTERACTIVE FTPMAIL AND ARCHIE COMMANDS
  942. # Start here if NOT invoked in ARCHIE-only mode
  943. if test -z "$ARCHIEBYPASS" ; then
  944. case "$2" in
  945. "") case "$1" in
  946. "") echo "\n$FTPSYSTEM Internet mail server $VERS\n\nFTPmail via $FTPSERVER\nARCHIE via $ARCHIESERVER\nNSLOOKUP via $NSSERVER\nORACLE via $ORACLESERVER\nPITMANAGER via $PITSERVER\n"
  947. FTPSITE="" ;;
  948. # MODE SELECT COMMAND LINE SHORTCUTS
  949. [Oo]racle|ORACLE) FTPARCHIE=Y ; FTPORACLE=Q ; FTPSITE="$1" ;;
  950. [Pp]it|PIT|[Pp]itmanager|PITMANAGER) FTPARCHIE=Y ; FTPORACLE=U ; FTPSITE="$1" ;; # ORACLE SHORTCUT
  951. [Nn][Ss]|[Nn]slookup|NSLOOKUP) FTPARCHIE=Y ; FTPORACLE=N ; FTPSITE="$1" ;;
  952. [Aa]rchie|ARCHIE) FTPARCHIE=Y ; FTPSITE="$1" ;;
  953. ?*.?*) FTPSITE="$1" ;;
  954. *) echo "$0: invalid domain.address string ${1}" >&2 ; exit 9 ;;
  955. esac ;;
  956. # BELOW IS ALL FOR INVOCATIONS WITH 2 OR MORE ARGS
  957. [Ll][Ss]) echo "reply $FTPREPLY\nconnect ${1} anonymous\nascii\nls\nquit" |
  958. ${FTPMUA} ${FTPMUAS}"${FTPUSER}@${SITENAME};$$" ${FTPSERVER} >/dev/null 2>&1
  959. exit 0 ;;
  960. [Dd][Ii][Rr]) echo "reply $FTPREPLY\nconnect ${1} anonymous\nascii\ndir\nquit" |
  961. ${FTPMUA} ${FTPMUAS}"${FTPUSER}@${SITENAME};$$" ${FTPSERVER} >/dev/null 2>&1
  962. exit 0 ;;
  963. [Aa]rchie|ARCHIE) echo "path $FTPREPLY\nprog ${1}\nquit" |   # ARCHIE CMDLINE
  964. ${FTPMUA} ${FTPMUAS}"${FTPUSER}@${SITENAME};$$" ${FTPSERVER} >/dev/null 2>&1
  965. exit 0 ;;
  966. *) case "$1" in                        # DETERMINE COMMAND ORDER
  967. */?*) FTPSITE="$2" ; FTPDIR="`/bin/dirname $1`" ; FTPGET="`/bin/basename $1`"
  968. shift ; shift ; ANON="${*:-anonymous}"
  969. echo "reply $FTPREPLY\nconnect $FTPSITE $ANON\nchdir $FTPDIR\nbinary\nuuencode\nget $FTPGET\nquit" |
  970. ${FTPMUA} ${FTPMUAS}"${FTPUSER}@${SITENAME};$$" ${FTPSERVER} >/dev/null 2>&1
  971. exit 0 ;;
  972. [Aa]rchie|ARCHIE) echo "path $FTPREPLY\nprog ${2}\nquit" |   # ARCHIE CMDLINE
  973. ${FTPMUA} ${FTPMUAS}"${FTPUSER}@${SITENAME};$$" ${FTPSERVER} >/dev/null 2>&1
  974. exit 0 ;;
  975. ?*.?*) FTPSITE="$1" ; case "$2" in            # SILENT COMMAND MODE 2ARGS
  976. */?*) FTPDIR="`/bin/dirname $2`" ; FTPGET="`/bin/basename $2`"
  977. echo "reply $FTPREPLY\nconnect $FTPSITE anonymous\nchdir $FTPDIR\nbinary\nuuencode\nget $FTPGET\nquit" |
  978. ${FTPMUA} ${FTPMUAS}"${FTPUSER}@${SITENAME};$$" ${FTPSERVER} >/dev/null 2>&1 ;;
  979. *) FTPGET="$2" ; echo "reply $FTPREPLY\nconnect $FTPSITE anonymous\nbinary\nuuencode\nget $FTPGET\nquit" |
  980. ${FTPMUA} ${FTPMUAS}"${FTPUSER}@${SITENAME};$$" ${FTPSERVER} >/dev/null 2>&1 ;;
  981. esac ; exit 0 ;;
  982. *) echo "Usage: $0 remote.domain.name ftp/file/name" >&2 ; exit 9 ;;
  983. esac ; esac
  984. #
  985. #
  986. until test -n "$FTPSITE" ; do        # START FTPMAIL/ARCHIE INTERACTIVE MODE
  987. echo "Ftp: \c" ; read FTPSITE
  988. case "$FTPSITE" in
  989. ""|[QqXx]|[Qq]uit|QUIT|[Ee]xit|EXIT) exit 4 ;;
  990. [Mm]an|MAN) FTPSITE="" ; /usr/bin/man ftpmail ; echo ;;
  991. [Ff]tpmail|FTPMAIL) echo "FTPmail is the default mode. To use it, type in the system to FTP from." ; FTPSITE="" ;;
  992. [Rr]eply|REPLY) echo "You must follow 'reply' with the mailing@add.ress to send to." ; FTPSITE="" ;;
  993. [Rr]eply" "*?@?*|REPLY" "*?@?*) set $FTPSITE ; FTPREPLY="${2:-$FTPREPLY}" ; FTPSITE="" ; echo "Ok" ;;
  994. [Rr]eply*!*|REPLY*!*) echo "Sorry, you cannot use UUCP paths with FTPmail." ; FTPSITE="" ;;
  995. [Rr]eply*?@?*|REPLY*?@?*) echo "Invalid domain address construction." ; FTPSITE="" ;;
  996. [Rr]eply*|REPLY*) set $FTPSITE ; FTPREPLY="${2}@$SITENAME" ; FTPSITE="" ; echo "New reply to $FTPREPLY" ;;
  997. \?|[Hh]|[Hh]elp|HELP) echo "\nSupply the domain name of the site to connect to for FTP or type Q to quit.
  998. You may also use the command 'reply new@add.ress' to change the reply address.\n
  999. FTPmail is used to obtain files from the Internet via FTP. Since $FTPSYSTEM is
  1000. not directly connected to the Internet, the files are obtained by sending
  1001. an email request to ${FTPSERVER}, a machine that is on the net. This
  1002. machine then uses email to send the files to the $FTPSYSTEM user that requested
  1003. them. This program will construct a message to be automatically executed by the
  1004. FTPmail service.\n
  1005. Or type ARCHIE to perform Internet-wide Archie search for FTP-able files.\n
  1006. Or type NSLOOKUP to find the IP Internet address from a domain address.\n
  1007. Or type ORACLE to ask a question of the USENET Oracle.\n
  1008. Or type PITMANAGER to search for USENET posters by their username/hostname.\n"
  1009. FTPSITE="" ;;
  1010. [Aa]rchie|ARCHIE) FTPARCHIE=Y ;;
  1011. [Oo]racle|ORACLE) FTPARCHIE=Y ; FTPORACLE=Q ;;
  1012. [Pp]it|PIT|[Pp]itmanager|PITMANAGER) FTPARCHIE=Y ; FTPORACLE=U ;;
  1013. [Nn][Ss]|[Nn]slookup|NSLOOKUP) FTPARCHIE=Y ; FTPORACLE=N ;;
  1014. [Cc]onnect|CONNECT) echo "You need not use the word CONNECT. Just specify the site to connect to." ; FTPSITE="" ;;
  1015. [Cc]onnect" "?*.?*" "?*|CONNECT" "?*.?*" "?*) set $FTPSITE ; shift ; FTPSITE="$*" ; ANON="" ;;
  1016. [Cc]onnect" "?*.?*|CONNECT" "?*.?*) set $FTPSITE ; shift ; FTPSITE="$*" ;;
  1017. ?*.?*" "?*) ANON="" ;;
  1018. ?*.?*) ;;
  1019. *) echo "Invalid domain address string for network hosts." ; FTPSITE="" ;;
  1020. esac
  1021. done
  1022. else FTPARCHIE=Y                # ELSE IN ARCHIE-ONLY MODE
  1023. echo "\n$FTPSYSTEM Internet mail server $VERS\n\nARCHIE via $ARCHIESERVER\n"
  1024. fi
  1025. #
  1026. #                    ORACLE AND ARCHIE-ONLY INTERACTIVE SECTION
  1027. if test -n "$FTPARCHIE" ; then
  1028. if test "$FTPORACLE" = "Q" ; then            # USENET ORACLE MODE
  1029. echo "Your question for the USENET Oracle" ; FTPOR="~START~"
  1030. TURNAROUND="several days"
  1031. until test -n "$FTPOROK" -a -z "$FTPOR" ; do
  1032. echo "? \c" ; read FTPOR
  1033. case "$FTPOR" in
  1034. "") ;;
  1035. [Mm]an|MAN) /usr/bin/man oracle ; echo "Now finish entering your question or type Q to quit\n" ;;
  1036. [QqXx]|[Qq]uit|QUIT) /bin/rm -f $T ; echo 'Aborted\n' ; exit 1 ;;
  1037. \?|[Hh]|[Hh]elp|HELP) echo "\nEnter a question, and ONLY a question, for the USENET Oracle.\n
  1038. Although anonymity is preserved, publication of the question and answer is
  1039. possible. Your question may be read by a human instead of a machine. You should
  1040. indicate if question is serious, since this service is primarily for humor.\n" ;;
  1041. *) echo "$FTPOR" >> $T ; FTPOROK=Y ;;
  1042. esac ; done
  1043. #
  1044. elif test "$FTPORACLE" = "N" ; then        # NSLOOKUP MODE
  1045. FTPNSLOOKUP=""
  1046. until test -n "$FTPNSLOOKUP" ; do
  1047. echo "Domain address: \c" ; read FTPNSLOOKUP
  1048. case "$FTPNSLOOKUP" in
  1049. "") ;;
  1050. [QqXx]|[Qq]uit|QUIT) /bin/rm -f $T ; echo 'Aborted\n' ; exit 1 ;;
  1051. \?|[Hh]|[Hh]elp|HELP) echo "\nEnter a domain address to be resolved into a TCP/IP Internet address\n"
  1052. FTPNSLOOKUP="" ;;
  1053. *[a-zA-Z]*) echo "site $FTPNSLOOKUP" > $T ;;
  1054. *) echo "Enter the alphanumeric domain.add.ress only, not a numeric address"
  1055. FTPNSLOOKUP="" ;;
  1056. esac ; done
  1057. #
  1058. elif test "$FTPORACLE" = "U" ; then        # PITMANAGER ADDRESS SRCH MODE
  1059. FTPUSENET=""
  1060. until test -n "$FTPUSENET" ; do
  1061. echo "Name(s): \c" ; read FTPUSENET
  1062. case "$FTPUSENET" in
  1063. "") ;;
  1064. [QqXx]|[Qq]uit|QUIT) /bin/rm -f $T ; echo 'Aborted\n' ; exit 1 ;;
  1065. \?|[Hh]|[Hh]elp|HELP) echo "\nEnter username(s) or component(s) of their machine host or domain separated by
  1066. SPACEs. Each word forms part of an OR statement for search from a list of all
  1067. relatively recent USENET POSTERS. This means the report that is mailed to you
  1068. will usually include many more matches than what you are looking for. You must
  1069. then carefully examine it for the username/person's name you are looking for.\n
  1070. If this person has posted recently to USENET, $PITSERVER
  1071. may find their electronic mail address, and will display the GECOS (usually
  1072. personal name) field associated with this electronic address. Since each SEARCH
  1073. WORD is searched by itself, you should limit your search to suspected username
  1074. and/or hostname, but should NOT INCLUDE high-level domains such as 'com' or
  1075. 'edu' or 'uunet'. Do not include the atsign or periods in your search words.\n"
  1076. FTPUSENET="" ;;
  1077. # check for nonmatching separators
  1078. *.*) echo "Do not enter full domain addresses. Period character not allowed."
  1079. FTPUSENET="" ;;
  1080. *@*) echo "Do not enter full domain addresses. Atsign not allowed."
  1081. FTPUSENET="" ;;
  1082. # check for overly matching domains/hosts
  1083. com|COM|com" "*|COM" "*|*" "com|*" "COM|*" "com" "*|*" "COM" "*) echo "Do not use high-level domains in your search words!"
  1084. FTPUSENET="" ;;
  1085. org|ORG|org" "*|ORG" "*|*" "org|*" "ORG|*" "org" "*|*" "ORG" "*) echo "Do not use high-level domains in your search words!"
  1086. FTPUSENET="" ;;
  1087. edu|EDU|edu" "*|EDU" "*|*" "edu|*" "EDU|*" "edu" "*|*" "EDU" "*) echo "Do not use high-level domains in your search words!"
  1088. FTPUSENET="" ;;
  1089. net|NET|net" "*|NET" "*|*" "net|*" "NET|*" "net" "*|*" "NET" "*) echo "Do not use high-level domains in your search words!"
  1090. FTPUSENET="" ;;
  1091. gov|GOV|gov" "*|GOV" "*|*" "gov|*" "GOV|*" "gov" "*|*" "GOV" "*) echo "Do not use high-level domains in your search words!"
  1092. FTPUSENET="" ;;
  1093. mil|MIL|mil" "*|MIL" "*|*" "mil|*" "MIL|*" "mil" "*|*" "MIL" "*) echo "Do not use high-level domains in your search words!"
  1094. FTPUSENET="" ;;
  1095. uunet|UUNET|uunet" "*|UUNET" "*|*" "uunet|*" "UUNET|*" "uunet" "*|*" "UUNET" "*) echo "Do not use highly used hosts in your search words!"
  1096. FTPUSENET="" ;;
  1097. *) echo "send usenet-addresses/${FTPUSENET}" > $T ;;
  1098. esac ; done
  1099. #
  1100. else echo "path $FTPREPLY" > $T            # ARCHIE MODE
  1101. until test -n "$FTPARCH" ; do
  1102. echo "Search: \c" ; read FTPARCH
  1103. case "$FTPARCH" in
  1104. [QqXx]|[Qq]uit|QUIT) /bin/rm -f $T ; echo 'Aborted\n' ; exit 1 ;;
  1105. \?|[Hh]|[Hh]elp|HELP) echo "\nSupply a regular expression to be used for Archie searching.\n
  1106. You may also type COMPRESS to compress and uuencode your search results.
  1107. Or type SITE DOMAIN.NAME to find all files at a given node.\n" ; FTPARCH="" ;;
  1108. [Cc]ompress|COMPRESS) echo "compress" >> $T ; echo "Compress" ; FTPARCH="" ;;
  1109. [Ss]ite|SITE) echo "Site command must be followed by domain or IP address.\n" ; FTPARCH="" ;;
  1110. [Ss]ite" "?*.?*|SITE" "?*.?*) set $FTPARCH ; echo "site $2" >> $T ;;
  1111. [Ss]ite" "*|SITE" "*) echo "Invalid SITE, not an internet address.\n" ; FTPARCH="" ;;
  1112. *\"*) echo "Use SINGLE QUOTES ONLY in your search expression.\n" ; FTPARCH="" ;;
  1113. ?*" "?*) echo "Do not use MORE THAN ONE keyword or regular expression. No SPACEs.\n" ; FTPARCH="" ;;
  1114. ?*) echo "prog ${FTPARCH}" >> $T ;;
  1115. esac ; done
  1116. fi
  1117. # END ARCHIE-ONLY SECTION
  1118. #                            RESUME FTPMAIL SECTION
  1119. else echo "reply $FTPREPLY\nconnect $FTPSITE $ANON" > $T
  1120. FTPRQC="0"
  1121. if test "$FTPREPLY1" != "$FTPREPLY" ; then
  1122. echo "Reply -> $FTPREPLY"        # Report if not the invokers address
  1123. fi
  1124. until test -n "$FTPDIR" ; do
  1125. echo "Chdir: \c" ; read FTPDIR
  1126. case "$FTPDIR" in
  1127. [QqXx]|[Qq]uit|QUIT) /bin/rm -f $T ; echo 'Aborted\n' ; exit 1 ;;
  1128. \?|[Hh]|[Hh]elp|HELP) echo "\nSupply the subdirectory off the root public directory where your file(s) are
  1129. located. You must know this from a listing for this site.\n" ; FTPDIR="" ;;
  1130. *\"*) echo "Do not use DOUBLE QUOTES.\n" ; FTPDIR="" ;;
  1131. esac
  1132. done
  1133. echo "chdir $FTPDIR" >> $T
  1134. FTPGET=Y
  1135. #
  1136. # FTPMAIL GETFILE SECTION - MAIN LOOP, MAX. 10 GETS PER MESSAGE
  1137. until test "$FTPRQC" -ge "$FTPTHRESH" -o \( -n "$FTPOK" -a -z "$FTPGET" \) ; do
  1138. echo "Get: \c" ; read FTPGET
  1139. case "$FTPGET" in
  1140. "") ;;
  1141. *\"*) echo "Do not use DOUBLE QUOTES.\n" ; FTPGET="" ;;
  1142. [Qq]|[Qq]uit|QUIT) /bin/rm -f $T ; echo 'Aborted\n' ; exit 3 ;;
  1143. \?|[Hh]|[Hh]elp|HELP) echo "\nUse one of the commands:\n
  1144.     ascii binary chunksize compress dir ls man quit show\n
  1145. You must start with 'ascii' or 'binary' to specify file type, where ascii is
  1146. a text file, and binary a compressed file, archive file, or program executable.
  1147. After typing 'binary' you can optionally type 'compress' to compress the data
  1148. if it is not already in compressed form, to shrink the size. Type 'ls' to have
  1149. FTPMAIL send the file list in the given directory.\n
  1150. Use 'show' to review the actual created ASCII message that will be sent
  1151. to FTPMAIL. Type 'man' to read the online manual page for FTPMAIL. Or type
  1152. 'quit' to abort. All nontext files will be UUENCODED. FTPmail defaults with
  1153. sending your file(s) in chunks of 64000 bytes. To change that use the command
  1154. CHUNKSIZE. Maximum of $FTPTHRESH file GETs per FTPmail transaction.\n" ;;
  1155. #
  1156. [Ss]|[Ss]how|SHOW) /bin/cat $T ; echo ;;
  1157. [Mm]an|MAN) /usr/bin/man ftpmail ; echo "Resuming FTPmail\n" ;;
  1158. [Aa]|[Aa]scii|ASCII) echo "ascii" >> $T ; echo "Ascii" ; FTPOK="" ; FTPSET=Y ;;
  1159. [Bb]|[Bb]inary|BINARY) echo "binary" >> $T ; echo "Binary" ; FTPOK="" ; FTPSET=YY ;;
  1160. [Cc]ompress|COMPRESS) case "$FTPSET" in
  1161. YY) echo "compress" >> $T ; echo "Compress" ;;
  1162. *) echo "Must first set to BINARY" ;;
  1163. esac ;;
  1164. [Cc]ompact|COMPACT) case "$FTPSET" in
  1165. YY) echo "compact" >> $T ; echo "Compact" ;;
  1166. *) echo "Must first set to BINARY" ;;
  1167. esac ;;
  1168. [Bb]toa|BTOA) case "$FTPSET" in
  1169. YY) COD="btoa" ; echo "Btoa" ;;
  1170. *) echo "Must first set to BINARY" ;;
  1171. esac ; FTPGET="" ;;
  1172. [Uu]encode|UUENCODE) case "$FTPSET" in
  1173. YY) COD="uuencode" ; echo "Uuencode" ;;
  1174. *) echo "Must first set to BINARY" ;;
  1175. esac ; FTPGET="" ;;
  1176. [Dd]ir|DIR) echo "dir" >> $T ; FTPOK=YYY ; FTPRQC="`/bin/expr $FTPRQC + 1`" ;;
  1177. [Ll][Ss]) echo "ls" >> $T ; FTPOK=YYY ; FTPRQC="`/bin/expr $FTPRQC + 1`" ;;
  1178. [Cc]hunksize|CHUNKSIZE) echo "You must follow 'chunksize' with the number of bytes for each chunk" ;;
  1179. [Cc]hunksize" "*[a-zA-Z]*|CHUNKSIZE" "*[a-zA-Z]*) echo "Chunksize must be followed by the number of bytes only" ;;
  1180. [Cc]hunksize" "[1-9]*|CHUNKSIZE" "[1-9]*) echo "$FTPGET" >> $T ; echo "Ok" ;;
  1181. [Cc]hdir|CHDIR|[Cc]hdir" "?*|CHDIR" "?*) echo "Sorry, only 1 CHDIR allowed per session." ;;
  1182. #
  1183. ?*" "?*) echo "Get commands for files cannot have SPACEs in them" ;;
  1184. *) case "$FTPSET" in
  1185. "") echo "Must set ASCII or BINARY first" ;;
  1186. Y|YYY) echo "get $FTPGET" >> $T ; FTPOK=Y ; FTPRQC="`/bin/expr $FTPRQC + 1`" ;;
  1187. *) case "$FTPOK" in
  1188. "") echo "$COD\nget $FTPGET" >> $T ; FTPRQC="`/bin/expr $FTPRQC + 1`" ;;
  1189. *) echo "get $FTPGET" >> $T ; FTPRQC="`/bin/expr $FTPRQC + 1`" ;;
  1190. esac ; FTPOK=Y ;;
  1191. esac ;;
  1192. esac ; done
  1193. if test "$FTPRQC" -ge "$FTPTHRESH" ; then
  1194. echo "No more requests: maximum of $FTPTHRESH requests per message\n"
  1195. fi ; fi
  1196. #                        START FINAL CONFIRMATION SECTION
  1197. until test -n "$FTPANS" ; do
  1198. echo "Send? \c" ; read FTPANS
  1199. case "$FTPANS" in
  1200. *\"*) echo "Do not use DOUBLE QUOTES.\n" ; FTPANS="" ;;
  1201. [Ss]|[Ss]how|SHOW) /bin/cat $T ; echo ; FTPANS="" ;;
  1202. \?|[Hh]|[Hh]elp|HELP) echo "Type Yes or No or 'show' to see your message" ; FTPANS="" ;;
  1203. #
  1204. [YyOo]|[Yy]es|YES|[Oo]ui|OUI) if test -z "$FTPORACLE" ; then
  1205. echo "quit" >> $T        # YES - TRANSMIT
  1206. fi
  1207. case "$FTPARCHIE$FTPORACLE" in
  1208. "") FTPDEST="$FTPSERVER" ;;
  1209. Y) FTPDEST="$ARCHIESERVER" ;;
  1210. YQ) ;;                            # DEALT WITH BELOW
  1211. YN) FTPDEST="$NSSERVER" ;;
  1212. YU) FTPDEST="$PITSERVER" ;;
  1213. *) echo "$0: malfunction - exiting without sending request" >&2 ; exit 10 ;;
  1214. esac                            # MAIL IT
  1215. if test "$FTPORACLE" = "Q" ; then            # EXCEPTION FOR ORACLE
  1216. ${FTPMUA} ${FTPMUAS}"O Oracle greatest of all, please tell me" ${ORACLESERVER} < $T
  1217. elif test "$FTPORACLE" = "U" ; then            # EXCEPTION FOR PITMGR
  1218. ${FTPMUA} ${FTPMUAS}"path ${FTPREPLY}" ${FTPDEST} < $T
  1219. # NORMAL SUBJECT LINE FOR FTPMAIL/ARCHIE/NSLOOKUP/PITMANAGER
  1220. else ${FTPMUA} ${FTPMUAS}"${FTPUSER}@${SITENAME};$$" ${FTPDEST} < $T
  1221. fi
  1222. case "$FTPARCHIE$FTPRQC$FTPORACLE" in
  1223. Y*Q) FTPVERB="answer" ;;
  1224. Y*) FTPVERB="search" ;;
  1225. 1) FTPVERB="request" ;;
  1226. *) FTPVERB="$FTPRQC requests" ;;
  1227. esac
  1228. echo "Your $FTPVERB may not be received for ${TURNAROUND}. Watch your email.\n" ;;
  1229. #
  1230. #                              NO - ABORT
  1231. [Nn]|[Nn][Oo]*) echo "Aborted\n" ;;
  1232. *) echo "Please type either a Yes or No to send or abort sending FTPmail" ; FTPANS="" ;;
  1233. esac ; done
  1234. #
  1235. /bin/rm -f $T
  1236. exit 0
  1237. # =============================================================================
  1238. # @(#) internetserv v8 17-Nov-1992          (TNL v2) The Northern Lights
  1239. #Original name follows (this name used by another program, thus new name above)
  1240. # @(#) ftpmail v8 17-Nov-1992                     (TNL v2) The Northern Lights
  1241. #
  1242. # Copyright (c) 1992 by Daniel Ray - Limited noncommercial use is authorized,
  1243. # all other rights reserved.
  1244. #                            UPDATED AS OF 17NOV1992
  1245. # =============================================================================
  1246. \Rogue\Monster\
  1247. else
  1248.   echo "will not over write ./internetserv"
  1249. fi
  1250. if `test ! -s ./archie`
  1251. then
  1252. echo "writing ./archie"
  1253. cat > ./archie << '\Rogue\Monster\'
  1254. :
  1255. # @(#) archiemail v1 22OCT1992
  1256. # The Northern Lights
  1257. #
  1258. # Execs /bin/ftpmail to force archie service
  1259. #
  1260. ARCHIEBYPASS=Y ; export ARCHIEBYPASS
  1261. exec /bin/ftpmail
  1262. echo "$0: can't exec /bin/ftpmail, aborting" >&2
  1263. exit 2
  1264. \Rogue\Monster\
  1265. else
  1266.   echo "will not over write ./archie"
  1267. fi
  1268. if `test ! -s ./oracle`
  1269. then
  1270. echo "writing ./oracle"
  1271. cat > ./oracle << '\Rogue\Monster\'
  1272. :
  1273. # @(#) oracle v1 16-Nov-1992
  1274. # The Northern Lights
  1275. #
  1276. # FTPMAIL ORACLE-MODE LOADER PROGRAM
  1277. #
  1278. exec /bin/ftpmail oracle
  1279. echo "$0: can't exec /bin/ftpmail" >&2
  1280. exit 2
  1281. \Rogue\Monster\
  1282. else
  1283.   echo "will not over write ./oracle"
  1284. fi
  1285. if `test ! -s ./nslookup`
  1286. then
  1287. echo "writing ./nslookup"
  1288. cat > ./nslookup << '\Rogue\Monster\'
  1289. :
  1290. # @(#) nslookup v1 16-Nov-1992
  1291. # The Northern Lights
  1292. #
  1293. # FTPMAIL NSLOOKUP-MODE LOADER PROGRAM
  1294. #
  1295. exec /bin/ftpmail nslookup
  1296. echo "$0: can't exec /bin/ftpmail" >&2
  1297. exit 2
  1298. \Rogue\Monster\
  1299. else
  1300.   echo "will not over write ./nslookup"
  1301. fi
  1302. if `test ! -s ./nslookup.franc`
  1303. then
  1304. echo "writing ./nslookup.franc"
  1305. cat > ./nslookup.franc << '\Rogue\Monster\'
  1306. From grasp.insa-lyon.fr!dns-request Sun Nov 15 13:41:57 1992
  1307. Received: by tnl.com (Smail2.5 tnlE+deliver)
  1308.     id AA09594; 15 Nov 92 13:41:57 EST (Sun)
  1309. Received: from grasp1.univ-lyon1.fr by uu3.psi.com (5.65b/4.0.071791-PSI/PSINet)
  1310.     id AA27709; Sun, 15 Nov 92 13:22:53 -0500
  1311. Received: by grasp1.univ-lyon1.fr (5.67a8/IDA-1.5)
  1312.   via Rocad with DNServ id AA13497; Sun, 15 Nov 1992 19:22:48 +0100
  1313. Date: Sun, 15 Nov 1992 19:22:48 +0100
  1314. Message-Id: <199211151822.AA13497@grasp1.univ-lyon1.fr>
  1315. From: dns-request@grasp.insa-lyon.fr (Mail Name Server)
  1316. Subject: Reply to your queries
  1317. To: norstar@tnl.com
  1318. X-Charset: ASCII
  1319. X-Char-Esc: 29
  1320. Status: RO
  1321.  
  1322. you> help
  1323.  
  1324.    Available commands are:
  1325.  
  1326.       help                              ; get this
  1327.       ip host.foo.bar                   ; get host's addresses
  1328.       addr host.foo.bar                 ; same
  1329.       name ip#                          ; get host name from address
  1330.       host ip#                          ; same
  1331.       mx host.foo.bar                   ; get MX records
  1332.       ns host.foo.bar                   ; get name servers
  1333.       soa foo.bar                       ; get authority record
  1334.  
  1335.    Zone transfers can not be requested using this service.
  1336.  
  1337.    Functions to be implemented soon:
  1338.       uucp node                         ; get map entry for an uucp node
  1339.       path node                         ; short path from the Internet
  1340.  
  1341.    Example of requests:
  1342.       ip grasp1.univ-lyon1.fr
  1343.       host 134.214.100.25
  1344.       mx grasp.insa-lyon.fr
  1345.       ns fr
  1346.       soa ch
  1347.  
  1348.    The requests are interfaced to the 'dig' name server lookup
  1349.    program.
  1350.  
  1351.    If you prefer you may wish to use the nslookup syntax which is
  1352.    also recognized.
  1353.  
  1354.    Should you have questions, please mail them to the alias
  1355.    <dns-request@grasp.insa-lyon.fr>, where a human will read
  1356.    the mail.
  1357.    
  1358.  
  1359. you> help
  1360.  
  1361.    Available commands are:
  1362.  
  1363.       help                              ; get this
  1364.       ip host.foo.bar                   ; get host's addresses
  1365.       addr host.foo.bar                 ; same
  1366.       name ip#                          ; get host name from address
  1367.       host ip#                          ; same
  1368.       mx host.foo.bar                   ; get MX records
  1369.       ns host.foo.bar                   ; get name servers
  1370.       soa foo.bar                       ; get authority record
  1371.  
  1372.    Zone transfers can not be requested using this service.
  1373.  
  1374.    Functions to be implemented soon:
  1375.       uucp node                         ; get map entry for an uucp node
  1376.       path node                         ; short path from the Internet
  1377.  
  1378.    Example of requests:
  1379.       ip grasp1.univ-lyon1.fr
  1380.       host 134.214.100.25
  1381.       mx grasp.insa-lyon.fr
  1382.       ns fr
  1383.       soa ch
  1384.  
  1385.    The requests are interfaced to the 'dig' name server lookup
  1386.    program.
  1387.  
  1388.    If you prefer you may wish to use the nslookup syntax which is
  1389.    also recognized.
  1390.  
  1391.    Should you have questions, please mail them to the alias
  1392.    <dns-request@grasp.insa-lyon.fr>, where a human will read
  1393.    the mail.
  1394.    
  1395.  
  1396. \Rogue\Monster\
  1397. else
  1398.   echo "will not over write ./nslookup.franc"
  1399. fi
  1400. echo "Finished archive 1 of 1"
  1401. exit
  1402. -- 
  1403. norstar
  1404. The Northern Lights, Troy NY                                 |      
  1405. tnl dialins: 518 237-2163 @ 2400 bps 8N1 $free             ` | /    
  1406. ------------------------------------------------------   --- * ---  
  1407. UUCP: uunet!uupsi3!tnl!norstar                             / | .    
  1408. Internet: norstar@tnl.com                                    |      
  1409.