🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.next.software
Article #1499

Re: How do you download using (XYZ)MODEM protocol?

#1499
From: Davor Barcan
Date: Sat, 02 Jan 1993 03:24
52 lines
2140 bytes
In article <C00nHK.3wv@sounds.wa.com> BrianW@SoundS.WA.com (Brian Willoughby)  
writes:
> Robert Lutwak writes
> | I compiled the zmodem package from sonata, but I can't figure
> | out how to combine these command-line utilities with kermit.
> | Should I be using tip?  How?

I prefer Kermit to tip anyday, but I was a little miffed that I had no way of  
using Xmodem, Ymodem, and Zmodem from within Kermit.  Well, no more worries.   
I put together a few Kermit macros which let me use all of the above transfer  
protocols from within Kermit.

Just add the following lines to your '.kermrc' file in your home directory.   
You need the Zmodem package from Sonata.  Now, whenever I need to upload using  
Zmodem, I do the following:

	1) Exit into Kermit command mode (usually CTRL-] c)
	2) 'cd' to the directory of the file(s)
	3) Type 'sz files' or whatever files you want to send.

Use 'sz file(s)' for sending Zmodem, 'rz' for receiving Zmodem, 'sb file(s)'  
for sending Ymodem batch, 'rb' for receiving Ymodem batch, 'sx file' for  
sending Xmodem, and 'rx file' for receiving Xmodem.

Now you have no reason not to use Kermit all the time.  My tip just collects  
dust.

--- '.kermrc' cut here ---
# Send & receive Xmodem, Ymodem, Zmodem macros

define sx -
	!sx < \v(line) > \v(line) \%1

define rx -
	!rx < \v(line) > \v(line) \%1

define sb -
	!sb < \v(line) > \v(line) \%1

define rb -
	!rb < \v(line) > \v(line) \%1

define sz -
	!sz < \v(line) > \v(line) \%1

define rz -
	!rz < \v(line) > \v(line) \%1
--- '.kermrc' end --

-- 
Davor Barcan
davor@griffin.cuc.ab.ca	(NeXTMail)
Technical Details
Message-ID: <C07ItC.9A6@griffin.cuc.ab.ca>
Path: arc1-ca.pugleaf.net!sparky!uunet!gatech!destroyer!cs.ubc.ca!alberta!cpsc.ucalgary.ca!debug!griffin!davor
References: <C00nHK.3wv@sounds.wa.com>

Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.next.software
Path: arc1-ca.pugleaf.net!sparky!uunet!gatech!destroyer!cs.ubc.ca!alberta!cpsc.ucalgary.ca!debug!griffin!davor
From: davor@griffin.cuc.ab.ca (Davor Barcan)
Subject: Re: How do you download using  (XYZ)MODEM protocol?
Message-ID: <C07ItC.9A6@griffin.cuc.ab.ca>
Sender: davor@griffin.cuc.ab.ca (Davor Barcan)
Reply-To: davor@griffin.cuc.ab.ca
Organization: Griffin Software Development
References: <C00nHK.3wv@sounds.wa.com>
Date: Sat, 2 Jan 1993 03:24:47 GMT
Lines: 52