home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Frozen Fish 2: PC
/
frozenfish_august_1995.bin
/
bbs
/
d09xx
/
d0907.lha
/
CyberPager
/
rexx
/
README
next >
Wrap
Text File
|
1993-08-28
|
3KB
|
91 lines
There are two sub-directories within this rexx directory. The one called
'caw' contains scripts I have written for use with the CyberPager software.
The other, called 'mwm', contains scripts originally written by Mike Meyer
(mwm@contessa.phone.net) for his ARexx based ixo dialer. Mike has been kind
enough to allow me to include slightly modified versions of his scripts that
work with my CyberPager software.
I will describe the files in the 'mwm' directory first since a couple of my
scripts actually make use of some of Mike's stuff.
mailpage
mailpage allows one to gate e-mail into a page for a specific
person. an example entry in one's uulib:aliases file might look
something like:
page-me:: \me, "|rx mailpage me"
this will send the page to the 'me' mailbox (a good idea since
it's possible for services to drop pages from time to time) as
well as run mailpage to spool the mail as a page for the 'me'
alias in pager:aliases.
see the mailpage script for more information on configuration
options available.
pagewatch
allows one to watch a logfile and call external functions to
decide if a page should be sent or not. for example, one could
use something like:
run watch uuspool:logfile | pagewatch dest pagenews(line)
if the external function (pagenews() in this case) returns a
null string, no page will be spooled. if it returns a non-null
string, the line returned will be spooled for 'dest'.
pagenews
a sample external function for use with pagewatch. looks for
lines indicating how many news items were received and sends
a page accordingly.
getuuenv
support script used by pagenews to read entries from
uulib:config
watch
this is not a rexx script, but an actual AmigaDOS binary. it
runs only under KickStart 2.04 or higher. It will watch the
specified file and anytime something is appended to it, it will
write the appended text to it's stdout, which one can pipe into
a filter like pagewatch.
watch is a pure program and thus can be made resident.
Now for the stuff in the 'caw' directory.
pagegetty
another eternal function for use with pagewatch. it is designed
to watch getty:logfile and report all login attempts, regardless
of whether they succeed or fail. useful for knowing when people
are trying to log into your system.
pagegetty is currently set up to ignore logins for the 'page'
account. this is because I have my system set up so that if
one logs in as 'page', it presents a very simple editor which
allows one to enter a page message, spools it for me, and then
logs the user off. since I'm going to get a page with their
message, there's no point in me also getting a page that says
the 'page' account logged in.
PageOnCall
frontend to spoolpage which reads a file 'pager:schedule' to
determine who is currently 'on call' and spools the message
specified (either on the command line or from stdin) for the
appropriate person or persons. see the sample 'pager:schedule'
file for information on how to set this up.
WatchForFailingSitesAndPage
a filter designed to watch uuspool:logfile and send pages when
attempts to dial outbound sites fail. you MUST edit the
configuration section of this script before it can be used on
your system. see the script for more details on its use.