codesmythe / zmtx-zmrx

Modernization of 1990's ZMODEM program, with ports CP/M-80 2.2 & 3.x
GNU General Public License v2.0
26 stars 3 forks source link

ZMRX not working with connection to TeraTerm or ZOC on Windows #8

Open riwide opened 2 years ago

riwide commented 2 years ago

I am trying to do zmodem from windows system to ZMRX on CPM3 of ROMWBW. The ZMRX -v sits dormant after a first display of a string on screen. It does not respond to zmodem send from teraterm or zoc on windows 10.

Which PC software is it known to work with ?

codesmythe commented 2 years ago

Tera Term does not seem to enable auto-recognition of ZMODEM transfers by default. There are a couple of changes you need to make to the default setup file (TERATERM.INI) to those going.

First, you first need to enable "Auto activation of ZMODEM Receive / Send." See https://ttssh2.osdn.jp/manual/4/en/setup/teraterm-trans.html#zmauto. I have this set to:

ZmodemAuto=on     

Then, you'll need to tell Tera Term the path to ZMRX on the CP/M side using "Receive command for ZMODEM". See https://ttssh2.osdn.jp/manual/4/en/setup/teraterm-trans.html#zmodemrecv. I'm using this:

ZmodemRcvCommand=a:zmrx

That said, it looks there are issues with sending to CP/M via ZMRX with Tera Term that I'll need to look into. (ZMTX seems to work okay.)

christopherkobayashi commented 2 years ago

Chiming in here to say that I'm seeing the same thing on Linux with minicom, dterm, and a direct invocation of "sz < /dev/ttyUSB0 > /dev/ttyUSB0"

Receiving files from the CP/M box via ZMTX.COM works fine. Starting ZMRX.COM and trying to initiate a transfer fails. Running strace on the sz process shows that sz is receiving the handshake from CP/M, responds to it, but X seconds later receives the handshake ... ad infinitum.

codesmythe commented 2 years ago

Hi @christopherkobayashi, could you please tell me what system you are running on, what baud rate you are using, and whether or not you are using hardware flow control? Thanks.

christopherkobayashi commented 2 years ago

Hello @codesmythe,

This is running on a Z80-MBC2 (both CP/M 2.2 and QP/M 2.7). Serial settings are 115200 8N1, neither hardware nor software flow control.

TheManticore commented 1 year ago

After following the above configuration instructions for TeraTerm (And adjusting the path, since I have ZMRX.COM installed on a different CP/M slice), I can reliably say that this is almost working correctly under CP/M 3, ZPM3. I'm using an SC131 (Z180 based pocket micro, running the latest RomWBW), connected via FTDI USB on serial A @ 115200/8/n/1/CTS/RTS. The one quirk I've noticed is when the transfer is complete, zmrx doesn't terminate correctly/hangs on the receiving end. I usually have to perform a board reset to escape out of it.

eprive commented 1 year ago

Starting ZMRX.COM and trying to initiate a transfer fails.

Did you find a solution and fix the issue ? How ....