Chapter 18

18.1

Note that you have to terminate the reset command with a line feed character, not a return, since the terminal is in noncanonical mode.

18.2

It builds a table for each of the 128 characters and sets the high-order bit (the parity bit) according to the user's specification. It then uses 8-bit I/O, handling the parity generation itself.

18.3

If you happen to be on a windowing terminal, you don't need to log in twice. You can do this experiment between two separate windows. Under Solaris, execute stty -a with standard input redirected from the terminal window running vi. This shows that vi sets MIN to 1 and TIME to 1. A call to read will wait for at least one character to be typed, but after that character is entered, read waits only one-tenth of a second for additional characters before returning.