Note that there are some explanatory texts on larger screens.

plurals
  1. POCross platform solution for automating ncurses-type telnet sessions
    primarykey
    data
    text
    <p><strong>Background</strong></p> <p>Part of my work in networking and telco involves automating telnet sessions when legacy hardware doesn't offer easy solutions in other interfaces. Many older pieces of equipment can only be accessed via craft ports (RS-232 serial ports), SNMP, or telnet. Sometimes telnet is the only way to access specific information, however telnet is designed as a human interface and thus requires screen scraping. In addition, there is also the issue of scraping screens where only portions are updated in order to save bandwidth (see <a href="http://en.wikipedia.org/wiki/Ncurses" rel="nofollow noreferrer">ncurses</a>). In my work I have used ActiveState Expect and the Python telnet library.</p> <p><strong>Question</strong></p> <p>Which languages and libraries are able to automate telnet sessions and have the following requirements:</p> <ul> <li>Suitable for large projects (e.g. Tcl doesn't seem to scale as well as Python in my experience and seems outdated)</li> <li>Cross Platform (e.g. <a href="http://www.noah.org/wiki/Pexpect#pty_module" rel="nofollow noreferrer">Pexpect does not work on Windows</a> and <a href="http://docs.activestate.com/activetcl/8.5/expect4win/ex_usage.html#cross_platform" rel="nofollow noreferrer">Activestate Expect behaves differently on Windows</a> plus requires DEP on newer machines to be turned off)</li> <li>Able to screen scrape sessions that repaint portions of the screen (similar to the behavior of ncurses in command-line programs)</li> <li>Free as in beer!</li> </ul> <p>A preferable solution would also include the following:</p> <ul> <li>Easily redistributable (e.g. Does not require some huge runtime to be installed on a machine.)</li> <li>Also works for SSH, serial connections, and other command-line interfaces.</li> </ul>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload