home *** CD-ROM | disk | FTP | other *** search
/ Oakland CPM Archive / oakcpm.iso / cpm / mex / mexsteps.tqt / MEXSTEPS.TXT
Encoding:
Text File  |  1986-08-17  |  9.9 KB  |  219 lines

  1.  
  2.            ****************************************
  3.            *                  MEX                 *
  4.            *             STEP by STEP             *
  5.            *                  by                  *
  6.            *           Curtis W. Givens           *
  7.            *  Kaypro Users of Dayton Ohio (KUDO)  *
  8.            ****************************************
  9.  
  10.      The  step by step outline for MEX114.COM listed  below  is
  11. meant   to  accompany  and  supplement  the  file   MEX-IMP.WMT
  12. previously up-loaded to the KUDO Host.
  13.  
  14.                             Step 1:
  15.  
  16.      You will need MEX114.COM and the appropriate overlay  file
  17. for  you  computer/modem  combination. A  file  called  MEX.HLP
  18. should  also  be  available  to be  placed  on  the  disk  with
  19. MEX114.COM so you can use MEX's built in help facility. All  of
  20. these  files are in the library file MEX114.LBR except for  the
  21. overlay. The library contains a catalog of available  overlays.
  22. The  library  also has a file  called  MLOADxx.COM  (xx-version
  23. number). You will need this file also.
  24.  
  25.                             Step 2:
  26.  
  27.      Use  your  word processor or editor to read  through  your
  28. overlay  file and make any changes that you need  to  customize
  29. the overlay for your computer modem combination. In the case of
  30. Kaypro  computers and the overlay MEXOVL.ASM there weren't  any
  31. major changes to make.
  32.  
  33.                             Step 3:
  34.  
  35.      Place  your  overlay and ASM.COM on a disk and  enter  the
  36. following: ASM MEXOVL <cr><-- use name of your overlay.
  37.  
  38.      ASM.COM  will generate two files one a .HEX file  and  the
  39. other  a  .PRN file. Before leaving this step read  the  screen
  40. carefully  and make sure there are no error messages  generated
  41. by ASM.COM.
  42.  
  43.                             Step 4:
  44.  
  45.      Place  MEX114.COM, the .HEX file generated in step 3,  and
  46. MLOADxx.COM on a disk and enter the following:
  47.  
  48.             MLOAD MEX.COM-MEX114.COM,XXXXXX.HEX <CR>
  49.  
  50. MEX.COM  can  be replaced by any name that you want to  use  to
  51. call  your  working  version of  the  program.  Substitute  the
  52. filename of you .HEX file for the X's. MLOAD will generate  the
  53. file MEX.COM in this case, this is a working copy of MEX114.COM
  54. ready to run with you computer/modem.
  55.  
  56.                             Step 5:
  57.  
  58.      If you already have several phone numbers that you want to
  59. use you'll want to do one more thing before we start using MEX.
  60.      Use  you word processor or editor to create a file  called
  61. PHONE.PHN with the following format:
  62.                 PHONE ID-1-XXX-XXX-XXXX baud rate
  63.                 PHONE ID- etc
  64. ID can be any identifier for a phone number up to 8 characters.
  65. Baud  Rate is optional. You can include up to 32 phone  numbers
  66. in this library.
  67.  
  68.                             Step 6:
  69.  
  70.      You  need  a  disk with your working  copy  of  MEX114.COM
  71. generated  by MLOAD in step 4, MEX.HLP and the  PHONE.PHN  file
  72. you  created in step 5. With these files together and ready  to
  73. go call MEX up by whatever name you gave it in step 4 and we'll
  74. finish the customizing process.
  75.  
  76.                             Step 7:
  77.  
  78.      You  should  now  have MEX running and  have  your  cursor
  79. waiting  for you at the MEX prompt. Enter SET<cr> and MEX  will
  80. show  you  a  list  of its current  settings.  Look  them  over
  81. carefully and see if any of them need changed. For Kaypro users
  82. with  internal modems you should enter SET INTERNAL<cr> to  get
  83. you internal modem activated. If you use rotary phones and  you
  84. have tone dialing as one of the entries enter SET PULSE<cr>  to
  85. change the dialing mode. You may find some BBS's that need more
  86. than the 30 second answer delay but most of them will work okay
  87. with  30.  For now leave the parity, stop and bits/char  as  is
  88. since these settings will work with nearly any board you  might
  89. want to contact.
  90.  
  91.                             Step 8:
  92.  
  93.      Enter  STAT<cr>  and  MEX will display  all  of  its  STAT
  94. variables.  For this exercise we are interested in two  entries
  95. in this table the one labeled ESC and the one label CLOCK.  The
  96. information  following ESC (T-mode escape char) will  tell  you
  97. what  character you will use to get out of the  terminal  mode.
  98. The  character in quotes is the key you'll use. In some  copies
  99. of MEX114.COM, it is shown as "^[" which is the key labeled ESC
  100. on  most keyboards. Other versions of MEX114.COM have just  "["
  101. or  the left bracket key as the escape character. From  now  on
  102. when  I say use your ESC key I'll be referring to whatever  key
  103. your version uses for its escape character.
  104.      The  entry  after CLOCK is the clock speed for  your  CPU.
  105. Most  distribution copies of MEX114 have this set at 46 or  4.6
  106. mhz. If you have one of the older Kaypros with the 2 mhz  clock
  107. you will need to change this by entering STAT CLOCK 20<cr>. Use
  108. this command to set the clock speed in the program to match you
  109. CPU's clock speed.
  110.  
  111.                            Step 10:
  112.  
  113.      Now  we  want to read the phone library that  you  created
  114. into  MEX so that you can call your numbers by  entering  their
  115. ID's. Enter the following at the MEX prompt:
  116.                        READ PHONE.PHN<cr>
  117. MEX will read your phone number library and after the next step
  118. the numbers will be a part of your working copy of MEX.
  119.  
  120.                            Step 11:
  121.  
  122.      None  of the changes that we've made since we started  MEX
  123. are permanent and they will all be lost if we exit MEX at  this
  124. point.  If you've finished making changes and want  them  saved
  125. for the next session you use the CLONE command as follows:
  126.                         CLONE MEX.COM<cr>
  127. MEX  will  inform you that the file MEX.COM exists,  if  that's
  128. what you called you working program when you used MLOAD and ask
  129. if  it's  okay  to erase. Say yes and MEX  will  create  a  new
  130. version of MEX.COM with your changes included.
  131.  
  132.                            Step 12:
  133.  
  134.      Time has come to make a call. If you're using an  external
  135. modem turn it on and enter this command:
  136.                     CALL ID or CALL xxx-xxxx
  137. MEX  will have the modem dial the phone number associated  with
  138. the  ID you specify or it will dial the phone number  that  you
  139. enter  at the command line. Adding the # symbol will cause  MEX
  140. to  try to dial this number until it gets through or until  you
  141. abort the dialing with a Control-C. A number after # will limit
  142. the  tries to the specified number. You can also have  MEX  try
  143. several numbers until it gets through by including the ID's  on
  144. the command line with just a space between each one.
  145.  
  146.                            Step 13:
  147.  
  148.      If  this  is your first contact with a  new  board  you'll
  149. probably want to open a capture file so that you can get a hard
  150. copy of all the material that the remote is going to spew  out.
  151. If  you are already in contact with a remote system  you  start
  152. the capture file as follows:
  153.           a.) ESC E {gets you back to command mode}
  154.           b.) T filename.ext {back to terminal mode with a file
  155. open by the specified name.
  156.      Another  option  is to open the capture  file  before  you
  157. start the call like this:
  158.           a.) T filename.ext {opens the capture file}
  159.           b.) ESC E {gets you back to command mode}
  160.           c.) CALL ID
  161. As soon as the remote system answer MEX will go to the terminal
  162. mode  with  the capture file open. A colon will appear  on  the
  163. screen  at  the  start of each line as an  indicator  that  you
  164. capture  file  is working. MEX uses a 16K  capture  buffer  and
  165. every  16K  it will briefly suspend things while it  writes  to
  166. disk.
  167.  
  168.                            Step 14:
  169.  
  170.      As  you  look around through the files of the  remote  you
  171. will  probably come across programs that you would like to  add
  172. to  your  collection. You should find out if the remote  has  a
  173. help  file for downloading and copy it into you  capture  file.
  174. After you get off line read through the instructions or  better
  175. yet  print the instructions out so you'll have it  beside  your
  176. keyboard when you try your first download. Procedures will vary
  177. from  system to system but downloading will go  something  like
  178. this:
  179.  
  180.      a.)  xmodem s du:filename.ext<cr> <-- you enter  this,  du
  181. can  be  omitted if you are logged on the drive and  user  area
  182. that has the file you want to download. If the remote  supports
  183. the new 1K protocol you will want a "k" after the "s".
  184.      b.)  The  remote will display some information  about  the
  185. transfer  and then tell you that the file is open and ready  to
  186. send.
  187.      c.) Enter ESC E {you're back in command mode}
  188.      d.) Enter rt filename.ext<cr> you can include a drive  and
  189. user  area  if you wish the file to be placed  on  a  different
  190. drive  or user than you are currently logged to. The "r"  tells
  191. MEX to receive a file, the "t" tells it to go back to  terminal
  192. mode  when the transfer is completed. If you are using  the  1K
  193. protocol put a "k" between the "r" and "t".
  194.  
  195.                            Step 15:
  196.  
  197.      Sending a file to the remote is also fairly simple.  Again
  198. exact  procedures  may vary slightly from board  to  board  but
  199. it'll go something like this:
  200.      a.)  xmodem r filename.ext<cr> <-- tells the  remote  that
  201. you are sending it a file.
  202.      b.)  The remote will tell you it has a file open ready  to
  203. receive.
  204.      c.) ESC E
  205.      d.) st filename.ext<cr> <-- MEX will send the file and  go
  206. back to terminal when the transfer is complete.
  207.  
  208. Note: If you have a capture file open MEX will suspend it while
  209. you do xmodem transfers and reopen it each time you go back  to
  210. the terminal mode.
  211.  
  212.                            Step 16:
  213.  
  214.      After  you sign off from the remote and after  the  remote
  215. drops  its carrier you want to enter ESC E to get back  to  the
  216. command  mode.  Now enter WRT<cr> to close  your  capture  file
  217. properly.  You can now exit from MEX with EXIT<cr> or go on  to
  218. make more calls.
  219.