public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* zmodem port?
@ 2004-07-28 20:33 Scott Evans
  0 siblings, 0 replies; 3+ messages in thread
From: Scott Evans @ 2004-07-28 20:33 UTC (permalink / raw)
  To: Cygwin List

Has anyone successfully ported sz/rz to Cygwin?

I asked about this a few years ago and got no responses but I still
haven't had time to look into it myself... maybe someone else has?


--
 scott evans :: www.antisleep.com

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: zmodem port?
@ 2004-08-10 18:09 Scott Evans
  0 siblings, 0 replies; 3+ messages in thread
From: Scott Evans @ 2004-08-10 18:09 UTC (permalink / raw)
  To: Cygwin List

On Wed Aug 4, Jerry Williams wrote:
> I searched earlier posts, and it is clear that it had been done. So
> I tried grabbing rzsz.sip from www.omen.com and building it. No
> problem. Just modify the makefile to add .exe to the executable
> names when calling ln. I attached the "diff -c" output so you can
> patch it. This adds a new "cygwin" target.
> [..]
> In fact, zssh comes with another flavor of rz/sz that builds just
> fine via ./configure && make.

Hey now!  Cool.

The omen.com version indeed works, though its rz exits a bit strangely.
I didn't know about zssh (neat idea), but their ssh is from the lrzsz
project; that's the one that I have built in the past.  Its rz doesn't
seem to work quite right.

Anyway, thanks for the diff -- I'll try the omen version for a while
and see how I do.



scott

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: zmodem port?
@ 2004-08-04 22:04 Williams, Gerald S (Jerry)
  0 siblings, 0 replies; 3+ messages in thread
From: Williams, Gerald S (Jerry) @ 2004-08-04 22:04 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 658 bytes --]

On Wednesday, July 28, Scott Evans asked:
> Has anyone successfully ported sz/rz to Cygwin?

I searched earlier posts, and it is clear that it had been
done. So I tried grabbing rzsz.sip from www.omen.com and
building it. No problem. Just modify the makefile to add
.exe to the executable names when calling ln. I attached
the "diff -c" output so you can patch it. This adds a new
"cygwin" target.

Actually, testing it was more complicated than I expected.
In the end, I set up sshd and used zssh (downloaded from
sourceforge). In fact, zssh comes with another flavor of
rz/sz that builds just fine via ./configure && make.

-Jerry Williams

[-- Attachment #2: makefile.diff --]
[-- Type: application/octet-stream, Size: 1224 bytes --]

*** makefile.orig	Fri Jul 19 11:54:22 2002
--- makefile	Wed Aug  4 12:56:46 2004
***************
*** 1,7 ****
--- 1,9 ----
  # Makefile for Unix/Xenix rz and sz programs
  # Some targets may not be up to date
  CC=cc
+ GCC=gcc
  OFLAG= -O
+ EXE=.exe
  
  
  nothing:
***************
*** 27,32 ****
--- 29,35 ----
  	@echo "	dnix5r3	DIAB Dnix 5.3"
  	@echo "	amiga	3000UX running SVR4"
  	@echo "	POSIX	POSIX compliant systems (SCO Open Desktop, strict)"
+ 	@echo "	cygwin	Cygwin"
  	@echo
  	@echo "	undos	Make the undos, todos, etc. program."
  	@echo "	doc	Format the man pages with nroff"
***************
*** 275,280 ****
--- 278,297 ----
  	ln sz zcommand
  	ln sz zcommandi
  
+ cygwin:
+ 	$(GCC) $(CFLAGS) $(RFLAGS) $(OFLAG) -DPOSIX -DMD=2 rz.c -o rz$(EXE)
+ 	size rz$(EXE)
+ 	-rm -f rb$(EXE) rx$(EXE) rc$(EXE)
+ 	ln rz$(EXE) rb$(EXE)
+ 	ln rz$(EXE) rx$(EXE)
+ 	ln rz$(EXE) rc$(EXE)
+ 	$(GCC) $(CFLAGS) $(RFLAGS) $(OFLAG) -DPOSIX sz.c -o sz$(EXE)
+ 	size sz$(EXE)
+ 	-rm -f sb$(EXE) sx$(EXE) zcommand$(EXE) zcommandi$(EXE)
+ 	ln sz$(EXE) sb$(EXE)
+ 	ln sz$(EXE) sx$(EXE)
+ 	ln sz$(EXE) zcommand$(EXE)
+ 	ln sz$(EXE) zcommandi$(EXE)
  
  bsd:
  	$(CC) $(CFLAGS) $(RFLAGS) $(OFLAG) -DMD=2 -Dstrchr=index -DV7 rz.c -o rz

[-- Attachment #3: Type: text/plain, Size: 218 bytes --]

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-08-10 17:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-07-28 20:33 zmodem port? Scott Evans
2004-08-04 22:04 Williams, Gerald S (Jerry)
2004-08-10 18:09 Scott Evans

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).