3 ms·
Off topic, but in the section of the best one being PNG, there’s this: > The second-to-last byte is a Ctrl-Z, used on some systems as an end-of-file marker in
by colejohnson66 7y ago
Off topic, but in the section of the best one being PNG, there’s this:
> The second-to-last byte is a Ctrl-Z, used on some systems as an end-of-file marker in text files. Not only does it detect improper text handling, it also stops you from getting a screen full of garbage if you "type" the file under MS-DOS.
Why does MS-DOS stop reading at an EOF market and not the true end of the file? I admit, I’m too young to have used DOS, but didn’t FAT(12/16) have file sizes?
- jolmg 7y agoA more interesting question I think is why it would stop you from getting a screen full of garbage if it's at the second-to-last byte? If it were at the second byte, or if one read files from the end to the beginning then OK, but I doubt that's the case.