On 2/5/23 1:11 PM, Charlie Gibbs wrote:
> On 2023-02-04, 26C.Z968 <
26C....@noaada.net> wrote:
>
>> On 2/3/23 8:35 PM, Charlie Gibbs wrote:
>>
>>> On 2023-02-03, 26C.Z968 <
26C....@noaada.net> wrote:
>>>
>>>> On 2/2/23 5:48 PM, Charlie Gibbs wrote:
>>>>
>>>>> I was the first one to mention control-Z (as hex 1a) in the context
>>>>> of a brain-damaged feature which MS-DOS blindly inherited from CP/M.
>>>>> Under CP/M it was needed; under MS-DOS it's just cargo-cult programming.
>>>>
>>>> "Cargo cult" ... perhaps an apt description :-) CP/M did it
>>>> and so DOS, pretty much a straight-up CP/M rip-off (just
>>>> made 'pip' live), copied it without a thought.
>>>
>>> One thing that MS-DOS didn't inherit, but invented on its own,
>>> was the COPY command's refusal to copy zero-length files.
>>> PIP would do it quite happily.
>>
>> And SHOULD !
>>
>> I often use zero-length files for 'markers' ... the most
>> obvious use is "touch". If all you really need is the
>> datetime of the touched file, why put any crap IN it ?
>
> 'zackly.
>
> Another cute use of a zero-length file in CP/M is that if your
> program is serially re-usable and the image is still sitting
> in memory, running a zero-length file will re-run it.
> Hence my creation of a zero-length file called
RERUN.COM.
Hey ... I never knew THAT would work ! :-)
>>>> OTOH ... there were and still are a lot of systems and file
>>>> schemes out there so an "official EOF" char for text files
>>>> isn't the worst idea.
>>>
>>> Everybody does it, so it must be good. Uh-huh.
>>
>> To a point that's actually TRUE. Standardization.
>>
>> As, as I said, there are LOTS of systems still in use,
>> by all means go with the "standard". The OS may or may
>> not need that Ctl-Z, but hey, it's ONE byte .....
>
> One byte which has caused untold grief over the years.
> An early version of MS-DOS (3.0?) contained a bug where
> if you re-directed output to append to a file (e.g.
> DIR >>foo), it would not overwrite a hex 1A if it was
> at the end of the file. Thus any additional data would
> be lost. M$ fixed that one pretty quickly.
Bugs everywhere ... at least they fixed it promptly.
These days they'd hide or even try to excuse it .....
Try to map NAS folders to drive letters. They won't let
you reference the IP more than once (ok, twice the first
time if you use the formal name of the server (//serverQ)
and then it's IP). Users REALLY LIKE drive letters, it's
something they can easily remember ... "X" is for, "M"
is for ... but you have to DEFEAT MS by making lots of
alias IP addresses for the server. This has been going on
for a LONG time - no explaining, not even excuses. Not
SURE if it applies if you use a WINDOWS server though
(I'll check that soon, BET they don't limit WinSvr !).
>> I still have a Kaypro-4 and floppies with old but interesting
>> stuff on them so, hey, I *might* want to port it back and forth
>> tomorrow ......
>>
>>>> CP/M isn't quite dead, variants live
>>>> on in the embedded sector and you can still buy brand-X
>>>> Z80s ... what if I want to bring a DOS file into it and
>>>> there's no Ctl-Z ???
>>>
>>> That depends on the protocol. There are all sorts of ways to
>>> determine end of file, including length fields in data blocks.
>>> What if an incoming data stream suffers a line hit and a byte
>>> gets corrupted to hex 1A? Say goodbye to the rest of your data.
>>> BTDTGTS (been there, done that, got the scars)
>>
>> Yes, there are "all sorts of ways" - but Ctl-Z is a really
>> really EASY way for text-like files.
>
> And you know what they say about quick-and-dirty fixes:
> in the end they're seldom quick, but almost always dirty.
> It doesn't take that much more effort to Do The Right Thing.
Ummm ... but REMEMBER THE ERA. "That Much More" meant
MORE code/bytes and in a 16/32/64-kb universe that
really MEANT something important. Ctl-Z was a really
cheap fix. If I'm doing microcontrollers I *will*
take the path that saves even a dozen bytes or so
because there just aren't many bytes to spare.
>> Alas I got into Amiga TOO early, the 1000 series.
>> Actually had to split the price between two credit cards.
>
> I came into a bit of money in March 1986 and bought a 1000.
> (I still have it, complete with Jay Miner's autograph on the case.)
>
>> There were SO many "Guru Meditations" that I got rid of
>> the thing almost immediately.
>
> Lack of memory protection was a major weakness. Many of us
> learned to avoid software with poor memory management.
But you had to know what that software was - and, at the
time, that meant obscure computer mags or BBS's. The more
usual scene was "buy 4 $$$, hope, usually get *screwed*").
The BYTE Mag BBS/forum was a very good tool. For hardware
and software it could be almost as good a Google search
nowadays.
>> Still had some good features mixed-in with all the
>> OS bugs though.
>
> It was still pretty good compared to all the DOS/Win bugs.
> And real multitasking was a first.
Well, depends ... there was OS-9 on the RS CoCo's which
was pretty unix-like (and is STILL sold (MicroWare) for
embedded/IOT projects as a good NRTOS). I'd pay for a
modernized OS-9/64 with GUI that'd run on PCs or Pi's.
Might give the BSDs a good run.
https://microware.com/
But for those who'd only used DOS or early Win then
yes, AOS was a big leap. The graphics capabilities were
way beyond anything running Win or even Mac at the time
as well.
The guy I dumped it on needed to do stuff on captured
NTST-Cam (the kind with video TUBES) frames. For fun
point a tube camera at a tube TV ... then you'll see
where the opening for the old "Dr. Who" came from.
Oh, I *do* have Win-1.1 on a VM .... it's *horrible* !
Could do better on a C64 at the time. Also saved ONE
BYTE mag, with a review of something called "Windows 1"
in it :-)