home *** CD-ROM | disk | FTP | other *** search
/ CP/M / CPM_CDROM.iso / jsage / znode3 / modem / telenet.mex < prev    next >
Encoding:
Text File  |  1993-06-08  |  1.8 KB  |  46 lines

  1. The following is a general purpose READ file for placing calls
  2. via Telenet.   It assumes that the PREFIX is null (PREFIX "") and 
  3. that the SUFFIX is a RETURN (SUFFIX "^M").  These are the default 
  4. values on my system.   I've named this file CALLTO.MEX  The local 
  5. Telenet number is in the PHONE list. It is invoked by:
  6. READ CALLTO <AREA CODE> <NUMBER> [<CAPTURE FILE>]
  7.   
  8.                                        (remarks not part of file)
  9.  
  10.      STAT WTECHO OFF                  not needed, just slows us
  11.      STAT WECHO 1                     fast for initial call-up
  12.      STAT REPLY 1
  13.      STAT RETRY 1
  14.      SENDOUT "ATM0"                   to silence modem
  15.      DIAL TELENET
  16.      SENDOUT "^M"                     two returns go get started
  17.      SENDOUT ""                       respond to TERMINAL=
  18.      SENDOUT "C DIAL{1}//12,YOURID"   respond to @
  19.      STAT WECHO 4                     slow down for packets
  20.      SENDOUT "PASSWORD"               your password, of course
  21.      SENDOUT "ATZ"
  22.      SENDOUT "ATDT{2}"
  23.      T {3:CAPTURE.NEW}
  24.  
  25. For frequently called numbers a dedicated file can be created by
  26. copying the CALLTO file, and then filling in parameters 1, 2 and
  27. 3.  My file to call the Net-exchange BBS (NEX.MEX) is
  28.  
  29.      STAT CRC ON         set CRC/CHECKSUM to match bbs
  30.      STAT WTECHO OFF
  31.      STAT WECHO 1
  32.      STAT REPLY 1
  33.      STAT RETRY 1
  34.      SENDOUT "ATM0"
  35.      DIAL TELENET
  36.      SENDOUT "^M"
  37.      SENDOUT ""
  38.      SENDOUT "C DIAL202//12,YOURID"
  39.      STAT WECHO 4
  40.      SENDOUT "PASSWORD"
  41.      SENDOUT "ATZ"
  42.      SENDOUT "ATDT6893561"
  43.      T {1:CAPTURE.NEX}   option to specify different capture file 
  44.  
  45. Thats all there is to it.  Have fun.
  46.