Re: Text editting
I knew I should have qualified that. Curses was an API abstraction layer allowing people to write software without having to know what terminal type was going to be used. It was written by Ken Arnold at UC Berkeley, and was shipped with BSD, before being re-implemented in System III Unix by AT&T.
Interestingly, the Wikipedia article asserts that strictly speaking vi predated curses, and curses heavily borrowed code from vi. After all this time, you learn something new.