Rocksolid Light

Welcome to Rocksolid Light

mail  files  register  newsreader  groups  login

Message-ID:  

You don't have to know how the computer works, just how to work the computer.


devel / comp.os.cpm / Re: Linux -> CP/M XMODEM transfer timeout

SubjectAuthor
* Linux -> CP/M XMODEM transfer timeoutPaolo Amoroso
`* Linux -> CP/M XMODEM transfer timeoutDavid Schultz
 +- Linux -> CP/M XMODEM transfer timeoutPaolo Amoroso
 +* Linux -> CP/M XMODEM transfer timeoutDennis Boone
 |`* Linux -> CP/M XMODEM transfer timeoutDavid Schultz
 | +- Linux -> CP/M XMODEM transfer timeoutPaolo Amoroso
 | `* Linux -> CP/M XMODEM transfer timeoutDennis Boone
 |  +* Linux -> CP/M XMODEM transfer timeoutPaolo Amoroso
 |  |`* Linux -> CP/M XMODEM transfer timeoutRandy McLaughlin
 |  | +- Linux -> CP/M XMODEM transfer timeoutPaolo Amoroso
 |  | `* Linux -> CP/M XMODEM transfer timeoutPaolo Amoroso
 |  |  `* Linux -> CP/M XMODEM transfer timeoutDavid Schultz
 |  |   `* Linux -> CP/M XMODEM transfer timeoutPaolo Amoroso
 |  |    `* Linux -> CP/M XMODEM transfer timeoutPaolo Amoroso
 |  |     `* Linux -> CP/M XMODEM transfer timeoutDavid Schultz
 |  |      `* Linux -> CP/M XMODEM transfer timeoutPaolo Amoroso
 |  |       +* Linux -> CP/M XMODEM transfer timeoutDavid Schultz
 |  |       |`* Linux -> CP/M XMODEM transfer timeoutPaolo Amoroso
 |  |       | `- Linux -> CP/M XMODEM transfer timeoutDavid Schultz
 |  |       `* Linux -> CP/M XMODEM transfer timeoutDavid Schultz
 |  |        `- Linux -> CP/M XMODEM transfer timeoutPaolo Amoroso
 |  `* Linux -> CP/M XMODEM transfer timeoutDavid Schultz
 |   `* Linux -> CP/M XMODEM transfer timeoutPaolo Amoroso
 |    `- Linux -> CP/M XMODEM transfer timeoutDavid Schultz
 `- Linux -> CP/M XMODEM transfer timeoutPaolo Amoroso

1
Re: Linux -> CP/M XMODEM transfer timeout

<be93d355-784f-42a7-b365-652d276b4befn@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=4534&group=comp.os.cpm#4534

  copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:a5d:64e9:0:b0:21b:c450:596f with SMTP id g9-20020a5d64e9000000b0021bc450596fmr10777771wri.35.1656357824374;
Mon, 27 Jun 2022 12:23:44 -0700 (PDT)
X-Received: by 2002:a05:6870:970e:b0:101:c67e:1b35 with SMTP id
n14-20020a056870970e00b00101c67e1b35mr8667139oaq.139.1656357823680; Mon, 27
Jun 2022 12:23:43 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.128.88.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.cpm
Date: Mon, 27 Jun 2022 12:23:43 -0700 (PDT)
In-Reply-To: <1e84d63c-23cb-418a-944c-fd53b99c3524n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=37.183.142.113; posting-account=uOUOHg4AAADo8AO9B3SI43ekV3AA6lU0
NNTP-Posting-Host: 37.183.142.113
References: <1e84d63c-23cb-418a-944c-fd53b99c3524n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <be93d355-784f-42a7-b365-652d276b4befn@googlegroups.com>
Subject: Re: Linux -> CP/M XMODEM transfer timeout
From: paolo.amoroso@gmail.com (Paolo Amoroso)
Injection-Date: Mon, 27 Jun 2022 19:23:44 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: Paolo Amoroso - Mon, 27 Jun 2022 19:23 UTC

So far I have no fix for the issue, but I've figured and tested an effective workaround: pasting a text file from Minicom to an ED session on CP/M, i.e. sending the contents of the file as if it would be typed in, then saving the file from ED. This requires setting at least a 5 ms character transmit delay in Minicom's terminal settings (^A T F). It's slower than XMODEM, but still acceptable and sufficiently practical.

The workaround lets me send HEX files for transferring CP/M programs, uuencoded (or similar) files for other binary, non-excutable files.

Re: Linux -> CP/M XMODEM transfer timeout

<a6CdnXBER-cljCf_nZ2dnUU7-X3NnZ2d@earthlink.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=4535&group=comp.os.cpm#4535

  copy link   Newsgroups: comp.os.cpm
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!buffer2.nntp.dca1.giganews.com!nntp.earthlink.com!news.earthlink.com.POSTED!not-for-mail
NNTP-Posting-Date: Mon, 27 Jun 2022 15:23:20 -0500
Date: Mon, 27 Jun 2022 15:23:17 -0500
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
Thunderbird/91.10.0
Subject: Re: Linux -> CP/M XMODEM transfer timeout
Content-Language: en-US
Newsgroups: comp.os.cpm
References: <1e84d63c-23cb-418a-944c-fd53b99c3524n@googlegroups.com>
<be93d355-784f-42a7-b365-652d276b4befn@googlegroups.com>
From: david.schultz@earthlink.net (David Schultz)
In-Reply-To: <be93d355-784f-42a7-b365-652d276b4befn@googlegroups.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Message-ID: <a6CdnXBER-cljCf_nZ2dnUU7-X3NnZ2d@earthlink.com>
Lines: 19
X-Usenet-Provider: http://www.giganews.com
NNTP-Posting-Host: 108.194.109.65
X-Trace: sv3-CIFr1WMlVnjHCLrYIx1sJ5Du7ZGXUIZqlEizVmM8i5eYPgBI5mCLAhtY22LD9KzrgbuDwToYvzWyHUp!nsh6BW5s3EG5Lr34AjcsYCuzHEbmJn9+q3G67RtryJll4jACJNrAZnMoMBwL+fHk5wodcGHAxRkO!AISkwVXkVZAqGCereX1jKI5TW4K87lJT
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
X-Original-Bytes: 2497
 by: David Schultz - Mon, 27 Jun 2022 20:23 UTC

On 6/27/22 2:23 PM, Paolo Amoroso wrote:
> So far I have no fix for the issue, but I've figured and tested an effective workaround: pasting a text file from Minicom to an ED session on CP/M, i.e. sending the contents of the file as if it would be typed in, then saving the file from ED. This requires setting at least a 5 ms character transmit delay in Minicom's terminal settings (^A T F). It's slower than XMODEM, but still acceptable and sufficiently practical.
>
> The workaround lets me send HEX files for transferring CP/M programs, uuencoded (or similar) files for other binary, non-excutable files.

Since you can successfully send a very short file with XMODEM but not a
longer one makes me suspect an inability to keep up with incoming data.
So a lower bit rate would be the first thing to try.

Looking at the link to the blog which talks about XMODEM support this
would seem to fit into that category of can't receive. It also mentions
that besides getting the new version of software you need to follow a
special procedure to increase the receive buffer to 128 bytes.

I suspect even that would fail if the XMODEM-1K variant were used.

--
http://davesrocketworks.com
David Schultz

Re: Linux -> CP/M XMODEM transfer timeout

<b15badc1-7c95-4d8b-9fbc-284933628975n@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=4536&group=comp.os.cpm#4536

  copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:a5d:5234:0:b0:21b:829c:3058 with SMTP id i20-20020a5d5234000000b0021b829c3058mr14026988wra.13.1656362607917;
Mon, 27 Jun 2022 13:43:27 -0700 (PDT)
X-Received: by 2002:a9d:12c:0:b0:616:bb45:79c4 with SMTP id
41-20020a9d012c000000b00616bb4579c4mr6078132otu.289.1656362607349; Mon, 27
Jun 2022 13:43:27 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.128.88.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.cpm
Date: Mon, 27 Jun 2022 13:43:27 -0700 (PDT)
In-Reply-To: <a6CdnXBER-cljCf_nZ2dnUU7-X3NnZ2d@earthlink.com>
Injection-Info: google-groups.googlegroups.com; posting-host=37.183.142.113; posting-account=uOUOHg4AAADo8AO9B3SI43ekV3AA6lU0
NNTP-Posting-Host: 37.183.142.113
References: <1e84d63c-23cb-418a-944c-fd53b99c3524n@googlegroups.com>
<be93d355-784f-42a7-b365-652d276b4befn@googlegroups.com> <a6CdnXBER-cljCf_nZ2dnUU7-X3NnZ2d@earthlink.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <b15badc1-7c95-4d8b-9fbc-284933628975n@googlegroups.com>
Subject: Re: Linux -> CP/M XMODEM transfer timeout
From: paolo.amoroso@gmail.com (Paolo Amoroso)
Injection-Date: Mon, 27 Jun 2022 20:43:27 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: Paolo Amoroso - Mon, 27 Jun 2022 20:43 UTC

On Monday, June 27, 2022 at 10:23:26 PM UTC+2, David Schultz wrote:
> So a lower bit rate would be the first thing to try.

As far as I know the Z80-MBC2 supports only 115200 bps. When I tried 9600 bps I got garbage in Minicom, but it's worth trying again.

> Looking at the link to the blog which talks about XMODEM support this
> would seem to fit into that category of can't receive. It also mentions
> that besides getting the new version of software you need to follow a
> special procedure to increase the receive buffer to 128 bytes.

My understanding is that special procedure is part of rebuilding the firmware and no further action is required. The board's developed assured me my unit has the latest, fixed XMODEM setup as confirmed by the boot message "IOS: Found extended serial Rx buffer".

Re: Linux -> CP/M XMODEM transfer timeout

