pty receives: '(input)\r\nclient receives: (input)\r\n'