I still miss sz and rz when I ssh from a computer with no ssh server like nearly every windows box. If I remember right, sz = send a file from the server I'm in back to the client server. rz = receive a file from the client server. You can accomplish the with a new scp session on the client server, but it's an extra step. I use this as a helper when for building the scp command. function scppath() { echo $USER@$(host…
Fun with Kermit and ZMODEM over SSH
41–50 of 110 posts
Re: Fun with Kermit and ZMODEM over SSH
#42Re: Fun with Kermit and ZMODEM over SSH
#43Earlier quoted context omitted.
Thanks for the laugh (but also kind of serious) - reminds me of https://xkcd.com/2221/ (what a fast floppy drive you have!)
Now I'm wondering if there's ever been emulated software that crashed because it tried to calculate a data transfer rate, but the emulator transferred the data faster than the delta in the time measuring in the emulated machine, so it divided by zero.
“The timing calibration code in the Network Driver Interface Specification (NDIS) driver causes a divide by zero if the CPU runs at 2.2 GHz or faster. This problem does not occur with CPUs that run at 2.1 GHz or slower.”
It was patched for Windows 98 (312108USA8.EXE), but '95 was left without an official fix due to its age: http://lonecrusader.x10host.com/fix95cpu.html
Re: Fun with Kermit and ZMODEM over SSH
#44sz and rz! Such good memories.
Re: Fun with Kermit and ZMODEM over SSH
#45My only source of internet in undergrad was dialing into my university's modem pool and getting a shell on the main server (a DEC Alpha running OSF/1). Browsing the web was done through lynx. That worked fine but every now and then, a site would have some inline image that I'd want to see, so I'd view source to get the img URL and then download that to /tmp and transfer the file to my local machine via zmodem. Usuall…
But I could uuencode into a big buffer on my terminal program and uudecode locally.
Re: Fun with Kermit and ZMODEM over SSH
#46Re: Fun with Kermit and ZMODEM over SSH
#47Earlier quoted context omitted.
Jumping from Kermit to ZModem was quite a revelation for this Muppets fan. I was so sad to find I'd been needlessly reducing my download speed just by going with the fuzzy green frog, when presented with all of the different download options.
You probably didn't have Kermit configured correctly; most of us didn't. When someone finally showed me how to set the options (which default to reliable-but-godawfully-slow) for much higher speed transmission (bigger segments, sliding windows for ACK, maybe a few other things?), it was entirely comparable to Zmodem.
I wonder why more than one client would default to such comparatively-lame settings for Kermit though.
Re: Fun with Kermit and ZMODEM over SSH
#48Re: Fun with Kermit and ZMODEM over SSH
#49lrzsz is one of the first packages i install when configuring a new system. being able to send and receive files between remote and local without needing a separate ssh session is such a time saver. it's really fast as well. i do wonder if anyone has developed something more modern to make it even more performant?
Re: Fun with Kermit and ZMODEM over SSH
#50Last year we implemented "ymodem over BLE" for reasons that are complicated and possibly stupid. It felt familiar but strange and wrong to do such a thing. Worked great though.
I still use these protocols for embedded systems. There is almost always a CLI on a UART, so one should be able to transfer files. Ymodem is simpler and smaller than Zmodem, but we've used both. I've used Zmodem at 921600 baud, but it needs fairly large buffers (for a UART) to work. One of the big advantages is that TeraTerm for Windows exists, and supports xyzmodem. It means that I often don't have to write any host…