home *** CD-ROM | disk | FTP | other *** search
/ A Beginner's Guide to the Internet / INTERNET.ISO / text / lists / ccinet10 / gophmail.doc < prev    next >
Encoding:
Text File  |  1996-05-06  |  7.9 KB  |  164 lines

  1. About GopherMail
  2.  
  3. GopherMail is a gopher client that uses electronic mail to interact
  4. with the user.  Messages containing menus and gopher link information
  5. are mailed to users in response to their requests.  Users reply to
  6. these messages and indicate which menu items they want.  It lets
  7. people use Gopher without requiring them to have an account directly
  8. on the Internet, because it communicates through email messages
  9. instead of direct "live" network connections.
  10.  
  11. Until now, Gopher could only be used by people with Mac's, PC's, NeXTs
  12. and Suns, etc. which are "live" on the Internet, or through login
  13. accounts on Internet machines.  Gopher client programs would make a
  14. direct network connection to the Gopher server on the host with the
  15. desired information, anywhere on the Internet, anywhere in the world.
  16.  
  17. Thanks to the GopherMail program, most of the resources of Gopher are
  18. now available to everyone with email-only access to the Internet.  One
  19. estimate says that there are more than 10 million people who are off
  20. the Internet, but can reach it with email.  Wow.
  21.  
  22.  
  23. Getting Started
  24.  
  25. You can get started by sending mail to gophermail@ncc.go.jp with any or no
  26. subject and any or no message body. GopherMail will reply by sending you
  27. it's main gopher menu. You then use your email program to reply to that
  28. message, including it in the text of your reply. Mark which menu options
  29. you want to follow-up by putting an "X" (or "x") anywhere near the
  30. beginning of the line, before the menu numbers for those options.
  31.  
  32. From there you can just keep repeating the process, sending replies back to
  33. gopher with the desired items marked with an X. To make it more efficient,
  34. you could edit your replies so they contain just the gopher link infor-
  35. mation for the items that you want. You'll find all the link information
  36. after the menu, at the bottom of the menu messages that GopherMail sends to
  37. you. Some items on gopher menus are database searches and college phone
  38. books. To search for a particular name or keyword(s), you simply send them
  39. on the "Subject:" line of the message in which you've Xed the phonebook or
  40. WAIS database menu option.
  41.  
  42.  
  43. Options
  44.  
  45. GopherMail's options include:
  46.   - Message splitting after a certain file size
  47.   - Menu splitting after a certain number of menu items
  48.   - Re-using links saved in a "Bookmarks" file
  49.   - Requesting the Gopher menu for a specific hostname
  50.   - Requesting this help file
  51.   - Selecting menu items using fewer keystrokes
  52.   - Requesting items from the Info-Mac Archive
  53.   - Requesting gopher items with their raw link information
  54.  
  55. Since many email gateways have size limits on email messages, it's possible
  56. to split GopherMail output into several messages when it exceeds a certain
  57. size. This can be done by specifying a maximum number of menu items to send
  58. in one message, or by specifying a maximum size in bytes for text, HQX,
  59. binary and sound files. There are a couple of ways to do this. The first
  60. way is to put "Menu=50" and/or "Split=30000" (for example) in the
  61. "Subject:" of your message when requesting gopher menus and/or files. This
  62. would limit the output to 50 menu items per message, and would send files
  63. in messages of approximately 30,000 bytes each, maximum.
  64.  
  65. The other way is to include these same instructions in the body of the
  66. message, on separate lines. For example:
  67.  
  68. Split=25K  You may have text after the "25K".  The "K" or "k" becomes "000".
  69. Menu=75    Yes, I know 1K = 1024, but it was easier to write this way.
  70.  
  71. Lines like these already appear in menu messages, you can find them after
  72. the menu items and before the link information. They contain the default
  73. values. You should edit these lines to contain the values that you want.
  74. All subsequent menus will contain your preferred "Menu=" and "Split="
  75. values. Setting these values to 0 (zero) has the effect of not splitting
  76. messages at all. The default is to split menus after 100 items, and files
  77. after 27,000 bytes.  If "Split=" or "Menu=" appear in the Subject: of
  78. the message, these will override the values set in the message body.
  79.  
  80. You can specify a different host when requesting a top level gopher
  81. menu by placing a fully qualified domain name as the "Subject:" of your
  82. message (such as gopher.micro.umn.edu).  You can also specify a port
  83. other than the default of 70 by placing it after a fully qualified
  84. domain name in the subject (e.g. darth.sdsc.edu 800).
  85.  
  86. The most efficient way to use GopherMail is to mail just the link
  87. information for one or several gopher items.  You can build a type of
  88. "bookmarks" file by saving the links that you want to use again.  If
  89. you mail just the link information for a gopher connection, GopherMail
  90. will follow the link and mail you the output.  Here's what you need:
  91.  
  92. Name=About GopherMail   <- This is optional, it returns in the Subject:
  93. Type=0                  <- This is required, see below for a list of types.
  94. Port=70                 <- Port 70 is assumed, required only if different.
  95. Path=0/INFO/gophermail  <- This is usually required, depends on the link.
  96. Host=gopher.ncc.go.jp   <- Required.  This MUST be the last line of the link.
  97.  
  98. Supported Types are:
  99.  
  100.          0  -- Text File
  101.          1  -- Directory
  102.          2  -- CSO name server
  103.          4  -- Mac HQX file.
  104.          7  -- Full Text Index (these are often WAIS database searches)
  105.          9  -- Binary File
  106.          s  -- Sound
  107.  
  108. Binary and Sound Files are sent as uuencoded files.
  109.  
  110. If you send the word "help" as the subject (no quotes), GopherMail
  111. will send you this help file.
  112.  
  113. To save a few keystrokes, instead of putting X's in front of the menu
  114. lines, you could also just insert lines at the top of the reply which
  115. contain an "X" followed by the menu number that you want, such as:
  116. x3
  117. X15
  118.  
  119. Macintosh Programs and other files uploaded to the Info-Mac Archives
  120. on Sumex at Stanford can be easily requested through GopherMail.  Just
  121. send mail to gopher with the complete "Archived as" line for each
  122. file, such as: [Archived as /info-mac/dir/file-name.hqx; 400K]
  123. GopherMail will recognize these as Info-Mac requests, and retrieve
  124. them from the gopher server on sumex-aim.stanford.edu.  Since mail
  125. programs like Eudora can automatically de-binhex only complete HQX
  126. files, the default for Info-Mac files is not to split them into parts.
  127. This can easily be overridden by supplying a "Split=" value on the
  128. Subject: line.
  129.  
  130. GopherMail also recognizes gopher link information in "raw" form,
  131. which means tab-delimited on one line.  A typical link might look like:
  132.  
  133. 0About GopherMail#0/INFO/gophermail#gopher.ncc.go.jp#70
  134.  
  135. The "#" marks represent tab characters.  This may not seem very
  136. useful, but it allows you to copy a link from a program like GopherApp
  137. and paste it into a message to gopher for processing by GopherMail.
  138.  
  139.  
  140. Why GopherMail?
  141.  
  142. I was afraid that after leaving my job at Calvin in 1993, I might not
  143. be able to get an account which has direct "live" access to the
  144. Internet, and therefore have no more cool gopher access.  I expect
  145. that no matter where I live, I'll manage to at least find a service
  146. (free, cheap, or commercial) that will let me send email to Internet
  147. addresses.  My GopherMail program lives on an Internet computer, such
  148. as this Sun at Calvin where it started, or the computers at U of Minn,
  149. or maybe someday on every gopher server on the net, and it accepts
  150. email requests from anyone, on or off the Internet.  It makes the
  151. gopher connections on the Internet, then it emails the results back to
  152. the person who requested them, to whatever their email address is.
  153.  
  154.  
  155. Credits
  156.  
  157. GopherMail was written in Perl by Fred Bremmer in September 1992.
  158. Nick Hengeveld helped with the TCP portion, and Matt Ranney provided
  159. the book on Perl and helped with some regular expressions.  Several
  160. friends helped to find bugs and suggest improvements.
  161.  
  162. For help, to report bugs, or for more information, send email to
  163. gophermail-admin@gan.ncc.go.jp
  164.