danpage v0.6 Copyright (c) 1997 by Dan Baker (5/26/1997)
A program to send alphanumeric pages.

Tested on:
	Linux 2.0.28, Linux 2.0.30

To compile and install:
 Edit Makefile if necessary
 make or make all
 make install

******* BEFORE FIRST USE:
 Edit configuration file /danpage/danpagerc (phone numbers, modem init, etc.)
   You may need to change the modem_init string for your modem, and you
   certainly need to change 'central' to your paging company's
   modem phone number. You also may want to create a danpagerc file
   in your home directory. If you do, danpage will look in both
   /danpage/danpagerc and ~/danpagerc at runtime. A danpagerc file
   in your home directory is a good place for personal pager aliases
   and for a 'sig' string.
 Read man page (man danpage)

danpage takes input from stdin, so you can redirect a (small) file
to a pager, or pipe (short) program output to a pager.
example: danpage -d /dev/cua1 -p mygirl < /usr/pages/youre.so.sweet
     or  some_program | danpage -p 4564567 -r 15 -q

v0.5  - Original release
v0.6  - Added -s option to suppress signature
        Began the Herculean Task of cleaning up my code.
        Added modem_restore string
        Added code to log optional text messages sent by server
        Added optional bits/sec setting via -b option
        (or bps parameter in rc file)
        Added -i option to ignore lockfiles
        Added -w option to wait for lockfile (if any) to go away
        Added -t option to truncate long messages
        Added -u option to replace sig with username@host
        Added code to respond to SIGTERM and SIGINT semi-gracefully
        Added code to send message as multiple packets
        Added -M option and splitsize parameter to send as multiple pages

----------
Note: As of May 1997, my provider does not accept multi-block pages,
so I haven't been able to test this feature. If your provider can
handle multiple packets, you should be able to send long messages
(up to 2048 chars) by using the -t commandline option
(ie: -t 512 for 512 char. messages) or the truncate parameter
(ie: truncate = 512) in your danpagerc file. By default, messages
are truncated to 80 characters, because that is my provider's limit.
The packet size defaults to 250, but can be changed with the -m option
or the packetsize parameter.
----------

Yet to do (maybe):
 Send a page to a group of pagers
 Mail error messages to sysadmin?
 Improve error messages and progress messages
 Run as a server with queues, etc.
 Implement clever user suggestions

---------------------------------------------------
Send suggestions, bug reports, and lavish praise to
danbaker@iquest.net
Sorry, I can't guarantee a reply :-(
---------------------------------------------------


This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.

