home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 2: PC / frozenfish_august_1995.bin / bbs / d09xx / d0907.lha / CyberPager / rexx / README next >
Text File  |  1993-08-28  |  3KB  |  91 lines

  1. There are two sub-directories within this rexx directory.  The one called
  2. 'caw' contains scripts I have written for use with the CyberPager software.
  3. The other, called 'mwm', contains scripts originally written by Mike Meyer
  4. (mwm@contessa.phone.net) for his ARexx based ixo dialer.  Mike has been kind
  5. enough to allow me to include slightly modified versions of his scripts that
  6. work with my CyberPager software.
  7.  
  8. I will describe the files in the 'mwm' directory first since a couple of my
  9. scripts actually make use of some of Mike's stuff.
  10.  
  11.     mailpage
  12.  
  13.     mailpage allows one to gate e-mail into a page for a specific
  14.     person.  an example entry in one's uulib:aliases file might look
  15.     something like:
  16.  
  17.         page-me:: \me, "|rx mailpage me"
  18.  
  19.     this will send the page to the 'me' mailbox (a good idea since
  20.     it's possible for services to drop pages from time to time) as
  21.     well as run mailpage to spool the mail as a page for the 'me'
  22.     alias in pager:aliases.
  23.  
  24.     see the mailpage script for more information on configuration
  25.     options available.
  26.  
  27.     pagewatch
  28.  
  29.     allows one to watch a logfile and call external functions to
  30.     decide if a page should be sent or not.  for example, one could
  31.     use something like:
  32.  
  33.         run watch uuspool:logfile | pagewatch dest pagenews(line)
  34.  
  35.     if the external function (pagenews() in this case) returns a
  36.     null string, no page will be spooled.  if it returns a non-null
  37.     string, the line returned will be spooled for 'dest'.
  38.  
  39.     pagenews
  40.  
  41.     a sample external function for use with pagewatch.  looks for
  42.     lines indicating how many news items were received and sends
  43.     a page accordingly.
  44.  
  45.     getuuenv
  46.  
  47.     support script used by pagenews to read entries from
  48.     uulib:config
  49.  
  50.     watch
  51.  
  52.     this is not a rexx script, but an actual AmigaDOS binary.  it
  53.     runs only under KickStart 2.04 or higher.  It will watch the
  54.     specified file and anytime something is appended to it, it will
  55.     write the appended text to it's stdout, which one can pipe into
  56.     a filter like pagewatch.
  57.  
  58.     watch is a pure program and thus can be made resident.
  59.  
  60. Now for the stuff in the 'caw' directory.
  61.  
  62.     pagegetty
  63.  
  64.     another eternal function for use with pagewatch.  it is designed
  65.     to watch getty:logfile and report all login attempts, regardless
  66.     of whether they succeed or fail.  useful for knowing when people
  67.     are trying to log into your system.
  68.  
  69.     pagegetty is currently set up to ignore logins for the 'page'
  70.     account.  this is because I have my system set up so that if
  71.     one logs in as 'page', it presents a very simple editor which
  72.     allows one to enter a page message, spools it for me, and then
  73.     logs the user off.  since I'm going to get a page with their
  74.     message, there's no point in me also getting a page that says
  75.     the 'page' account logged in.
  76.  
  77.     PageOnCall
  78.  
  79.     frontend to spoolpage which reads a file 'pager:schedule' to
  80.     determine who is currently 'on call' and spools the message
  81.     specified (either on the command line or from stdin) for the
  82.     appropriate person or persons.  see the sample 'pager:schedule'
  83.     file for information on how to set this up.
  84.  
  85.     WatchForFailingSitesAndPage
  86.  
  87.     a filter designed to watch uuspool:logfile and send pages when
  88.     attempts to dial outbound sites fail.  you MUST edit the
  89.     configuration section of this script before it can be used on
  90.     your system.  see the script for more details on its use.
  91.