hello,
sorry buy if you are referring to word perfect and dos, then i cant suggest atm.
but if you have windows, try Notepad++
its a free text editor that is more detailed and has options for checking/doing color-coding for basic programming code
Notepad++ Home page is here
http://notepad-plus-plus.org/
for basic text editing
doing some basic code checking