<AoOdnTnGKrL87Sf_nZ2dnUU7-QWdnZ2d@giganews.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=4537&group=comp.os.cpm#4537

  copy link   Newsgroups: comp.os.cpm
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!buffer2.nntp.dca1.giganews.com!news.giganews.com.POSTED!not-for-mail
NNTP-Posting-Date: Mon, 27 Jun 2022 22:07:13 -0500
Sender: Dennis Boone <drb@yagi.h-net.org>
From: drb@ihatespam.msu.edu (Dennis Boone)
Subject: Re: Linux -> CP/M XMODEM transfer timeout
Newsgroups: comp.os.cpm
References: <1e84d63c-23cb-418a-944c-fd53b99c3524n@googlegroups.com> <be93d355-784f-42a7-b365-652d276b4befn@googlegroups.com> <a6CdnXBER-cljCf_nZ2dnUU7-X3NnZ2d@earthlink.com>
User-Agent: tin/2.4.5-20201224 ("Glen Albyn") (FreeBSD/13.0-RELEASE-p6 (amd64))
Message-ID: <AoOdnTnGKrL87Sf_nZ2dnUU7-QWdnZ2d@giganews.com>
Date: Mon, 27 Jun 2022 22:07:13 -0500
Lines: 9
X-Usenet-Provider: http://www.giganews.com
X-Trace: sv3-Y4x16wIX58G4WDRwkZ9jKjjI8XY8CHps6RHgTybOox/KsiwgckH7aXjZec0QVHwRBj//aWVBV9oVDuo!bG73GeNda2/8jz+hVtDIhCWup89pfWDX3l+o5A6f3e0xyP8seyqesgdipbxz05gXYWCyIp0=
X-Complaints-To: abuse@giganews.com
X-DMCA-Notifications: http://www.giganews.com/info/dmca.html
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
X-Original-Bytes: 1523
 by: Dennis Boone - Tue, 28 Jun 2022 03:07 UTC

> Since you can successfully send a very short file with XMODEM but not a
> longer one makes me suspect an inability to keep up with incoming data.
> So a lower bit rate would be the first thing to try.

Except that it seems not even the first packet gets through. If it was
related to keeping up, it ought to move at least one packet before
timing out.

De

Re: Linux -> CP/M XMODEM transfer timeout

<ea4b7fea-c118-49c1-8957-93f4cf34036cn@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=4538&group=comp.os.cpm#4538

  copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:a05:6000:188a:b0:21b:c273:5ebd with SMTP id a10-20020a056000188a00b0021bc2735ebdmr17034424wri.72.1656440224203;
Tue, 28 Jun 2022 11:17:04 -0700 (PDT)
X-Received: by 2002:a05:6870:649e:b0:ed:a1c0:f810 with SMTP id
cz30-20020a056870649e00b000eda1c0f810mr543797oab.289.1656440223538; Tue, 28
Jun 2022 11:17:03 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.128.87.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.cpm
Date: Tue, 28 Jun 2022 11:17:03 -0700 (PDT)
In-Reply-To: <a6CdnXBER-cljCf_nZ2dnUU7-X3NnZ2d@earthlink.com>
Injection-Info: google-groups.googlegroups.com; posting-host=37.183.142.113; posting-account=uOUOHg4AAADo8AO9B3SI43ekV3AA6lU0
NNTP-Posting-Host: 37.183.142.113
References: <1e84d63c-23cb-418a-944c-fd53b99c3524n@googlegroups.com>
<be93d355-784f-42a7-b365-652d276b4befn@googlegroups.com> <a6CdnXBER-cljCf_nZ2dnUU7-X3NnZ2d@earthlink.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <ea4b7fea-c118-49c1-8957-93f4cf34036cn@googlegroups.com>
Subject: Re: Linux -> CP/M XMODEM transfer timeout
From: paolo.amoroso@gmail.com (Paolo Amoroso)
Injection-Date: Tue, 28 Jun 2022 18:17:04 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: Paolo Amoroso - Tue, 28 Jun 2022 18:17 UTC

On Monday, June 27, 2022 at 10:23:26 PM UTC+2, David Schultz wrote:
> So a lower bit rate would be the first thing to try.

I checked the board's documentation and did a few tests. My Z80-MBC2 unit, which runs the IOS firmware, works only at 115200 bps. Any other bit rate generates garbage in the terminal and the firmware has no settings or other ways of changing the bit rate. Another build of the firmware, IOS Lite, is designed for Z80-MBC2 boards without the optional components (e.g. a microSD card reader) and supports 9600 bps.

Re: Linux -> CP/M XMODEM transfer timeout

<sMWdnfXkNc6Gzib_nZ2dnUU7-K_NnZ2d@earthlink.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=4539&group=comp.os.cpm#4539

  copy link   Newsgroups: comp.os.cpm
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!buffer2.nntp.dca1.giganews.com!buffer1.nntp.dca1.giganews.com!nntp.earthlink.com!news.earthlink.com.POSTED!not-for-mail
NNTP-Posting-Date: Tue, 28 Jun 2022 14:14:35 -0500
Date: Tue, 28 Jun 2022 14:14:34 -0500
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
Thunderbird/91.10.0
From: david.schultz@earthlink.net (David Schultz)
Subject: Re: Linux -> CP/M XMODEM transfer timeout
Newsgroups: comp.os.cpm
References: <1e84d63c-23cb-418a-944c-fd53b99c3524n@googlegroups.com>
<be93d355-784f-42a7-b365-652d276b4befn@googlegroups.com>
<a6CdnXBER-cljCf_nZ2dnUU7-X3NnZ2d@earthlink.com>
<AoOdnTnGKrL87Sf_nZ2dnUU7-QWdnZ2d@giganews.com>
Content-Language: en-US
In-Reply-To: <AoOdnTnGKrL87Sf_nZ2dnUU7-QWdnZ2d@giganews.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Message-ID: <sMWdnfXkNc6Gzib_nZ2dnUU7-K_NnZ2d@earthlink.com>
Lines: 42
X-Usenet-Provider: http://www.giganews.com
NNTP-Posting-Host: 108.194.109.169
X-Trace: sv3-OF0SKl2jWhxMPhFTGFv0ur9Ln6FjoUFKMzv9tTs+/DxHzlk30ysHpBdbBAUXpI1U1AuRTYT3aFNlxyN!kWATumDXCndDzrQmmPAapuJujiUG37fWjBIzdGCNGok+A+oA/Z+VUyiYByC/ASL4x0eUYhrplxyL!7c80FdblScY+R5cnhl/a7xNQY31n30sV8A==
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
X-Original-Bytes: 3165
 by: David Schultz - Tue, 28 Jun 2022 19:14 UTC

On 6/27/22 10:07 PM, Dennis Boone wrote:
> > Since you can successfully send a very short file with XMODEM but not a
> > longer one makes me suspect an inability to keep up with incoming data.
> > So a lower bit rate would be the first thing to try.
>
> Except that it seems not even the first packet gets through. If it was
> related to keeping up, it ought to move at least one packet before
> timing out.
>
> De
No. With the XMODEM protocol, the transmitter waits for an ACK/NACK
after each packet. So any failure to keep up with incoming data will
manifest itself within a packet.

I dug up some version of the firmware which has comments about a fix to
allow XMODEM to work. This makes it mostly clear what is going on.

The ATMEGA is receiving the serial data and buffering it using the basic
code from the Arduino library. I hope that uses interrupts because if it
doesn't there is no hope.

The main loop is just the ATMEGA fielding I/O requests from the Z80. It
appears to have the ability to stop the Z80 while that happens. So if
the serial receive isn't interrupt driven, it could drop characters
while this is going on.

With at least 128 bytes allocated for the serial buffer there should be
no problems with XMODEM. Assuming the Arduino firmware can walk and chew
gum.

Another complication would be on the XMODEM receive side. It is critical
that this code perform any disk I/O after it validates an incoming
packet but before it sends an ACK. Reverse that order and the sender
begins sending the next packet while the disk I/O is going on. Since
that is also simulated using the ATMEGA, that would cause trouble.
Arduino code isn't exactly real time friendly.

--
http://davesrocketworks.com
David Schultz

Re: Linux -> CP/M XMODEM transfer timeout

<930dbd03-16d0-4e4d-803c-b450517fc586n@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=4540&group=comp.os.cpm#4540

  copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:adf:dc91:0:b0:21b:89bc:9d5c with SMTP id r17-20020adfdc91000000b0021b89bc9d5cmr8329037wrj.159.1656592786117;
Thu, 30 Jun 2022 05:39:46 -0700 (PDT)
X-Received: by 2002:a05:6808:1308:b0:335:5573:b45c with SMTP id
y8-20020a056808130800b003355573b45cmr6315657oiv.26.1656592785418; Thu, 30 Jun
2022 05:39:45 -0700 (PDT)
Path: i2pn2.org!i2pn.org!aioe.org!news.mixmin.net!proxad.net!feeder1-2.proxad.net!209.85.128.87.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.cpm
Date: Thu, 30 Jun 2022 05:39:45 -0700 (PDT)
In-Reply-To: <sMWdnfXkNc6Gzib_nZ2dnUU7-K_NnZ2d@earthlink.com>
Injection-Info: google-groups.googlegroups.com; posting-host=188.216.21.82; posting-account=uOUOHg4AAADo8AO9B3SI43ekV3AA6lU0
NNTP-Posting-Host: 188.216.21.82
References: <1e84d63c-23cb-418a-944c-fd53b99c3524n@googlegroups.com>
<be93d355-784f-42a7-b365-652d276b4befn@googlegroups.com> <a6CdnXBER-cljCf_nZ2dnUU7-X3NnZ2d@earthlink.com>
<AoOdnTnGKrL87Sf_nZ2dnUU7-QWdnZ2d@giganews.com> <sMWdnfXkNc6Gzib_nZ2dnUU7-K_NnZ2d@earthlink.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <930dbd03-16d0-4e4d-803c-b450517fc586n@googlegroups.com>
Subject: Re: Linux -> CP/M XMODEM transfer timeout
From: paolo.amoroso@gmail.com (Paolo Amoroso)
Injection-Date: Thu, 30 Jun 2022 12:39:46 +0000
Content-Type: text/plain; charset="UTF-8"
 by: Paolo Amoroso - Thu, 30 Jun 2022 12:39 UTC

