@olsen
Thank you for the insight on the current buggy status of the AmigaOS 3.x implementation of Edit.
I will definately stay away from the read function.
Is it possible by any chance, that you build a fix for 3.1 and/or 3.9 users that just addresess the most dangerous bugs it has? You could probably release it as a spatch file without issues.
It could happen. Much of the rework that went into making AmigaOS4 never was available to 68k AmigaOS users. There's a whole lot of interesting and useful stuff which, with little changes, could be released as part of an updated Workbench 3.10 or something like it.
The BCPL heritage in AmigaOS seems to be just a troublemaker everywhere it went 
Well, it occasionally makes for good late night entertainment. The original "Edit" BCPL version, which I used as a reference to (sort) figure out if the problems were with the port or the original code, is one big lump of code. 47 KBytes of BCPL goodness with very few documentation comments to show you how it works or why it works.
One implementation detail which puzzled me was eventually cleared up after finding a description of the BCPL language and its operators. Apparently, BCPL has no modulus operator ('C' uses '%'), so the author of "Edit" needed to find a different solution which was more elaborate than it might have been in 'C', for example.