Are there some good texts (tutorials, faqs, anything?) on web about how to write terminal independent programs? I need to a make a very simple little text editor, so I need information on how to make fast routines that would write to a terminal, and how to interpret the data received form the keyboard.
Attila