in reply to Edit in place (part2)
Seems most likely there is something external going on, like the file is accessed over a slow network or is mapping to the console in some fashion. On the face of it the code is fine.