Help for this page
Q: How do I send control characters to a process? A: You can send any characters to a process with the print command. ... $exp->send("\cC");
$vt220_pgup = chr(27) . chr(91) . chr(51) . chr(126); print $exp $vt220_pgup