12 Terminal Handling

FIXME: finish

12.1 term

12.2 term.defs