Now the question is how can I interactively enter carriage return "\r".
Not quite sure whether you want the paging to continue by literally entering CR on the terminal from which you ran the script (i.e. by interactively pressing ^M), or whether you want the script to automatically send CR. In case of the latter, have you tried put() after the waitfor()?
$telnet->put("\r");
In reply to Re: telnet to router
by almut
in thread telnet to router
by umair
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |