Starts asmodem with a shaped window. This will remove the groundplate from the mailbox icon. Usefull if your would like to place asmodem in your Wharf.
This must be your modem lock file. On my system this is /var/lock/LCK..cua1 If you choose to ignore this tiny requirement, asmail defaults to /var/lock/LCK..modem, which is /dev/modem.
Specifies the update frequency. Default is 5 seconds.
Specifies the position of the asmodem-window.
Specifies the program to execute when mouseclick is invoked on the asmail-window. This is the app that executes when you are currently disconnected (Lights are Red!) I use it to dial.
Specifies the program to execute on when the modem detects that it has disconnected. I have it play an .au file. You could also have it redial if you have a permanent connection.
Executes <program> when you click on asmail, and you are dialed out. A good way to hang up.
asmodem -m /var/lock/LCK..cua1 &
Here is an example of asmodem with the works. This version will use execute
ppp-on when you click on asmodem when you're disconnected. It also executes
ppp-on when you disconnect (permanent connection!). If you click while asmail
is connected, it executes ppp-off.
asmodem -m /var/lock/LCK..cua1 -r ppp-on
Here is an example of how to start asmodem from afterstep. It uses the
default modem (/dev/modem) and shaped extension. This example executes
ppp-on if you click on it while disconnected, ppp-off if you click on it
while connected, and plays a nice sound if you drop carrier. Place the following
line in your .steprc file in your home directory.
*Wharf - - Swallow "asmodem" asmodem -s -r "cp /home/malda/sounds/crash.au /dev/audio" -h /usr/spin/ppp-off -d /usr/spin/ppp-on &
Asmodem is based almost entirely on asmail, Copyright (c) 1996 by Per Liden. No guarantees or warranties are provided, use this program at your own risk. It may be freely copied and used as long as this copyright-notice is left intact.
Note that the FreeBSD port uses /var/run/cuaa1.if as its default lockfile and the names of the serial devices (modems) are spelled with two aa's (e.g. /dev/cuaa1 ).
Modified May 1998 for FreeBSD.