-APUE-:
fig18.10, disable interrupt character and change end-of-file character.