ttype is a program that allows you to set your terminal type with a single keypress.
Naturally, few people need to select a terminal type anymore (almost everything does vt100 now), so today it's mostly useful as an
example of doing single-character I/O in C.