If escape key is a printable character, require it to be immediately
after newline.  Also don't allow setting escape key to Ctrl-C, Ctrl-D,
Newline, or Carriage Return.

Signed-off-by: Timo J. Rinne <tri@iki.fi>