Notes on terminal programming.

Notes on terminal programming.

If you want get keys pressed immediately, not only after pressing enter, amongst other nice terminal programs features, you have to talk with the "termios driver", according to this talk, at 09:06.

Animations In The TERMINAL [Animating With ASCII]:

You can read stty state with stty -g at the start of the program and then use that as the argument of stty to return to the previous state. While using it to read the state within a program, stty complained about something like "not a typewriter". Need to figure that one out. Right now there is no other way but to use something like termion, the "gay space communism" (sheesh...) project (I wish I were kidding...).

Oops! According to I can do this:


What exactly is inherited stdin? the same stdin as the father process?