add cat command, pexpect 2.4 only