Concerning the ability of the Z80-MBC2 to keep up with file transfers, the developer noted he can reliably transfer large files to CP/M via XMODEM, for example sending 200-500 Kb from Linux and Windows.

Re: Linux -> CP/M XMODEM transfer timeout

<JfidnXBKga_cMCD_nZ2dnUU7-UfNnZ2d@giganews.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=4541&group=comp.os.cpm#4541

  copy link   Newsgroups: comp.os.cpm
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!buffer2.nntp.dca1.giganews.com!buffer1.nntp.dca1.giganews.com!news.giganews.com.POSTED!not-for-mail
NNTP-Posting-Date: Thu, 30 Jun 2022 09:03:45 -0500
Sender: Dennis Boone <drb@yagi.h-net.org>
From: drb@ihatespam.msu.edu (Dennis Boone)
Subject: Re: Linux -> CP/M XMODEM transfer timeout
Newsgroups: comp.os.cpm
References: <1e84d63c-23cb-418a-944c-fd53b99c3524n@googlegroups.com> <be93d355-784f-42a7-b365-652d276b4befn@googlegroups.com> <a6CdnXBER-cljCf_nZ2dnUU7-X3NnZ2d@earthlink.com> <AoOdnTnGKrL87Sf_nZ2dnUU7-QWdnZ2d@giganews.com> <sMWdnfXkNc6Gzib_nZ2dnUU7-K_NnZ2d@earthlink.com>
User-Agent: tin/2.4.5-20201224 ("Glen Albyn") (FreeBSD/13.0-RELEASE-p6 (amd64))
Message-ID: <JfidnXBKga_cMCD_nZ2dnUU7-UfNnZ2d@giganews.com>
Date: Thu, 30 Jun 2022 09:03:45 -0500
Lines: 14
X-Usenet-Provider: http://www.giganews.com
X-Trace: sv3-BPBR4ArGA6uqaErPpOOtLgDUA/KN9Z9gZtEcAmvRoE+ZLLS3xN5aLFBDsEm+gXPK58TnAgGJi10J7kn!QUHRlff8pi/F1NYjPb/HnLyiqDS2bsPkWMFFn7bpuL+KnJtl1CTUjM9vLipoDlJuivnZLmI=
X-Complaints-To: abuse@giganews.com
X-DMCA-Notifications: http://www.giganews.com/info/dmca.html
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
X-Original-Bytes: 1864
 by: Dennis Boone - Thu, 30 Jun 2022 14:03 UTC

> > Except that it seems not even the first packet gets through. If it was
> > related to keeping up, it ought to move at least one packet before
> > timing out.

> No. With the XMODEM protocol, the transmitter waits for an ACK/NACK
> after each packet. So any failure to keep up with incoming data will
> manifest itself within a packet.

Paolo has been able to move small files, and the board is known to
be able do large file transfers successfully. There's something else
going on here. Data-dependent weirdness? Something about Paolo's
USB serial dongle or Chromebook environment?

De

Re: Linux -> CP/M XMODEM transfer timeout

<4801d345-af5a-497b-8f0e-9670da6bd444n@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=4542&group=comp.os.cpm#4542

  copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:a05:6000:1546:b0:21b:b8f4:6dad with SMTP id 6-20020a056000154600b0021bb8f46dadmr8483425wry.267.1656598927328;
Thu, 30 Jun 2022 07:22:07 -0700 (PDT)
X-Received: by 2002:a05:6808:11ca:b0:2d9:a01a:488b with SMTP id
p10-20020a05680811ca00b002d9a01a488bmr6675168oiv.214.1656598926606; Thu, 30
Jun 2022 07:22:06 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.128.87.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.cpm
Date: Thu, 30 Jun 2022 07:22:06 -0700 (PDT)
In-Reply-To: <JfidnXBKga_cMCD_nZ2dnUU7-UfNnZ2d@giganews.com>
Injection-Info: google-groups.googlegroups.com; posting-host=188.216.21.82; posting-account=uOUOHg4AAADo8AO9B3SI43ekV3AA6lU0
NNTP-Posting-Host: 188.216.21.82
References: <1e84d63c-23cb-418a-944c-fd53b99c3524n@googlegroups.com>
<be93d355-784f-42a7-b365-652d276b4befn@googlegroups.com> <a6CdnXBER-cljCf_nZ2dnUU7-X3NnZ2d@earthlink.com>
<AoOdnTnGKrL87Sf_nZ2dnUU7-QWdnZ2d@giganews.com> <sMWdnfXkNc6Gzib_nZ2dnUU7-K_NnZ2d@earthlink.com>
<JfidnXBKga_cMCD_nZ2dnUU7-UfNnZ2d@giganews.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <4801d345-af5a-497b-8f0e-9670da6bd444n@googlegroups.com>
Subject: Re: Linux -> CP/M XMODEM transfer timeout
From: paolo.amoroso@gmail.com (Paolo Amoroso)
Injection-Date: Thu, 30 Jun 2022 14:22:07 +0000
Content-Type: text/plain; charset="UTF-8"
 by: Paolo Amoroso - Thu, 30 Jun 2022 14:22 UTC

On Thursday, June 30, 2022 at 4:03:52 PM UTC+2, Dennis Boone wrote:
> Paolo has been able to move small files, and the board is known to
> be able do large file transfers successfully. There's something else
> going on here. Data-dependent weirdness? Something about Paolo's
> USB serial dongle or Chromebook environment?

It's quite possible the issue is at the chromeOS/Crostini end, for example local buffering problems.

Re: Linux -> CP/M XMODEM transfer timeout

<b2d236bb-f86e-49d2-8953-79f5f1b2f5a7n@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=4543&group=comp.os.cpm#4543

  copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:a5d:620f:0:b0:20c:c1ba:cf8e with SMTP id y15-20020a5d620f000000b0020cc1bacf8emr8535951wru.426.1656601578303;
Thu, 30 Jun 2022 08:06:18 -0700 (PDT)
X-Received: by 2002:a05:6870:1485:b0:f3:bd4:aab0 with SMTP id
k5-20020a056870148500b000f30bd4aab0mr5840180oab.229.1656601577693; Thu, 30
Jun 2022 08:06:17 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.128.87.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.cpm
Date: Thu, 30 Jun 2022 08:06:17 -0700 (PDT)
In-Reply-To: <4801d345-af5a-497b-8f0e-9670da6bd444n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=75.64.86.134; posting-account=PFWPPwoAAACyqfximQYdiAnvYtofle1M
NNTP-Posting-Host: 75.64.86.134
References: <1e84d63c-23cb-418a-944c-fd53b99c3524n@googlegroups.com>
<be93d355-784f-42a7-b365-652d276b4befn@googlegroups.com> <a6CdnXBER-cljCf_nZ2dnUU7-X3NnZ2d@earthlink.com>
<AoOdnTnGKrL87Sf_nZ2dnUU7-QWdnZ2d@giganews.com> <sMWdnfXkNc6Gzib_nZ2dnUU7-K_NnZ2d@earthlink.com>
<JfidnXBKga_cMCD_nZ2dnUU7-UfNnZ2d@giganews.com> <4801d345-af5a-497b-8f0e-9670da6bd444n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <b2d236bb-f86e-49d2-8953-79f5f1b2f5a7n@googlegroups.com>
Subject: Re: Linux -> CP/M XMODEM transfer timeout
From: randy482@hotmail.com (Randy McLaughlin)
Injection-Date: Thu, 30 Jun 2022 15:06:18 +0000
Content-Type: text/plain; charset="UTF-8"
 by: Randy McLaughlin - Thu, 30 Jun 2022 15:06 UTC

Call me crazy but at this point I would be working on repacking what to transfer into packets that work as is.

A lot of work into what sounds like a minor problem.

USB to serial adapters can be bought for just a few bucks from Amazon/ePay etc. Try a couple different adapters, I would also consider finding a different communication package that will work.

Try package from Chromebook to PC and PC to CPM so you have a general idea where the problem is.

Randy

Re: Linux -> CP/M XMODEM transfer timeout

<16316b67-2e3b-43c8-a27d-1af9e575fcecn@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=4544&group=comp.os.cpm#4544

  copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:a5d:6d8a:0:b0:21b:a2a3:55f8 with SMTP id l10-20020a5d6d8a000000b0021ba2a355f8mr9007927wrs.283.1656606374788;
Thu, 30 Jun 2022 09:26:14 -0700 (PDT)
X-Received: by 2002:a9d:12c:0:b0:616:bb45:79c4 with SMTP id
41-20020a9d012c000000b00616bb4579c4mr4336162otu.289.1656606374088; Thu, 30
Jun 2022 09:26:14 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.128.88.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.cpm
Date: Thu, 30 Jun 2022 09:26:13 -0700 (PDT)
In-Reply-To: <b2d236bb-f86e-49d2-8953-79f5f1b2f5a7n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=188.216.21.82; posting-account=uOUOHg4AAADo8AO9B3SI43ekV3AA6lU0
NNTP-Posting-Host: 188.216.21.82
References: <1e84d63c-23cb-418a-944c-fd53b99c3524n@googlegroups.com>
<be93d355-784f-42a7-b365-652d276b4befn@googlegroups.com> <a6CdnXBER-cljCf_nZ2dnUU7-X3NnZ2d@earthlink.com>
<AoOdnTnGKrL87Sf_nZ2dnUU7-QWdnZ2d@giganews.com> <sMWdnfXkNc6Gzib_nZ2dnUU7-K_NnZ2d@earthlink.com>
<JfidnXBKga_cMCD_nZ2dnUU7-UfNnZ2d@giganews.com> <4801d345-af5a-497b-8f0e-9670da6bd444n@googlegroups.com>
<b2d236bb-f86e-49d2-8953-79f5f1b2f5a7n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <16316b67-2e3b-43c8-a27d-1af9e575fcecn@googlegroups.com>
Subject: Re: Linux -> CP/M XMODEM transfer timeout
From: paolo.amoroso@gmail.com (Paolo Amoroso)
Injection-Date: Thu, 30 Jun 2022 16:26:14 +0000
Content-Type: text/plain; charset="UTF-8"
 by: Paolo Amoroso - Thu, 30 Jun 2022 16:26 UTC

