title: How to write an application that uses the terminal as GUI? (in C)
body: <p>I'd like to write an application (in C) that uses the terminal of a *nix OS as its GUI. I mean an application of the kinds of emacs, vi etc. that take up the whole terminal window and jump back to the input prompt after quitting.<br>
  How would you go about doing that, preferably in C? Can someone point me to a tutorial covering that?</p>