Reading Single Keystrokes

See the example 12.3.2 for how to read single keystrokes from STDIN.