Smodem v1.1 - David Lebel ~~~~~~~~~~~~~~~~~~~~~~~~~ Support BBS: {Metropolis} (418) 626-4990 - 1200/2400 Amiga 500 w/3 megs and 135 megs HD FidoNet node: 1:240/516.0 Introduction: ~~~~~~~~~~~~ I wrote Smodem after a request of Roger Walker - AMIGAvilleII, as he wanted a program to put his modem offhook when he was processing mail. As I already wrote a similar program that could send commands to the modem, I said to Roger that it would be possible. But after all, you can use Smodem for any other purpose, but it's first objective is in a BBS environment (CLIs & Scripts speaking)... CLI usage: ~~~~~~~~~ Now you can change the device Smodem will access by using the -d and -n flag. If you want to use another device instead of the default serial.device you must notice Smodem BEFORE entering you command. Here's an exemple: Smodem -dmodem0.device -n0 AT H1 M0 ...etc... YOU must put the two flag, or nothing... * Usage: Smodem [-D -N] [modem...] How use it?!: ~~~~~~~~~~~~ Well, kinda easy. If you use the standard serial.device, type in CLI, or in your script : Smodem So, in our present case, it would be something like that: Smodem AT H1 M0 ...etc... After the script completed his task, we'll issues a: Smodem AT H0 So, when Paragon, or any other BBS we'll be in scripting process your BBS will remain BUSY, so the users wouldn't be thinking that your BBS as crashed. * new to 1.1: You can now put a space between each command as Smodem now parse the whole argument passed by DOS. ex: Smodem AT H1 M0 &C3 ... etc ... CAUTION!: ~~~~~~~~ If you use PARAGON BBS, YOU CANNOT use Smodem in a Cron environment, since Paragon is watching over us, and will detect everything we'll send to the serial.device. So, if you use the own event processing/scripting of Paragon, just put in the FIRST line of your script "Smodem ATH1M0", that will put your Modem offhook, so it'll ring busy for your users, and at the end just put "Smodem ATH0" to put back your modem on hook... History (well :-)): ~~~~~~~~~~~~~~~~~~~ version 1.1: - Can now put spaces between each command (neat) - You can now use another device (like modem0.device) and unit number - Cleaned the output - No bugs found indeed version 1.0: - First release Hope this will help some of you, SysOps! David Lebel SysOp of Metropolis! 1:240/516 4155 6eme avenue est #718 Charlesbourg, Québec, Canada G1H 7A5 BBS number: 418/626-4990 [eof]