On Thursday, June 30, 2022 at 5:06:19 PM UTC+2, Randy McLaughlin wrote:
> USB to serial adapters can be bought for just a few bucks from Amazon/ePay etc. Try a couple different adapters, I would also consider finding a different communication package that will work.

Good idea, thanks.

Re: Linux -> CP/M XMODEM transfer timeout

<vaKdndTyeNp_UyD_nZ2dnUU7-XPNnZ2d@earthlink.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=4545&group=comp.os.cpm#4545

  copy link   Newsgroups: comp.os.cpm
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!buffer2.nntp.dca1.giganews.com!nntp.earthlink.com!news.earthlink.com.POSTED!not-for-mail
NNTP-Posting-Date: Thu, 30 Jun 2022 11:27:14 -0500
Date: Thu, 30 Jun 2022 11:27:14 -0500
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
Thunderbird/91.10.0
Subject: Re: Linux -> CP/M XMODEM transfer timeout
Content-Language: en-US
Newsgroups: comp.os.cpm
References: <1e84d63c-23cb-418a-944c-fd53b99c3524n@googlegroups.com>
<be93d355-784f-42a7-b365-652d276b4befn@googlegroups.com>
<a6CdnXBER-cljCf_nZ2dnUU7-X3NnZ2d@earthlink.com>
<AoOdnTnGKrL87Sf_nZ2dnUU7-QWdnZ2d@giganews.com>
<sMWdnfXkNc6Gzib_nZ2dnUU7-K_NnZ2d@earthlink.com>
<JfidnXBKga_cMCD_nZ2dnUU7-UfNnZ2d@giganews.com>
From: david.schultz@earthlink.net (David Schultz)
In-Reply-To: <JfidnXBKga_cMCD_nZ2dnUU7-UfNnZ2d@giganews.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Message-ID: <vaKdndTyeNp_UyD_nZ2dnUU7-XPNnZ2d@earthlink.com>
Lines: 35
X-Usenet-Provider: http://www.giganews.com
NNTP-Posting-Host: 108.194.109.25
X-Trace: sv3-lBdkE/oaKaGNLY24wPKXZk/b/o3l1s8z0ML3ZO3//IsMsiiWODhYfDu6wG829MWwxwRUUimnb1bvDCV!KRYdXsj+NtyrOHqX4fO3VHIAj9NZNoE1BqkBwZvFbjVEyZkK4TdN9sodoDg2HeqrtrGz2sYrgJlc!PkgTLXH8+N+ijLrkR/4FKzgDq5+a4nn/
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
X-Original-Bytes: 2939
 by: David Schultz - Thu, 30 Jun 2022 16:27 UTC

On 6/30/22 9:03 AM, Dennis Boone wrote:
> > > Except that it seems not even the first packet gets through. If it was
> > > related to keeping up, it ought to move at least one packet before
> > > timing out.
>
> > No. With the XMODEM protocol, the transmitter waits for an ACK/NACK
> > after each packet. So any failure to keep up with incoming data will
> > manifest itself within a packet.
>
> Paolo has been able to move small files, and the board is known to
> be able do large file transfers successfully. There's something else
> going on here. Data-dependent weirdness? Something about Paolo's
> USB serial dongle or Chromebook environment?
>
> De
I looked at the source code for sz to find out that the default timeout
period used is 60 seconds. So there should be no problem at all with it
waiting long enough for a reply from the target.

So the problem would appear to be within the target. Somehow it is
getting confused and not responding. The simplest way for that to happen
is for it to drop characters.

Hopefully the channel is 8 bit clean or close enough to it. sz escapes
some characters including problematic things like XON and XOFF. Options
are provided to do more of course. "-e" escapes all control characters.

The command "sz -TT" is supposed to send all 256 8 bit codes as an aid
in figuring out which ones aren't making it through.

--
http://davesrocketworks.com
David Schultz

Re: Linux -> CP/M XMODEM transfer timeout

<7a2b2cfa-22d9-44db-9827-2dcfb467578bn@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=4546&group=comp.os.cpm#4546

  copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:a05:600c:501f:b0:39d:a3d:e919 with SMTP id n31-20020a05600c501f00b0039d0a3de919mr11480807wmr.132.1656612447658;
Thu, 30 Jun 2022 11:07:27 -0700 (PDT)
X-Received: by 2002:a05:6808:2381:b0:335:c94f:43ba with SMTP id
bp1-20020a056808238100b00335c94f43bamr2205272oib.158.1656612446978; Thu, 30
Jun 2022 11:07:26 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.128.88.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.cpm
Date: Thu, 30 Jun 2022 11:07:26 -0700 (PDT)
In-Reply-To: <b2d236bb-f86e-49d2-8953-79f5f1b2f5a7n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=188.216.21.82; posting-account=uOUOHg4AAADo8AO9B3SI43ekV3AA6lU0
NNTP-Posting-Host: 188.216.21.82
References: <1e84d63c-23cb-418a-944c-fd53b99c3524n@googlegroups.com>
<be93d355-784f-42a7-b365-652d276b4befn@googlegroups.com> <a6CdnXBER-cljCf_nZ2dnUU7-X3NnZ2d@earthlink.com>
<AoOdnTnGKrL87Sf_nZ2dnUU7-QWdnZ2d@giganews.com> <sMWdnfXkNc6Gzib_nZ2dnUU7-K_NnZ2d@earthlink.com>
<JfidnXBKga_cMCD_nZ2dnUU7-UfNnZ2d@giganews.com> <4801d345-af5a-497b-8f0e-9670da6bd444n@googlegroups.com>
<b2d236bb-f86e-49d2-8953-79f5f1b2f5a7n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <7a2b2cfa-22d9-44db-9827-2dcfb467578bn@googlegroups.com>
Subject: Re: Linux -> CP/M XMODEM transfer timeout
From: paolo.amoroso@gmail.com (Paolo Amoroso)
Injection-Date: Thu, 30 Jun 2022 18:07:27 +0000
Content-Type: text/plain; charset="UTF-8"
 by: Paolo Amoroso - Thu, 30 Jun 2022 18:07 UTC

On Thursday, June 30, 2022 at 5:06:19 PM UTC+2, Randy McLaughlin wrote:
> USB to serial adapters can be bought for just a few bucks from Amazon/ePay etc. Try a couple different adapters, I would also consider finding a different communication package that will work.

I tried another terminal emulator, Picocom, but sending files still times out. However, both Minicom and Picocom run the external sx program for file transfers, so I should get a different XMODEM implementation.

Re: Linux -> CP/M XMODEM transfer timeout

<8cccaf3b-9e2a-409d-8adf-e5d2035c6f46n@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=4547&group=comp.os.cpm#4547

  copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:a05:600c:230c:b0:3a0:4a1c:da6b with SMTP id 12-20020a05600c230c00b003a04a1cda6bmr13105849wmo.184.1656612525830;
Thu, 30 Jun 2022 11:08:45 -0700 (PDT)
X-Received: by 2002:aca:1b03:0:b0:335:8faa:96c4 with SMTP id
b3-20020aca1b03000000b003358faa96c4mr6521556oib.229.1656612525212; Thu, 30
Jun 2022 11:08:45 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.128.87.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.cpm
Date: Thu, 30 Jun 2022 11:08:44 -0700 (PDT)
In-Reply-To: <vaKdndTyeNp_UyD_nZ2dnUU7-XPNnZ2d@earthlink.com>
Injection-Info: google-groups.googlegroups.com; posting-host=188.216.21.82; posting-account=uOUOHg4AAADo8AO9B3SI43ekV3AA6lU0
NNTP-Posting-Host: 188.216.21.82
References: <1e84d63c-23cb-418a-944c-fd53b99c3524n@googlegroups.com>
<be93d355-784f-42a7-b365-652d276b4befn@googlegroups.com> <a6CdnXBER-cljCf_nZ2dnUU7-X3NnZ2d@earthlink.com>
<AoOdnTnGKrL87Sf_nZ2dnUU7-QWdnZ2d@giganews.com> <sMWdnfXkNc6Gzib_nZ2dnUU7-K_NnZ2d@earthlink.com>
<JfidnXBKga_cMCD_nZ2dnUU7-UfNnZ2d@giganews.com> <vaKdndTyeNp_UyD_nZ2dnUU7-XPNnZ2d@earthlink.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <8cccaf3b-9e2a-409d-8adf-e5d2035c6f46n@googlegroups.com>
Subject: Re: Linux -> CP/M XMODEM transfer timeout
From: paolo.amoroso@gmail.com (Paolo Amoroso)
Injection-Date: Thu, 30 Jun 2022 18:08:45 +0000
Content-Type: text/plain; charset="UTF-8"
 by: Paolo Amoroso - Thu, 30 Jun 2022 18:08 UTC

On Thursday, June 30, 2022 at 6:27:20 PM UTC+2, David Schultz wrote:
> Hopefully the channel is 8 bit clean or close enough to it. sz escapes
> some characters including problematic things like XON and XOFF. Options
> are provided to do more of course. "-e" escapes all control characters.
>
> The command "sz -TT" is supposed to send all 256 8 bit codes as an aid
> in figuring out which ones aren't making it through.

I tried running sx with the options -e and -TT, still timeouts.

Re: Linux -> CP/M XMODEM transfer timeout

