Changed the escape key to chr(4) (end transmission)