wanted: source-code for editor

Would any-one be able to help me get the source code for a MSDOS EDIT
type text editor?  It will have to be copy right free and suitable for
Borland Turbo Pascal 6.0.  I don't want to run it in the Turbo Vision
environment, but just in the IDE.
Any responses greatly appreciated, preferrably to my e-mail address:

Ralph Holwerda.