<JpOdnTeYBYHblyP_nZ2dnUU7-XnNnZ2d@earthlink.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=4548&group=comp.os.cpm#4548

  copy link   Newsgroups: comp.os.cpm
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!feeder.usenetexpress.com!tr3.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!buffer1.nntp.dca1.giganews.com!nntp.earthlink.com!news.earthlink.com.POSTED!not-for-mail
NNTP-Posting-Date: Thu, 30 Jun 2022 15:40:38 -0500
Date: Thu, 30 Jun 2022 15:40:37 -0500
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0
Subject: Re: Linux -> CP/M XMODEM transfer timeout
Content-Language: en-US
Newsgroups: comp.os.cpm
References: <1e84d63c-23cb-418a-944c-fd53b99c3524n@googlegroups.com> <be93d355-784f-42a7-b365-652d276b4befn@googlegroups.com> <a6CdnXBER-cljCf_nZ2dnUU7-X3NnZ2d@earthlink.com> <AoOdnTnGKrL87Sf_nZ2dnUU7-QWdnZ2d@giganews.com> <sMWdnfXkNc6Gzib_nZ2dnUU7-K_NnZ2d@earthlink.com> <JfidnXBKga_cMCD_nZ2dnUU7-UfNnZ2d@giganews.com> <4801d345-af5a-497b-8f0e-9670da6bd444n@googlegroups.com> <b2d236bb-f86e-49d2-8953-79f5f1b2f5a7n@googlegroups.com> <7a2b2cfa-22d9-44db-9827-2dcfb467578bn@googlegroups.com>
From: david.schultz@earthlink.net (David Schultz)
In-Reply-To: <7a2b2cfa-22d9-44db-9827-2dcfb467578bn@googlegroups.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Message-ID: <JpOdnTeYBYHblyP_nZ2dnUU7-XnNnZ2d@earthlink.com>
Lines: 16
X-Usenet-Provider: http://www.giganews.com
NNTP-Posting-Host: 108.194.109.25
X-Trace: sv3-JpeboiQ//Jfn266ud5ZLO+fKh4m0LHNX74zK6PR6JX7MRPialNJRZxoLjWlpHgd9N1StKq/G4dkTcZN!A+qEcFrtzMVcGHvdwFksnqWyHrME/z4uGx/slJ0K4AXXkW/dp8sBzE+p+ONrWOTAWWJLeYM0zDRv!6m423PVmA+D1aq2xUCUmXQUIjNmVld9a
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
X-Original-Bytes: 2514
X-Received-Bytes: 2639
 by: David Schultz - Thu, 30 Jun 2022 20:40 UTC

On 6/30/22 1:07 PM, Paolo Amoroso wrote:
> On Thursday, June 30, 2022 at 5:06:19 PM UTC+2, Randy McLaughlin wrote:
>> USB to serial adapters can be bought for just a few bucks from Amazon/ePay etc. Try a couple different adapters, I would also consider finding a different communication package that will work.
>
> I tried another terminal emulator, Picocom, but sending files still times out. However, both Minicom and Picocom run the external sx program for file transfers, so I should get a different XMODEM implementation.
It is unlikely to be the XMODEM implementation on the sending side. What
have you done to check the receiver?

Since the sender is timing out waiting for an ACK, using a very long
timer, something is preventing the receiver from even sending a NACK.
What is that?

--
http://davesrocketworks.com
David Schultz

Re: Linux -> CP/M XMODEM transfer timeout

<b0f50771-1222-4920-bc96-e77a698c10b7n@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=4549&group=comp.os.cpm#4549

  copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:a05:600c:3b04:b0:39c:951e:6813 with SMTP id m4-20020a05600c3b0400b0039c951e6813mr14303100wms.193.1656659175332;
Fri, 01 Jul 2022 00:06:15 -0700 (PDT)
X-Received: by 2002:a05:6808:f92:b0:32f:6e27:6cc7 with SMTP id
o18-20020a0568080f9200b0032f6e276cc7mr7624169oiw.36.1656659174613; Fri, 01
Jul 2022 00:06:14 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.128.87.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.cpm
Date: Fri, 1 Jul 2022 00:06:14 -0700 (PDT)
In-Reply-To: <JpOdnTeYBYHblyP_nZ2dnUU7-XnNnZ2d@earthlink.com>
Injection-Info: google-groups.googlegroups.com; posting-host=188.216.21.82; posting-account=uOUOHg4AAADo8AO9B3SI43ekV3AA6lU0
NNTP-Posting-Host: 188.216.21.82
References: <1e84d63c-23cb-418a-944c-fd53b99c3524n@googlegroups.com>
<be93d355-784f-42a7-b365-652d276b4befn@googlegroups.com> <a6CdnXBER-cljCf_nZ2dnUU7-X3NnZ2d@earthlink.com>
<AoOdnTnGKrL87Sf_nZ2dnUU7-QWdnZ2d@giganews.com> <sMWdnfXkNc6Gzib_nZ2dnUU7-K_NnZ2d@earthlink.com>
<JfidnXBKga_cMCD_nZ2dnUU7-UfNnZ2d@giganews.com> <4801d345-af5a-497b-8f0e-9670da6bd444n@googlegroups.com>
<b2d236bb-f86e-49d2-8953-79f5f1b2f5a7n@googlegroups.com> <7a2b2cfa-22d9-44db-9827-2dcfb467578bn@googlegroups.com>
<JpOdnTeYBYHblyP_nZ2dnUU7-XnNnZ2d@earthlink.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <b0f50771-1222-4920-bc96-e77a698c10b7n@googlegroups.com>
Subject: Re: Linux -> CP/M XMODEM transfer timeout
From: paolo.amoroso@gmail.com (Paolo Amoroso)
Injection-Date: Fri, 01 Jul 2022 07:06:15 +0000
Content-Type: text/plain; charset="UTF-8"
 by: Paolo Amoroso - Fri, 1 Jul 2022 07:06 UTC

On Thursday, June 30, 2022 at 10:40:44 PM UTC+2, David Schultz wrote:
> It is unlikely to be the XMODEM implementation on the sending side. What
> have you done to check the receiver?

On CP/M I'm using version 2.7 of Martin Eberhard's XMODEM implementation patched[1] for the Z80-MBC2. I'll try the unpatched version 2.9, which also comes with a program for testing the serial link.

[1] https://groups.google.com/g/comp.os.cpm/c/oFsZ6PcsCkM/m/egABUI4-AgAJ

Re: Linux -> CP/M XMODEM transfer timeout

<10603cb9-60a3-4afe-97c9-59183d1650f9n@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=4550&group=comp.os.cpm#4550

  copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:a05:622a:54b:b0:318:3880:8d46 with SMTP id m11-20020a05622a054b00b0031838808d46mr14266169qtx.559.1656701963796;
Fri, 01 Jul 2022 11:59:23 -0700 (PDT)
X-Received: by 2002:a05:6870:3102:b0:101:15a2:9d7f with SMTP id
v2-20020a056870310200b0010115a29d7fmr9292835oaa.36.1656701963524; Fri, 01 Jul
2022 11:59:23 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.cpm
Date: Fri, 1 Jul 2022 11:59:23 -0700 (PDT)
In-Reply-To: <b0f50771-1222-4920-bc96-e77a698c10b7n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=5.94.147.5; posting-account=uOUOHg4AAADo8AO9B3SI43ekV3AA6lU0
NNTP-Posting-Host: 5.94.147.5
References: <1e84d63c-23cb-418a-944c-fd53b99c3524n@googlegroups.com>
<be93d355-784f-42a7-b365-652d276b4befn@googlegroups.com> <a6CdnXBER-cljCf_nZ2dnUU7-X3NnZ2d@earthlink.com>
<AoOdnTnGKrL87Sf_nZ2dnUU7-QWdnZ2d@giganews.com> <sMWdnfXkNc6Gzib_nZ2dnUU7-K_NnZ2d@earthlink.com>
<JfidnXBKga_cMCD_nZ2dnUU7-UfNnZ2d@giganews.com> <4801d345-af5a-497b-8f0e-9670da6bd444n@googlegroups.com>
<b2d236bb-f86e-49d2-8953-79f5f1b2f5a7n@googlegroups.com> <7a2b2cfa-22d9-44db-9827-2dcfb467578bn@googlegroups.com>
<JpOdnTeYBYHblyP_nZ2dnUU7-XnNnZ2d@earthlink.com> <b0f50771-1222-4920-bc96-e77a698c10b7n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <10603cb9-60a3-4afe-97c9-59183d1650f9n@googlegroups.com>
Subject: Re: Linux -> CP/M XMODEM transfer timeout
From: paolo.amoroso@gmail.com (Paolo Amoroso)
Injection-Date: Fri, 01 Jul 2022 18:59:23 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 2548
 by: Paolo Amoroso - Fri, 1 Jul 2022 18:59 UTC

On Friday, July 1, 2022 at 9:06:16 AM UTC+2, Paolo Amoroso wrote:
> On CP/M I'm using version 2.7 of Martin Eberhard's XMODEM implementation patched[1] for the Z80-MBC2. I'll try the unpatched version 2.9, which also comes with a program for testing the serial link.

I tried both programs and XMODEM timed out. The first time I run the serial link testing program XMTERM, some interesting log messages whizzed by but I was unable to capture them. Subsequent runs displayed less useful and partly garbled messages such as:

B>xmterm greet.hex /r

========================
XMTERM 1.1 By M.Eberhard
========================

/In 8080 codet^G6##w######rI

Or like these:

B>xmterm greet.hex /r

========================
XMTERM 1.1 By M.Eberhard
========================

/H

Back to the drawing board, I'll run the program again and see what I come up with.

Re: Linux -> CP/M XMODEM transfer timeout

