ctype.h and termios.h added back in. Accidentally removed.