home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / sys / next / software / 3248 < prev    next >
Encoding:
Text File  |  1993-01-02  |  2.0 KB  |  65 lines

  1. Newsgroups: comp.sys.next.software
  2. Path: sparky!uunet!gatech!destroyer!cs.ubc.ca!alberta!cpsc.ucalgary.ca!debug!griffin!davor
  3. From: davor@griffin.cuc.ab.ca (Davor Barcan)
  4. Subject: Re: How do you download using  (XYZ)MODEM protocol?
  5. Message-ID: <C07ItC.9A6@griffin.cuc.ab.ca>
  6. Sender: davor@griffin.cuc.ab.ca (Davor Barcan)
  7. Reply-To: davor@griffin.cuc.ab.ca
  8. Organization: Griffin Software Development
  9. References: <C00nHK.3wv@sounds.wa.com>
  10. Date: Sat, 2 Jan 1993 03:24:47 GMT
  11. Lines: 52
  12.  
  13. In article <C00nHK.3wv@sounds.wa.com> BrianW@SoundS.WA.com (Brian Willoughby)  
  14. writes:
  15. > Robert Lutwak writes
  16. > | I compiled the zmodem package from sonata, but I can't figure
  17. > | out how to combine these command-line utilities with kermit.
  18. > | Should I be using tip?  How?
  19.  
  20. I prefer Kermit to tip anyday, but I was a little miffed that I had no way of  
  21. using Xmodem, Ymodem, and Zmodem from within Kermit.  Well, no more worries.   
  22. I put together a few Kermit macros which let me use all of the above transfer  
  23. protocols from within Kermit.
  24.  
  25. Just add the following lines to your '.kermrc' file in your home directory.   
  26. You need the Zmodem package from Sonata.  Now, whenever I need to upload using  
  27. Zmodem, I do the following:
  28.  
  29.     1) Exit into Kermit command mode (usually CTRL-] c)
  30.     2) 'cd' to the directory of the file(s)
  31.     3) Type 'sz files' or whatever files you want to send.
  32.  
  33. Use 'sz file(s)' for sending Zmodem, 'rz' for receiving Zmodem, 'sb file(s)'  
  34. for sending Ymodem batch, 'rb' for receiving Ymodem batch, 'sx file' for  
  35. sending Xmodem, and 'rx file' for receiving Xmodem.
  36.  
  37. Now you have no reason not to use Kermit all the time.  My tip just collects  
  38. dust.
  39.  
  40. --- '.kermrc' cut here ---
  41. # Send & receive Xmodem, Ymodem, Zmodem macros
  42.  
  43. define sx -
  44.     !sx < \v(line) > \v(line) \%1
  45.  
  46. define rx -
  47.     !rx < \v(line) > \v(line) \%1
  48.  
  49. define sb -
  50.     !sb < \v(line) > \v(line) \%1
  51.  
  52. define rb -
  53.     !rb < \v(line) > \v(line) \%1
  54.  
  55. define sz -
  56.     !sz < \v(line) > \v(line) \%1
  57.  
  58. define rz -
  59.     !rz < \v(line) > \v(line) \%1
  60. --- '.kermrc' end --
  61.  
  62. -- 
  63. Davor Barcan
  64. davor@griffin.cuc.ab.ca    (NeXTMail)
  65.