Mike_Z
Veteran Member
Well.....I've been playing around with the CP/M ED command. I can make a text file and edited it with no troubles. Seems that it also makes a back up copy as *.BAK. At first, I was a little confused in that the very first BAK file was empty. Well, so is the source file at the beginning. As you edit the file again and again then the BAK file has some thing in it.
I have run into another problem. This time it is with the TYPE command. When I first started I had small text files, less than 128 bytes or one record. The TYPE command worked fine displaying these small files. Later when I started to make larger files, more than one record, the TYPE command didn't work completely. For some reason, it will display the first record as before, but for the next n records of the file, it just re-displays the first record, n times. It doesn't seem to increment the record number when displaying the file. Yet when I display the same file in ED with a '20T' it is displayed properly and if it is changed, those changes are also correct. I checked using IMD to see if the extent #, allocation blocks, etal in the directory were correct and everything looks OK. I'm wondering if my ED.COM that I copied from my original 8" disk may be corrupt. Mike
I have run into another problem. This time it is with the TYPE command. When I first started I had small text files, less than 128 bytes or one record. The TYPE command worked fine displaying these small files. Later when I started to make larger files, more than one record, the TYPE command didn't work completely. For some reason, it will display the first record as before, but for the next n records of the file, it just re-displays the first record, n times. It doesn't seem to increment the record number when displaying the file. Yet when I display the same file in ED with a '20T' it is displayed properly and if it is changed, those changes are also correct. I checked using IMD to see if the extent #, allocation blocks, etal in the directory were correct and everything looks OK. I'm wondering if my ED.COM that I copied from my original 8" disk may be corrupt. Mike