Starting to add terminal emulation support.