Groups | Search | Server Info | Login | Register


Groups > comp.os.cpm > #14502

Re: Transferring text files to CP/M ?

From Nils M Holm <nmh@sraddha.invalid>
Newsgroups comp.os.cpm
Subject Re: Transferring text files to CP/M ?
Date 2025-07-23 09:14 +0000
Organization TARFU
Message-ID <mebngbFnm7dU1@mid.individual.net> (permalink)
References <687f914f$1@news.ausics.net> <1854a6b2e7fe52fd$82327$1040375$70dd3a6b@news.thundernews.com> <688043ab$1@news.ausics.net>

Show all headers | View raw


dxf <dxforth@gmail.com> wrote:
> On 23/07/2025 4:37 am, John wrote:
>> 
>> A properly written program will stop at the EOF marker ($1A), so there is no need to pad additional $1As after the first one.? All that data is 'don't care' mode as it will never be processed. That's the way I've always done it.
>> ...
> 
> I think I'll do that from now on.  Padding the file length out to a record
> was done out of an abundance of caution.  But if nobody else has found it
> necessary, then it's less work for me.  I had a utility to pad files but
> being an extra step, it was more hassle than worth.

Just to add another data point: all programs I have written so far
would interpret a single $1A as the EOF.

-- 
Nils M Holm  < n m h @ t 3 x . o r g >  http://t3x.org

Back to comp.os.cpm | Previous | NextPrevious in thread | Find similar


Thread

Transferring text files to CP/M ? dxf <dxforth@gmail.com> - 2025-07-22 23:25 +1000
  Re: Transferring text files to CP/M ? John <john@somewhere> - 2025-07-22 13:37 -0500
    Re: Transferring text files to CP/M ? dxf <dxforth@gmail.com> - 2025-07-23 12:06 +1000
      Re: Transferring text files to CP/M ? Nils M Holm <nmh@sraddha.invalid> - 2025-07-23 09:14 +0000

csiph-web