<X6WdnY0hyPxS6CL_nZ2dnUU7-UXNnZ2d@earthlink.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=4551&group=comp.os.cpm#4551

  copy link   Newsgroups: comp.os.cpm
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!buffer2.nntp.dca1.giganews.com!nntp.earthlink.com!news.earthlink.com.POSTED!not-for-mail
NNTP-Posting-Date: Fri, 01 Jul 2022 17:31:43 -0500
Date: Fri, 1 Jul 2022 17:31:43 -0500
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
Thunderbird/91.11.0
Subject: Re: Linux -> CP/M XMODEM transfer timeout
Content-Language: en-US
Newsgroups: comp.os.cpm
References: <1e84d63c-23cb-418a-944c-fd53b99c3524n@googlegroups.com>
<be93d355-784f-42a7-b365-652d276b4befn@googlegroups.com>
<a6CdnXBER-cljCf_nZ2dnUU7-X3NnZ2d@earthlink.com>
<AoOdnTnGKrL87Sf_nZ2dnUU7-QWdnZ2d@giganews.com>
<sMWdnfXkNc6Gzib_nZ2dnUU7-K_NnZ2d@earthlink.com>
<JfidnXBKga_cMCD_nZ2dnUU7-UfNnZ2d@giganews.com>
<4801d345-af5a-497b-8f0e-9670da6bd444n@googlegroups.com>
<b2d236bb-f86e-49d2-8953-79f5f1b2f5a7n@googlegroups.com>
<7a2b2cfa-22d9-44db-9827-2dcfb467578bn@googlegroups.com>
<JpOdnTeYBYHblyP_nZ2dnUU7-XnNnZ2d@earthlink.com>
<b0f50771-1222-4920-bc96-e77a698c10b7n@googlegroups.com>
<10603cb9-60a3-4afe-97c9-59183d1650f9n@googlegroups.com>
From: david.schultz@earthlink.net (David Schultz)
In-Reply-To: <10603cb9-60a3-4afe-97c9-59183d1650f9n@googlegroups.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Message-ID: <X6WdnY0hyPxS6CL_nZ2dnUU7-UXNnZ2d@earthlink.com>
Lines: 25
X-Usenet-Provider: http://www.giganews.com
NNTP-Posting-Host: 108.194.109.183
X-Trace: sv3-Tp9x7fe5rT4zI7TsP+Gq9t4iCto3jbVQLo3e8ygnNPyeTEeB6AEAd/FZoNSz6rKHZFDFxpbkuiL4mtL!8RUIcq4tM1g44qO/vx8jAGNUTiJ2RTnVBTJEJ9udA5PSXsTa0WGl3MgAkDZmYbXEmavPFwpK4RXx!nRggvOVrcEll3xT+lIM52dBrLhJgrrxEcQ==
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
X-Original-Bytes: 2973
 by: David Schultz - Fri, 1 Jul 2022 22:31 UTC

On 7/1/22 1:59 PM, Paolo Amoroso wrote:
> On Friday, July 1, 2022 at 9:06:16 AM UTC+2, Paolo Amoroso wrote:
>> On CP/M I'm using version 2.7 of Martin Eberhard's XMODEM implementation patched[1] for the Z80-MBC2. I'll try the unpatched version 2.9, which also comes with a program for testing the serial link.
>
> I tried both programs and XMODEM timed out. The first time I run the serial link testing program XMTERM, some interesting log messages whizzed by but I was unable to capture them. Subsequent runs displayed less useful and partly garbled messages such as:
>
> B>xmterm greet.hex /r
>
> ========================
> XMTERM 1.1 By M.Eberhard
> ========================
>
> /In 8080 codet^G6##w######rI
>
I looked at the source for XMTERM and that is part of a usage message
printed just before exit. So it didn't like something. Perhaps in your
configuration file.

Or maybe that you provided a file name that is useless to this program.
Which just echos characters. Which is going to be less than useful when
the XMODEM port is the same as the console.

--
http://davesrocketworks.com
David Schultz

Re: Linux -> CP/M XMODEM transfer timeout

<ef692b97-bf58-404a-ab39-bf1661648dd5n@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=4552&group=comp.os.cpm#4552

  copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:a05:620a:450c:b0:6b2:59b8:985 with SMTP id t12-20020a05620a450c00b006b259b80985mr5233186qkp.328.1656768553508; Sat, 02 Jul 2022 06:29:13 -0700 (PDT)
X-Received: by 2002:a05:6870:210b:b0:101:cb62:8ccc with SMTP id f11-20020a056870210b00b00101cb628cccmr12563964oae.26.1656768553235; Sat, 02 Jul 2022 06:29:13 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!feeder.usenetexpress.com!tr2.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.cpm
Date: Sat, 2 Jul 2022 06:29:13 -0700 (PDT)
In-Reply-To: <X6WdnY0hyPxS6CL_nZ2dnUU7-UXNnZ2d@earthlink.com>
Injection-Info: google-groups.googlegroups.com; posting-host=5.94.147.5; posting-account=uOUOHg4AAADo8AO9B3SI43ekV3AA6lU0
NNTP-Posting-Host: 5.94.147.5
References: <1e84d63c-23cb-418a-944c-fd53b99c3524n@googlegroups.com> <be93d355-784f-42a7-b365-652d276b4befn@googlegroups.com> <a6CdnXBER-cljCf_nZ2dnUU7-X3NnZ2d@earthlink.com> <AoOdnTnGKrL87Sf_nZ2dnUU7-QWdnZ2d@giganews.com> <sMWdnfXkNc6Gzib_nZ2dnUU7-K_NnZ2d@earthlink.com> <JfidnXBKga_cMCD_nZ2dnUU7-UfNnZ2d@giganews.com> <4801d345-af5a-497b-8f0e-9670da6bd444n@googlegroups.com> <b2d236bb-f86e-49d2-8953-79f5f1b2f5a7n@googlegroups.com> <7a2b2cfa-22d9-44db-9827-2dcfb467578bn@googlegroups.com> <JpOdnTeYBYHblyP_nZ2dnUU7-XnNnZ2d@earthlink.com> <b0f50771-1222-4920-bc96-e77a698c10b7n@googlegroups.com> <10603cb9-60a3-4afe-97c9-59183d1650f9n@googlegroups.com> <X6WdnY0hyPxS6CL_nZ2dnUU7-UXNnZ2d@earthlink.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <ef692b97-bf58-404a-ab39-bf1661648dd5n@googlegroups.com>
Subject: Re: Linux -> CP/M XMODEM transfer timeout
From: paolo.amoroso@gmail.com (Paolo Amoroso)
Injection-Date: Sat, 02 Jul 2022 13:29:13 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 27
X-Received-Bytes: 3235
 by: Paolo Amoroso - Sat, 2 Jul 2022 13:29 UTC

I run XMTERM with various options but didn't get much output, for example:

B>xmterm test.hex /x1 /e /r

========================
XMTERM 1.1 By M.Eberhard
========================

But I got something interesting when running XMODEM like this on CP/M with greet.hex sent from Linux (I named it test.hex on CP/M):

B>xmodem test.hex /r

After the usual timeouts, in the Minicom file transfer dialog I got several lines of quickly scrolling messages and managed to capture only the last few ones:

+----------------[xmodem upload - Press CTRL-C to quit]----------------+
|Retry 0: Got 32 for sector ACK |
|Retry 0: NAK on sector |
|Retry 0: Retry Count Exceeded |
| |
|Transfer incomplete |
| |
| READY: press any key to continue...

I pressed a key and got this in the terminal window, which is likely leftover garbage:

743C13901011075637D560?
B>0901CD0500C94772656574696E67732066726F6D205375697465383038CC
0901CD0500C94772656574696E67732066726F6D205375697465383038CC?

Re: Linux -> CP/M XMODEM transfer timeout

<-qudnSQ10pk-_l3_nZ2dnUU7-UHNnZ2d@earthlink.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=4553&group=comp.os.cpm#4553

  copy link   Newsgroups: comp.os.cpm
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!buffer1.nntp.dca1.giganews.com!nntp.earthlink.com!news.earthlink.com.POSTED!not-for-mail
NNTP-Posting-Date: Sat, 02 Jul 2022 10:26:27 -0500
Date: Sat, 2 Jul 2022 10:26:26 -0500
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
Thunderbird/91.11.0
Subject: Re: Linux -> CP/M XMODEM transfer timeout
Content-Language: en-US
Newsgroups: comp.os.cpm
References: <1e84d63c-23cb-418a-944c-fd53b99c3524n@googlegroups.com>
<be93d355-784f-42a7-b365-652d276b4befn@googlegroups.com>
<a6CdnXBER-cljCf_nZ2dnUU7-X3NnZ2d@earthlink.com>
<AoOdnTnGKrL87Sf_nZ2dnUU7-QWdnZ2d@giganews.com>
<sMWdnfXkNc6Gzib_nZ2dnUU7-K_NnZ2d@earthlink.com>
<JfidnXBKga_cMCD_nZ2dnUU7-UfNnZ2d@giganews.com>
<4801d345-af5a-497b-8f0e-9670da6bd444n@googlegroups.com>
<b2d236bb-f86e-49d2-8953-79f5f1b2f5a7n@googlegroups.com>
<7a2b2cfa-22d9-44db-9827-2dcfb467578bn@googlegroups.com>
<JpOdnTeYBYHblyP_nZ2dnUU7-XnNnZ2d@earthlink.com>
<b0f50771-1222-4920-bc96-e77a698c10b7n@googlegroups.com>
<10603cb9-60a3-4afe-97c9-59183d1650f9n@googlegroups.com>
<X6WdnY0hyPxS6CL_nZ2dnUU7-UXNnZ2d@earthlink.com>
<ef692b97-bf58-404a-ab39-bf1661648dd5n@googlegroups.com>
From: david.schultz@earthlink.net (David Schultz)
In-Reply-To: <ef692b97-bf58-404a-ab39-bf1661648dd5n@googlegroups.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Message-ID: <-qudnSQ10pk-_l3_nZ2dnUU7-UHNnZ2d@earthlink.com>
Lines: 24
X-Usenet-Provider: http://www.giganews.com
NNTP-Posting-Host: 108.194.109.183
X-Trace: sv3-7EvdgU98IJXE1mSdw9nqcvIgvupD7Jr35+I3o/xHKIpfk1k16aqg0u8jTPfYSuIvLm9Fm8xEyG/6s/w!imVXeFSrIRA1XYjJV0NXphodT6mCp4wtS1Lwt7uzS3NWCQaOdPu9LjAfh/nSIkTm5SQh40UWqVc7!osG3qvCpyBp/19FP5FU+2qWaBdGUD2OYAg==
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
X-Original-Bytes: 2999
X-Received-Bytes: 3090
 by: David Schultz - Sat, 2 Jul 2022 15:26 UTC

On 7/2/22 8:29 AM, Paolo Amoroso wrote:
> I run XMTERM with various options but didn't get much output, for example:

And you never will unless you use different serial ports for the console
and xmodem. The xmterm output is going back to sz. Which eats it looking
for a NAK or ACK. That and I am not sure it sends the XMODEM start
character that sz is waiting for. But I am not diving back into the
source code to find out.

I see that there is an add on serial card which you probably need to
get. The alternative is to write a special purpose xmodem receive
program that logs all of its messages somewhere besides the console
port. A disk file perhaps or maybe RAM.

As near as I can tell the xmodem program you are using is optimized for
space (as little as possible) and speed. It uses all of the TPA it can
for a buffer to minimize disk accesses. Useful for floppy drives, less
so for hard drives, and not at all for anything that doesn't have long
start up or seek times.

--
http://davesrocketworks.com
David Schultz

Re: Linux -> CP/M XMODEM transfer timeout

<9_WdnfwCgItP6l3_nZ2dnUU7-bXNnZ2d@earthlink.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=4555&group=comp.os.cpm#4555

  copy link   Newsgroups: comp.os.cpm
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!buffer2.nntp.dca1.giganews.com!buffer1.nntp.dca1.giganews.com!nntp.earthlink.com!news.earthlink.com.POSTED!not-for-mail
NNTP-Posting-Date: Sat, 02 Jul 2022 11:52:34 -0500
Date: Sat, 2 Jul 2022 11:52:33 -0500
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
Thunderbird/91.11.0
Subject: Re: Linux -> CP/M XMODEM transfer timeout
Content-Language: en-US
Newsgroups: comp.os.cpm
References: <1e84d63c-23cb-418a-944c-fd53b99c3524n@googlegroups.com>
<be93d355-784f-42a7-b365-652d276b4befn@googlegroups.com>
<a6CdnXBER-cljCf_nZ2dnUU7-X3NnZ2d@earthlink.com>
<AoOdnTnGKrL87Sf_nZ2dnUU7-QWdnZ2d@giganews.com>
<sMWdnfXkNc6Gzib_nZ2dnUU7-K_NnZ2d@earthlink.com>
<JfidnXBKga_cMCD_nZ2dnUU7-UfNnZ2d@giganews.com>
<4801d345-af5a-497b-8f0e-9670da6bd444n@googlegroups.com>
<b2d236bb-f86e-49d2-8953-79f5f1b2f5a7n@googlegroups.com>
<7a2b2cfa-22d9-44db-9827-2dcfb467578bn@googlegroups.com>
<JpOdnTeYBYHblyP_nZ2dnUU7-XnNnZ2d@earthlink.com>
<b0f50771-1222-4920-bc96-e77a698c10b7n@googlegroups.com>
<10603cb9-60a3-4afe-97c9-59183d1650f9n@googlegroups.com>
<X6WdnY0hyPxS6CL_nZ2dnUU7-UXNnZ2d@earthlink.com>
<ef692b97-bf58-404a-ab39-bf1661648dd5n@googlegroups.com>
From: david.schultz@earthlink.net (David Schultz)
In-Reply-To: <ef692b97-bf58-404a-ab39-bf1661648dd5n@googlegroups.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Message-ID: <9_WdnfwCgItP6l3_nZ2dnUU7-bXNnZ2d@earthlink.com>
Lines: 15
X-Usenet-Provider: http://www.giganews.com
NNTP-Posting-Host: 108.194.109.183
X-Trace: sv3-HbFlMDl7ZF5tgh/f/YAiDhTqd5JCz8BF9LHyU8rIT6I9dbZRsgTLgYGEaJoQbY5SgWXPGwDuW3bceA/!CAlzb/WQKXL7R7TzwvwNN7aoEHwBq1tv8kMpTnnsK5cNO/wVIpALqZGVYiQZOqrMWvtBSc1rRkJ2!Y1E/YJB2COqhjl672swZOuWsfi9TkOfcYQ==
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
X-Original-Bytes: 2514
 by: David Schultz - Sat, 2 Jul 2022 16:52 UTC

On 7/2/22 8:29 AM, Paolo Amoroso wrote:
> I run XMTERM with various options but didn't get much output, for example:
>

XMTERM ignores a lot of options that make sense for XMODEM but it does
parse your XMODEM configuration file. Instead of trying to use sz to
send stuff to XMTERM, where sz will just eat the reply without you ever
seeing it, just use minicom.

As in start XMTERM (no options!) and then type stuff into minicom and
see what XMTERM echoes. Sending the termination character when you are done.

--
http://davesrocketworks.com
David Schultz

Re: Linux -> CP/M XMODEM transfer timeout

<2c35160f-d31f-4cf0-b95f-f46283479b3fn@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=4556&group=comp.os.cpm#4556

  copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:a0c:f3ce:0:b0:472:be4b:167a with SMTP id f14-20020a0cf3ce000000b00472be4b167amr11001184qvm.78.1656780838979;
Sat, 02 Jul 2022 09:53:58 -0700 (PDT)
X-Received: by 2002:a05:6870:649e:b0:ed:a1c0:f810 with SMTP id
cz30-20020a056870649e00b000eda1c0f810mr13238729oab.289.1656780838688; Sat, 02
Jul 2022 09:53:58 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.cpm
Date: Sat, 2 Jul 2022 09:53:58 -0700 (PDT)
In-Reply-To: <-qudnSQ10pk-_l3_nZ2dnUU7-UHNnZ2d@earthlink.com>
Injection-Info: google-groups.googlegroups.com; posting-host=5.94.147.5; posting-account=uOUOHg4AAADo8AO9B3SI43ekV3AA6lU0
NNTP-Posting-Host: 5.94.147.5
References: <1e84d63c-23cb-418a-944c-fd53b99c3524n@googlegroups.com>
<be93d355-784f-42a7-b365-652d276b4befn@googlegroups.com> <a6CdnXBER-cljCf_nZ2dnUU7-X3NnZ2d@earthlink.com>
<AoOdnTnGKrL87Sf_nZ2dnUU7-QWdnZ2d@giganews.com> <sMWdnfXkNc6Gzib_nZ2dnUU7-K_NnZ2d@earthlink.com>
<JfidnXBKga_cMCD_nZ2dnUU7-UfNnZ2d@giganews.com> <4801d345-af5a-497b-8f0e-9670da6bd444n@googlegroups.com>
<b2d236bb-f86e-49d2-8953-79f5f1b2f5a7n@googlegroups.com> <7a2b2cfa-22d9-44db-9827-2dcfb467578bn@googlegroups.com>
<JpOdnTeYBYHblyP_nZ2dnUU7-XnNnZ2d@earthlink.com> <b0f50771-1222-4920-bc96-e77a698c10b7n@googlegroups.com>
<10603cb9-60a3-4afe-97c9-59183d1650f9n@googlegroups.com> <X6WdnY0hyPxS6CL_nZ2dnUU7-UXNnZ2d@earthlink.com>
<ef692b97-bf58-404a-ab39-bf1661648dd5n@googlegroups.com> <-qudnSQ10pk-_l3_nZ2dnUU7-UHNnZ2d@earthlink.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <2c35160f-d31f-4cf0-b95f-f46283479b3fn@googlegroups.com>
Subject: Re: Linux -> CP/M XMODEM transfer timeout
From: paolo.amoroso@gmail.com (Paolo Amoroso)
Injection-Date: Sat, 02 Jul 2022 16:53:58 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2853
 by: Paolo Amoroso - Sat, 2 Jul 2022 16:53 UTC

On Saturday, July 2, 2022 at 5:26:33 PM UTC+2, David Schultz wrote:
> And you never will unless you use different serial ports for the console
> and xmodem. The xmterm output is going back to sz. Which eats it looking

Isn't the /X1 option I run XMTERM with supposed to take care of this?

> I see that there is an add on serial card which you probably need to
> get. The alternative is to write a special purpose xmodem receive

Do you mean the uCom[1] board? I'd probably also need some way of connecting the RS-232 port to the USB port of my Chromebox, but this would complicate the simplicity of the Z80-MBC2 setup and there may not be any guarantee XMODEM would work. If I can't fix XMODEM, the workaround I described is acceptable for me and doesn't need additional hardware.

[1] https://hackaday.io/project/159973-z80-mbc2-a-4-ics-homebrew-z80-computer/log/164037-ucom-is-out

Re: Linux -> CP/M XMODEM transfer timeout

<9umdneSmG7QEGV3_nZ2dnUU7-QnNnZ2d@earthlink.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=4557&group=comp.os.cpm#4557

  copy link   Newsgroups: comp.os.cpm
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!feeder.usenetexpress.com!tr3.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!buffer1.nntp.dca1.giganews.com!buffer2.nntp.dca1.giganews.com!nntp.earthlink.com!news.earthlink.com.POSTED!not-for-mail
NNTP-Posting-Date: Sat, 02 Jul 2022 12:47:05 -0500
Date: Sat, 2 Jul 2022 12:47:05 -0500
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0
Subject: Re: Linux -> CP/M XMODEM transfer timeout
Content-Language: en-US
Newsgroups: comp.os.cpm
References: <1e84d63c-23cb-418a-944c-fd53b99c3524n@googlegroups.com> <be93d355-784f-42a7-b365-652d276b4befn@googlegroups.com> <a6CdnXBER-cljCf_nZ2dnUU7-X3NnZ2d@earthlink.com> <AoOdnTnGKrL87Sf_nZ2dnUU7-QWdnZ2d@giganews.com> <sMWdnfXkNc6Gzib_nZ2dnUU7-K_NnZ2d@earthlink.com> <JfidnXBKga_cMCD_nZ2dnUU7-UfNnZ2d@giganews.com> <4801d345-af5a-497b-8f0e-9670da6bd444n@googlegroups.com> <b2d236bb-f86e-49d2-8953-79f5f1b2f5a7n@googlegroups.com> <7a2b2cfa-22d9-44db-9827-2dcfb467578bn@googlegroups.com> <JpOdnTeYBYHblyP_nZ2dnUU7-XnNnZ2d@earthlink.com> <b0f50771-1222-4920-bc96-e77a698c10b7n@googlegroups.com> <10603cb9-60a3-4afe-97c9-59183d1650f9n@googlegroups.com> <X6WdnY0hyPxS6CL_nZ2dnUU7-UXNnZ2d@earthlink.com> <ef692b97-bf58-404a-ab39-bf1661648dd5n@googlegroups.com> <-qudnSQ10pk-_l3_nZ2dnUU7-UHNnZ2d@earthlink.com> <2c35160f-d31f-4cf0-b95f-f46283479b3fn@googlegroups.com>
From: david.schultz@earthlink.net (David Schultz)
In-Reply-To: <2c35160f-d31f-4cf0-b95f-f46283479b3fn@googlegroups.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Message-ID: <9umdneSmG7QEGV3_nZ2dnUU7-QnNnZ2d@earthlink.com>
Lines: 12
X-Usenet-Provider: http://www.giganews.com
NNTP-Posting-Host: 108.194.109.183
X-Trace: sv3-ovDZvh767ZYqN8x0suTlf4pOFlnw8+PQi+pHTbJ87LPs763XI1JD+5gvz1AtFEi8ObJTYwF3tBf3viK!LrnOtBXLnwfk7shjjhlpaELQLuaFW/u4N9J4jjPGR7g02cWj3D638MwYT8QqlLd2hWzxbIkIMzGZ!zmzXsIn6UjMnep27lYaTM+PnoxPazkYiCQ==
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
X-Original-Bytes: 2516
X-Received-Bytes: 2658
 by: David Schultz - Sat, 2 Jul 2022 17:47 UTC

On 7/2/22 11:53 AM, Paolo Amoroso wrote:
> On Saturday, July 2, 2022 at 5:26:33 PM UTC+2, David Schultz wrote:
>> And you never will unless you use different serial ports for the console
>> and xmodem. The xmterm output is going back to sz. Which eats it looking
>
> Isn't the /X1 option I run XMTERM with supposed to take care of this?
>
You still have just the one serial port and sz is on the other end.

--
http://davesrocketworks.com
David Schultz

Re: Linux -> CP/M XMODEM transfer timeout

<ldqdnTHAku8pd13_nZ2dnUU7-ffNnZ2d@earthlink.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=4558&group=comp.os.cpm#4558

  copy link   Newsgroups: comp.os.cpm
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!buffer2.nntp.dca1.giganews.com!buffer1.nntp.dca1.giganews.com!nntp.earthlink.com!news.earthlink.com.POSTED!not-for-mail
NNTP-Posting-Date: Sat, 02 Jul 2022 20:02:44 -0500
Date: Sat, 2 Jul 2022 20:02:44 -0500
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
Thunderbird/91.11.0
Subject: Re: Linux -> CP/M XMODEM transfer timeout
Content-Language: en-US
Newsgroups: comp.os.cpm
References: <1e84d63c-23cb-418a-944c-fd53b99c3524n@googlegroups.com>
<be93d355-784f-42a7-b365-652d276b4befn@googlegroups.com>
<a6CdnXBER-cljCf_nZ2dnUU7-X3NnZ2d@earthlink.com>
<AoOdnTnGKrL87Sf_nZ2dnUU7-QWdnZ2d@giganews.com>
<sMWdnfXkNc6Gzib_nZ2dnUU7-K_NnZ2d@earthlink.com>
<JfidnXBKga_cMCD_nZ2dnUU7-UfNnZ2d@giganews.com>
<vaKdndTyeNp_UyD_nZ2dnUU7-XPNnZ2d@earthlink.com>
<8cccaf3b-9e2a-409d-8adf-e5d2035c6f46n@googlegroups.com>
From: david.schultz@earthlink.net (David Schultz)
In-Reply-To: <8cccaf3b-9e2a-409d-8adf-e5d2035c6f46n@googlegroups.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Message-ID: <ldqdnTHAku8pd13_nZ2dnUU7-ffNnZ2d@earthlink.com>
Lines: 15
X-Usenet-Provider: http://www.giganews.com
NNTP-Posting-Host: 108.194.109.214
X-Trace: sv3-jQ8xa61qu83NG5GQouXsOmI49D3AXH2eFjHRw9A4J/W+l6wVmTn/YZ6TJl5mrUyQO4l9kioc8lkaDGM!lXojU2oVbZpxWbgB8J71WkHAbRSQo/KUuCgUsrh33skjFRVJoqeZGAQbZj/bi4rYewLExyyfpJ0Q!JGCofIuae2ADjjsIVAt4SUJRtOnGN4RdTg==
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
X-Original-Bytes: 1962
 by: David Schultz - Sun, 3 Jul 2022 01:02 UTC

On 6/30/22 1:08 PM, Paolo Amoroso wrote:

> I tried running sx with the options -e and -TT, still timeouts.

Have you ever used the quiet mode xmodem option? (/Q)

This prevents it from printing a progress character to the console and
looking for a ^C.

Not a good thing to mix in with the xmodem traffic.

--
http://davesrocketworks.com
David Schultz

Re: Linux -> CP/M XMODEM transfer timeout

<6419befa-589b-4355-930a-1896f1b67e2en@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=4559&group=comp.os.cpm#4559

  copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:a05:620a:2484:b0:6b2:4f06:d8d4 with SMTP id i4-20020a05620a248400b006b24f06d8d4mr12057049qkn.690.1656875167104;
Sun, 03 Jul 2022 12:06:07 -0700 (PDT)
X-Received: by 2002:a05:6870:351:b0:10b:eb45:44d2 with SMTP id
n17-20020a056870035100b0010beb4544d2mr2811493oaf.158.1656875166817; Sun, 03
Jul 2022 12:06:06 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.cpm
Date: Sun, 3 Jul 2022 12:06:06 -0700 (PDT)
In-Reply-To: <9_WdnfwCgItP6l3_nZ2dnUU7-bXNnZ2d@earthlink.com>
Injection-Info: google-groups.googlegroups.com; posting-host=5.94.147.5; posting-account=uOUOHg4AAADo8AO9B3SI43ekV3AA6lU0
NNTP-Posting-Host: 5.94.147.5
References: <1e84d63c-23cb-418a-944c-fd53b99c3524n@googlegroups.com>
<be93d355-784f-42a7-b365-652d276b4befn@googlegroups.com> <a6CdnXBER-cljCf_nZ2dnUU7-X3NnZ2d@earthlink.com>
<AoOdnTnGKrL87Sf_nZ2dnUU7-QWdnZ2d@giganews.com> <sMWdnfXkNc6Gzib_nZ2dnUU7-K_NnZ2d@earthlink.com>
<JfidnXBKga_cMCD_nZ2dnUU7-UfNnZ2d@giganews.com> <4801d345-af5a-497b-8f0e-9670da6bd444n@googlegroups.com>
<b2d236bb-f86e-49d2-8953-79f5f1b2f5a7n@googlegroups.com> <7a2b2cfa-22d9-44db-9827-2dcfb467578bn@googlegroups.com>
<JpOdnTeYBYHblyP_nZ2dnUU7-XnNnZ2d@earthlink.com> <b0f50771-1222-4920-bc96-e77a698c10b7n@googlegroups.com>
<10603cb9-60a3-4afe-97c9-59183d1650f9n@googlegroups.com> <X6WdnY0hyPxS6CL_nZ2dnUU7-UXNnZ2d@earthlink.com>
<ef692b97-bf58-404a-ab39-bf1661648dd5n@googlegroups.com> <9_WdnfwCgItP6l3_nZ2dnUU7-bXNnZ2d@earthlink.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <6419befa-589b-4355-930a-1896f1b67e2en@googlegroups.com>
Subject: Re: Linux -> CP/M XMODEM transfer timeout
From: paolo.amoroso@gmail.com (Paolo Amoroso)
Injection-Date: Sun, 03 Jul 2022 19:06:07 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: base64
X-Received-Bytes: 3989
 by: Paolo Amoroso - Sun, 3 Jul 2022 19:06 UTC

On Saturday, July 2, 2022 at 6:52:40 PM UTC+2, David Schultz wrote:
> As in start XMTERM (no options!) and then type stuff into minicom and
> see what XMTERM echoes. Sending the termination character when you are done.

Thanks, it looks like I misunderstood how XMTERM works. I thought it was an instrumented version of XMODEM that does file transfers and displays additional diagnostic info. Instead, I seem to understand it's a terminal-like program that essentially echoes the input typed interactively.

Running XMTERM on CP/M with no arguments and no XMODEM.CFG displays only the signon message:

========================
XMTERM 1.1 By M.Eberhard
========================

When I type, nothing happens. Pressing ^Z or ^C doesn't do anything either. With XMODEM.CFG containing /X1 /E /Q, running XMTERM produces multiple copies of the signon message and, again, typing or pressing ^Z/^C does nothing:

========================
XMTERM 1.1 By M.Eberhard
========================

========================
XMTERM 1.1 By M.Eberhard
========================

========================
XMTERM 1.1 By M.Eberhard
========================

========================
XMTERM 1.1 By M.Eberhard
========================

========================
XMTERM 1.1 By M.Eberhard
========================

========================
XMTERM 1.1 By M.Eberhard
========================

In another post you mentioned quiet mode. I tried it at both ends of a file transfer, XMODEM /X1 /Q /R on CP/M and sx -q on Linux, but still got a timeout.

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor