home *** CD-ROM | disk | FTP | other *** search
/ Fish 'n' More 2 / fishmore-publicdomainlibraryvol.ii1991xetec.iso / fish / telecom / uucp_442 / uucp2.lzh / uucp2 / man / AnyMail < prev    next >
Text File  |  1990-12-28  |  4KB  |  119 lines

  1. Version 1.0                           11/28/90
  2.  
  3.           AnyMail - An Amiga UUCP mail notifier
  4.  
  5. Anymail was created as a replacement for the Amiga UUCP mail notifier,
  6. Inform.  Anymail will notify you by bringing the workbench screen
  7. upfront and opening a window with the author and subject of all your
  8. waiting mail.  You can easily click on the window to view your mail in
  9. your favorite mail reader or close the window, to read it later.
  10.  
  11. AnyMail will scan UUMAIL: looking for mail files.  Each file will be
  12. scanned for From and Subject lines to display in the AnyMail window.
  13. You may exclude files from the scan using the -e switch.  Any file matching
  14. the amiga pattern following the -e switch will not be scanned.    Normally
  15. you would exclude mbox from the scan.  You may also force files to be
  16. included in the scan that were excluded by the -e switch.  Any file
  17. matching the template following the -i switch will be scanned.
  18.  
  19. NOTE: if your mail directory contains a large number of files you may
  20. opt to do something like: -i <user> -e #?
  21.  
  22. NOTE: Only SIMPLE pattern matching --  ? and #? (where #? is the last
  23.       element) is currently supported.
  24.  
  25. AnyMail is not intended to be started by the user.  Instead it is to be
  26. started by the mailers rmail and sendmail.  The mailers look for a line
  27. in uulib:config labeled 'MailReadyCmd'.  This line will be executed when
  28. new mail is available.    You can set this line to start AnyMail.
  29.  
  30. The mailers try to prevent executing the notifier multiple times by
  31. using a flag file.  The mailers create the flag file, and the notifier
  32. deletes it.  The notifier is passed the name of the flag file following
  33. -x.
  34.  
  35. Starting AnyMail while another copy is already running will cause the
  36. first AnyMail to scan UUMAIL: again, and the second AnyMail to
  37. terminate.  AnyMail deletes the flag file as soon as it starts up to
  38. allow multiple invocations of AnyMail.
  39.  
  40. AnyMail is compiled with cres.o so you should be able to make it resident
  41. if you wish.
  42.  
  43. AnyMail accepts the following switches:
  44.  
  45. -c Command
  46.  
  47.     This command will be executed if the main body of the AnyMail window
  48.     is selected.  The command is usually used to start up a cli running
  49.     dmail.  For example:
  50.  
  51.          -c "newcli from uucp:s/start-dmail"
  52.  
  53. -e Pattern
  54.  
  55.     This switch is used to exclude a set of files from the set to be scanned.
  56.     The pattern is a normal amiga pattern. ? matchs any character.  #C matches
  57.     zero or more Cs.
  58.  
  59. -i Pattern
  60.  
  61.     This switch is used to override the -e switch.  It will force any file
  62.     name matching the pattern to be included in the set of files to be
  63.     scanned, regardless of any -e switches.  For example, the following
  64.     line will exclude files such as to-thanos, and to-chris, but it will
  65.     include the file tony, even though it matches the -e template.
  66.  
  67.         AnyMail -e to#? -i tony
  68.  
  69. -x FileName
  70.  
  71.     -x defines the name of the flag file.
  72.  
  73. Here's an example using the MailReadyCmd line of uulib:config.
  74.  
  75.    MailReadyCmd  AnyMail -e mbox -e to-#? -c "newcli from uucp:sc/start-dmail"
  76.  
  77. This will notify you of any new mail you have in UUMAIL:, but it wont
  78. bother you with mail you've archived in mbox, or files like to-neda, or
  79. to-dmk.  It has the added attraction that you'll be notified of mail
  80. directed to postmaster, root, or even to a missspelled version of your
  81. user name.  If you pick the main body of the window, dmail will be
  82. started in a new window to make it easy for you to read your new mail.
  83.  
  84.  
  85.  
  86. Legal:
  87.  
  88. It's yours.  Do what you want with it.  Enjoy it.  Use it at your own risk.
  89.  
  90.  
  91.  
  92. Preferences:
  93.  
  94. Distribute the original archive which contains sources, documentation and
  95. executable.  Don't distribute just part of it.
  96.  
  97.  
  98. Building AnyMail:
  99.  
  100. AnyMail is meant to be built in Matt Dillons uucp source environemnt.
  101. The makefile was used with the lattice version of make, lmk.
  102.  
  103.          lmk     - Will build and install AnyMail into uucp:c
  104.          lmk lzh - Will build an archive for distribution.
  105.  
  106.  
  107. Author:
  108.  
  109.     Chris Hind Genly         uucp address: chris@genly.uucp
  110.     95 Fountain Terr.                    or
  111.     New Haven, CT                  uunet!hsi!genly!chris
  112.           06515
  113.                  From compu$erve:  >Internet: chris@genly.uucp
  114.  
  115.  
  116.  
  117.  
  118.  
  119.