Thank you all for your replies. I've looked into the solution with expect - though I don't have the package and the box I'm running the script on is very limited.
The software is indeed Cisco, but my other switches/routes are a different kind (huawei, etc) and they do not have any support for terminal length.
Perhaps my best option would be to use a basic i/o socket, and just read for the '--More--'-line and send a space, or whatnot?
Thanks in advance.In reply to Re^2: Problem with telnet and paging
by anton
in thread Problem with telnet and paging
by anton
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |