home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 427.lha / pmdcom / readme < prev    next >
Text File  |  1990-10-08  |  2KB  |  54 lines

  1.  
  2.  Please copy the req.library to your libs: directory.
  3.  
  4.  Start up option:
  5.  
  6.  pmdcom    - program will open window on custom screen.
  7.  
  8.  pmdcom w  - program opens window on workbench screen.
  9.  
  10.  If the rexxport could not be opened, it will say 'rexxport not active'.
  11. On startup, the program tries to run the arexx script 'init.pmd'.
  12. Of course, if rexx is not active, no init file is run and you can't
  13. use the macros.
  14.  
  15. The name of the rexxport is 'pmdcom'. The file extension for macros is 'pmd'.
  16.  Notice the 'macro' menu. You can launch 10 arexx macro's from here.
  17. Also, you may redefine the text and macros associated with each item.
  18. Here is a list of commands the port will respond to:
  19.  
  20.  
  21. quitcom   - end program
  22.  
  23. send      - send text to serial port. ^M sends return. ^C sends control-c etc.
  24.             ex.  send 'ATDT1234567^M'
  25. download  - download file. supply a filename.
  26. upload         "               "
  27. echo      - print text in window
  28. getstr    - pop getstr requester with prompt.
  29.             ex.     getstr hello
  30.                     say result
  31. macro     - set macro menu.
  32.             ex.  macro 1 dial dial
  33.              now item 1 of the macro menu says 'dial' and it runs dial.pmd
  34.  
  35. protocol  - set protocol.
  36.             ex. protocol xprzmodem.library TN,AY,SN,RN, etc.
  37.  
  38. setserial - set serial port :  setserial  2400 1
  39.                sets serial port to 2400,8,n,1
  40.                the second number corresponds to the menu item 'set'(1-4)
  41. capon     - turn on capture,supply a file name
  42. capoff
  43. waitstr   - wait for string to arrive on serial port,with timeout
  44.                 ex. waitstr 1200 60
  45.              wait for the string '1200', or return error after 60 seconds.
  46. pause     - pause for specified seconds.
  47.  
  48. Please also note that xpr_setserial is not implemented, so you must have
  49. the program set to 8,n,1 or the protocol will fail. Also, a previous
  50. version of this program had a bug that would usally blow up the machine
  51. if you tried to abort a transfer.I cleaned up that mess and some other stuff.
  52. Whene I learn how to program, maybe I won't make those mistakes.
  53. If anyone wants the C source for this,leave me a message.
  54.