Mail Archives: djgpp-workers/2002/05/08/17:04:36
>> There's no relation between ^Z and newlines whatsoever. Old DOS
>> editors could put a ^Z anywhere, including several ^Zs one after
>Do they ever insert a ^Z in the middle of a file in order to truncate
>it, and not bother to update the filesystem's idea of the file size?
>(This is the only way I can think of that there would be a ^Z with a
>bunch of text after it, when the file is transferred to a system that
I used to possess an old editor that would always round the filesize
up to 512 bytes with complete garbage after the ^Z (usually the tail
end of a directory entry sector). I'm thinking it was the one
included with the original Turbo Pascal, but I could be mistaken
on that front.
- Raw text -