home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / comm / zcme1761.zip / TUF_FONS.T < prev    next >
Text File  |  1990-05-19  |  12KB  |  226 lines

  1.     Tough Script 2.01c
  2.     RLW mods 13 Jan 90
  3. ::
  4. ::  -= A lean and mean platform for Pro-YAM and ZComm by Bob Willoughby =-
  5. ::
  6. ::    (...leaner and meaner if you decide to eliminate the cribsheet...)
  7. ::
  8. ::  There is a section at the end of this script with some of the author's
  9. ::  enlightening remarks (read 'babble') and raison d'etre for this script.
  10. ::
  11. ::  Note:  This 'tuf_fons.t' file has to be renamed to 'phones.t' prior to
  12. ::  use with Pro-YAM.  If you want to use it with ZComm, rename this file
  13. ::  to 'phodir.t' and comment out lines in the script as indicated.  I use
  14. ::  both Pro-YAM and ZComm, so this script is designed to utilize separate
  15. ::  directories for the two comm programs.  Tough Script expects Pro-YAM to
  16. ::  be in a C:\YAM directory; and it expects ZComm to be in a C:\ZCOMM
  17. ::  directory.  In addition, Pro-YAM needs a C:\YAM\TMP directory and ZComm
  18. ::  needs a C:\ZCOMM\TMP directory.
  19. ::
  20. ::  A comment about comments -- after you understand this script, all lines
  21. ::  that begin with a double colon "::" may be deleted to save space and
  22. ::  speed things up (...faster load time and less sifting for Pro-YAM or
  23. ::  ZComm to do).  Also, you can scrub the cribsheet menu if you do not need
  24. ::  that sort of quick reference.  Then you can use the F3 key for some other
  25. ::  purpose.
  26.  
  27. setup   port 1          :for COM1
  28.         : port 2        :for COM2
  29.         ena -d          :suppress the Carrier Lost msg during setup
  30.         pv-1            :Verbose OFF (-1 shows none; 50 shows all)
  31.         pa10000         :works fine with a 386SX at 16mhz
  32.  
  33. set:    putw "AT&Y0\r"                :set Hayes 2400b stored config profile 0
  34.         putw "AT E1 M1 S9=07 S10=15 S11=55 S25=5\r"    :Hayes 2400b parms, RLW
  35.         : putw "AT L0 V1 X4\r"             :set Hayes 2400 external modem, RLW
  36.         : putw "AT V1\r"                   :set Hayes 1200 external modem, RLW
  37.         : putw "ATE0X1V1 S7=20 S11=55 S0=0\r"    :a typical modem setup string
  38.         pd1                     : turn on time stamping
  39.         pi40                    : set redial for 40 seconds
  40.         set mprefix ATDT        : Tone Dial
  41.         : set mprefix ATDT1170, : Tone Dial plus call wait defeat, San Antonio
  42.         set l "1"; set m "1"
  43.         set quitcmd \003\336off\r       :press Alt-Q to set up auto log off
  44.                                         :when a long file xfr is finished
  45.  
  46.     ::  Note:  The following color setup works nicely with EGA/VGA color 
  47.     ::         monitors as well as with a VGA gas plasma screen.
  48.  
  49.         if dc p*15 p@79 pn31 pr30 pu15 ps14
  50.         display warpdrive               :if CGA monitor, comment this line out
  51.         : if dc pn7 pr112 pu15 ps7 p*7 p@7       :for monochrome monitor
  52.         set disks "abcdefghi"
  53.  
  54.         set phones "/yam/phones.t"     :comment this line out if you use ZComm
  55.         : set phones "/zcomm/phodir.t"   :uncomment this line if you use ZComm
  56.  
  57.     ::  Note:  Both of the above 'set phones' statements may be dispensed
  58.     ::  with if you define the name and location of your script when you
  59.     ::  install your registration serial number password (snp) with the
  60.     ::  putsnp routine.
  61.     ::
  62.     ::  An even more useful way to go is to define a DOS environment varible
  63.     ::  in your autoexec batch file as follows:
  64.     ::
  65.     ::                    set phones=c:\yam\phones.t
  66.     ::               or   set phones=c:\zcomm\phodir.t
  67.     ::
  68.     ::  Defining the DOS environment variable is the most flexible method
  69.     ::  to use, because that provides relative pathing to test other scripts.
  70.  
  71.         display bell=visual    :comment this line out if you like to be nagged!
  72.                                :: (commenting out line above turns on the beep)
  73.  
  74.         echo "Resetting Function Keys"; reskeys
  75.         set f3 "@gosub qref"            ::Call Quick Reference Screen
  76.         set f4 "@kermit rb"
  77.         set f5 "@accept s1 Send_ASCII_Msg: f -p %s1"
  78.         set f6 "@accept s2 Send_Z: sz -Z /yam/%s2" :send file in /yam dir
  79.                   : above line for use w/YAM - comment it out if using ZComm
  80.         : set f6 "@accept s2 Send_Z: sz -Z /zcomm/%s2" :send file in /zcomm dir
  81.                   : uncomment above line if using ZComm
  82.         set f7 "@accept s3 Receive_CRCX: rc %s3"
  83.         set f8 "@accept s4 Send_CRCX: sx %s4"
  84.         set f9 "@keys"
  85.         set helpfile "@!yhp \yam\umanh.hlp main"; set f10 "@help"
  86.                   : above line for use w/YAM - comment it out if using ZComm
  87.         : set helpfile "@!yhp \zcomm\zmanh.hlp zmain"; set f10 "@help"
  88.                   : uncomment above line if using ZComm
  89.         set fa5 "@kill; call -40 omen24"
  90.         set fa6 "@kill; call -40 buerg_1"
  91.         set fa7 "@kill; call -40 jordan24"
  92.         set fa8 "@kill; call -40 mb_1"
  93.         set fa9 "@kill; call -40 stump24"
  94.         set fa10 "@kill; call -40 olde24"
  95.  
  96.         set calllog /yam/tmp/calllog  :comment out this line if using ZComm
  97.         set rxlog /yam/tmp/rxlog      :comment out this line if using ZComm
  98.         set txlog /yam/tmp/txlog      :comment out this line if using ZComm
  99.         set tmp /yam/tmp              :comment out this line if using ZComm
  100.         : set calllog /zcomm/tmp/calllog  :uncomment this line if using ZComm
  101.         : set rxlog /zcomm/tmp/rxlog      :uncomment this line if using ZComm
  102.         : set txlog /zcomm/tmp/txlog      :uncomment this line if using ZComm
  103.         : set tmp /zcomm/tmp              :uncomment this line if using ZComm
  104.  
  105.         set adlopts r      : makes Zmodem AutoDownload xfrs use the "r"
  106.                            : (resume/Crash Recovery) option.
  107.  
  108. ::            This is an opening msg re the quick reference cribsheet.
  109. ::            Comment out the next six lines to skip the opening msg.
  110.  echo ""
  111.  echo ""
  112.  echo "                    Press F3 for Quick Reference                       "
  113.  echo ""
  114.  echo ""
  115.  return
  116.  
  117. qref  cls      :subroutine for quick reference "cribsheet" screen
  118.  echo "                                                                       "
  119.  echo "                   Bob's Pro-YAM/ZComm Cribsheet                       "
  120.  echo "                                                                       "
  121.  echo "F1  Exit Circular Buffer            F2  Enter Circular Buffer          "
  122.  echo "F3  This Cribsheet                  F4  Receive Kermit Download        "
  123.  echo "F5  Send ASCII Text                 F6  Send Zmodem Upload             "
  124.  echo "F7  Receive CrcXmodem Download      F8  Send CrcXmodem Upload          "
  125.  echo "F9  Show All Key Assignments        F10  Flashup Help Processor        "
  126.  echo "Alt-1  Get DOS Command prompt       Alt-2  Get YAM Command prompt      "
  127.  echo "                                                                       "
  128.  echo "                                                                       "
  129.  echo "              Most Often Called Bulletin Board Systems                 "
  130.  echo "                   [Assigned to Alt_Function Keys]                     "
  131.  echo "                                                                       "
  132.  echo "aF5  Telegodzilla..Chuck Forsberg   aF6  VOR BBS          ...Vern Buerg"
  133.  echo "aF7  TComm Spt    ...Larry Jordan   aF8  Motherboard     ...Julie Buerg"
  134.  echo "aF9  Commando Spt  ...Shane Stump   aF10  Olde Guard  ...Bill Scheffman"
  135.  echo "                                                                       "
  136.  echo "                                                                       "
  137.  echo ""
  138.   return
  139.  
  140.          return             :end of setup
  141.  
  142. ::
  143. ::                  --- PHONE DIRECTORY ENTRIES ---
  144. ::
  145. omen24          speed 2400  %l-503-621-3746 ena -E;t -8g
  146. omen12          speed 1200  %l-503-621-3746 ena -E;t -8g
  147. : omen-voice    %l-503-621-3406\;
  148. olde24          speed 2400  1-512-654-7817 ena -E;t -8g
  149. olde12          speed 1200  1-512-654-7817 ena -E;t -8g
  150. buerg_1         speed 2400  1-707-778-8944 ena -E;t -8g  :VOR BBS, public
  151. buerg_112       speed 1200  1-707-778-8944 ena -E;t -8g  :VOR BBS, public
  152. mb_1            speed 2400  1-707-778-8841 ena -E;t -8g
  153. mb_2            speed 2400  1-707-778-8743 ena -E;t -8g
  154. mb_112          speed 1200  1-707-778-8841 ena -E;t -8g
  155. mb_212          speed 1200  1-707-778-8743 ena -E;t -8g
  156. jordan24        speed 2400  1-301-428-7931 ena -E;t -8g
  157. jordan12        speed 1200  1-301-428-7931 ena -E;t -8g
  158. stump24         speed 2400  1-512-670-0954 ena -E;t -8g
  159. stump12         speed 1200  1-512-670-0954 ena -E;t -8g
  160. blacher24       speed 2400  1-202-547-2008 ena -E;t -8g
  161. blacher12       speed 1200  1-202-547-2008 ena -E;t -8g
  162. ::
  163. ::                  -= END OF PHONE DIRECTORY =-
  164.  
  165.          return             :end of script
  166.  
  167. ::
  168. ::  Some remarks about my Tough Script follow:
  169. ::
  170. ::  I use a pared down version of Tough Script every day that is a big,
  171. ::  bad 76 lines and 3,763 bytes long.  Thats it -- all of it, the whole
  172. ::  enchilada!  It does not have a memory kicker Cheatsheet menu like
  173. ::  this script, all commenting was dispensed with, and I even sent this
  174. ::  philosophical remarks section (timeless prose though it is) to the
  175. ::  big bit bin in the sky.  All that remains in my little version of
  176. ::  Tough Script is the setup section, a few function key assignments,
  177. ::  and my phone directory -- it does not call any external subroutine
  178. ::  scripts and like this Tough Script, it has no automated features.
  179. ::  Incidentally, I would incorporate automated logon subroutines if I
  180. ::  had an account with CompuServe or one of the other timesharing
  181. ::  outfits.
  182. ::
  183. ::  I have examined and written Pro-YAM and ZComm scripts for several
  184. ::  years and I finally decided that all I really want a script to do is
  185. ::  to fire up YAM with a few basic parameters and a phone directory.
  186. ::  Then I just light YAM's afterburners and take manual control with
  187. ::  its rich command set.  I get a lot of enjoyment out of direct
  188. ::  interaction with that marvelously flexible program -- I don't need
  189. ::  or want any more than that.  So my trimmed down version of this
  190. ::  Tough Script serves my individual needs quite well.  Yes, it is a
  191. ::  Spartan approach to telecommunications, but that is the way I like
  192. ::  it.  If you want a little bedrock to use as a starting point for
  193. ::  your more sophisticated script routines, be my guest.  That is why
  194. ::  I am making this Tough Script available.
  195. ::
  196. ::  Please understand that Tough Script is a purely personal working script
  197. ::   -- it was not designed to teach script writing or to "cover all the
  198. ::  bases" for beginners.  If you desire that sort of beginner script, you
  199. ::  need to get things up and running with Michael Ash's excellent PHOMAST5.T
  200. ::  script which is distributed with Pro-YAM and ZComm or separately as
  201. ::  PHOMAST5.ARC.
  202. ::
  203. ::  On the other hand if you want to use Tough Script as a "platform", you
  204. ::  can add sophisticated goodies easily...  things like a host mode,
  205. ::  Forsberg's TurboLearn, automatic logon routines, dialing queues, and
  206. ::  many other customized bells and whistles to build *your very own* system.
  207. ::  Writing scripts is a lot of fun and it is very satisfying.
  208. ::
  209. ::  For more information, I strongly urge you to bite the bullet -- study
  210. ::  the Professional YAM manual that is furnished when you register either
  211. ::  Pro-YAM or ZComm.  Or at least read the shareware ZCOMMDOC.ARC file
  212. ::  <..gasp..>!  You really can't get the maximum benefit and power out of
  213. ::  Pro-YAM or ZComm without coming to grips with the manual and learning
  214. ::  the program.  Yeah, thats right...  you *know* deep down inside that is
  215. ::  what you have to do.
  216. ::
  217. ::  In addition, you might want to subscribe to the Olde Guard (512-654-7817),
  218. ::  a bulletin board system in San Antonio, Texas that is a hangout for
  219. ::  several skillful Pro-YAM and ZComm users who enjoy swapping YAM yummies,
  220. ::  helping each other solve problems, and telling tall tales about tele-
  221. ::  communications ...<grin>.  Have a good day...
  222. ::
  223. ::                                  ...Bob
  224. ::
  225. ::++++++++++++++++++++++++++++ Thats All Folks! ++++++++++++++++++++++++++++::
  226.