home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / c-kermit / ckdker.cli < prev    next >
Text File  |  2020-01-01  |  1KB  |  37 lines

  1. comment ***** KERMIT.CLI.PROTO *****
  2.  
  3. comment This is a prototype version of a KERMIT.CLI macro.
  4. comment It is provided with revision 5.l84 of C-Kermit for AOS/VS.
  5. comment It assumes that CKERMIT.INI and KERMIT.PR exist -- at
  6. comment least as links -- in :UTIL.  If this is not the case,
  7. comment you should modify this macro so that it accurately
  8. comment reflects the AOS/VS Kermit configuration on your
  9. comment system.
  10.  
  11. push
  12. prompt pop
  13.  
  14. comment Replace :util with name of directory where kermit resides
  15. sea :util [!sea]
  16.  
  17. comment The XLT characteristic must be turned off or file transfers
  18. comment may fail
  19. characteristics/off/xlt
  20.  
  21. comment Look for ckermit.ini -- first in home directory,
  22. comment then in :UTIL.  The first one found is what will be used.
  23. [!nequal,[!pathname :udd:[!user]:ckermit.ini],]
  24.   write Starting Kermit with :UDD:[!USER]:CKERMIT.INI[!ascii 15]
  25.   xeq kermit%0/% %1-%
  26. [!else]
  27.   [!nequal,[!pathname :util:ckermit.ini],]
  28.     write Starting Kermit with :UTIL:CKERMIT.INI[!ascii 15]
  29.     x kermit%0/% -y [!path CKERMIT.INI] %1-%
  30.   [!else]
  31.     write Starting Kermit without CKERMIT.INI.[!ascii 15]
  32.     x kermit%0/% %1-%
  33.   [!end]
  34. [!end]
  35.  
  36. pop
  37.