home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 459.lha / Smodem_v1.1 / Smodem.DOC < prev    next >
Encoding:
Text File  |  1990-12-30  |  2.6 KB  |  95 lines

  1.  
  2.             Smodem v1.1 - David Lebel
  3.                         ~~~~~~~~~~~~~~~~~~~~~~~~~
  4.            Support BBS: {Metropolis} (418) 626-4990 - 1200/2400
  5.                     Amiga 500 w/3 megs and 135 megs HD
  6.                          FidoNet node: 1:240/516.0
  7.  
  8.  
  9. Introduction:
  10. ~~~~~~~~~~~~
  11.         I wrote Smodem after a request of Roger Walker - AMIGAvilleII, as
  12. he wanted a program to put his modem offhook when he was processing mail.
  13. As I already wrote a similar program that could send commands to the modem,
  14. I said to Roger that it would be possible. But after all, you can use
  15. Smodem for any other purpose, but it's first objective is in a BBS
  16. environment (CLIs & Scripts speaking)...
  17.  
  18. CLI usage:
  19. ~~~~~~~~~
  20.  
  21.     Now you can change the device Smodem will access by using the -d and
  22. -n flag. If you want to use another device instead of the default serial.device
  23. you must notice Smodem BEFORE entering you command. Here's an exemple:
  24.  
  25.     Smodem -dmodem0.device -n0 AT H1 M0 ...etc...
  26.  
  27.     YOU must put the two flag, or nothing...
  28.  
  29. * Usage: Smodem [-D<device> -N<unit>] <modem> [modem...]
  30.  
  31. How use it?!:
  32. ~~~~~~~~~~~~
  33.     Well, kinda easy. If you use the standard serial.device, type in CLI,
  34. or in your script :
  35.  
  36.         Smodem <string>
  37.  
  38.     So, in our present case, it would be something like that:
  39.  
  40.         Smodem AT H1 M0 ...etc...
  41.  
  42.     After the script completed his task, we'll issues a:
  43.  
  44.     Smodem AT H0
  45.  
  46.     So, when Paragon, or any other BBS we'll be in scripting process
  47. your BBS will remain BUSY, so the users wouldn't be thinking that your BBS
  48. as crashed.
  49.  
  50. * new to 1.1: You can now put a space between each command as Smodem now parse
  51.               the whole argument passed by DOS.
  52.  
  53.           ex:  Smodem AT H1 M0 &C3 ... etc ...
  54.  
  55.  
  56. CAUTION!:
  57. ~~~~~~~~
  58.  
  59.     If you use PARAGON BBS, YOU CANNOT use Smodem in a Cron environment,
  60. since Paragon is watching over us, and will detect everything we'll send
  61. to the serial.device. So, if you use the own event processing/scripting of
  62. Paragon, just put in the FIRST line of your script "Smodem ATH1M0", that will
  63. put your Modem offhook, so it'll ring busy for your users, and at the end
  64. just put "Smodem ATH0" to put back your modem on hook...
  65.  
  66.  
  67. History (well :-)):
  68. ~~~~~~~~~~~~~~~~~~~
  69.  
  70. version 1.1:
  71.  
  72.         - Can now put spaces between each command (neat)
  73.     - You can now use another device (like modem0.device) and unit number
  74.     - Cleaned the output
  75.     - No bugs found indeed
  76.  
  77. version 1.0:
  78.  
  79.     - First release
  80.  
  81.  
  82.     Hope this will help some of you, SysOps!
  83.  
  84.     David Lebel
  85.     SysOp of Metropolis! 1:240/516
  86.  
  87.     4155 6eme avenue est #718
  88.     Charlesbourg, Québec, Canada
  89.     G1H 7A5
  90.  
  91.     BBS number: 418/626-4990
  92.  
  93.  
  94. [eof]
  95.