Cross platform solution for automating ncurses-type telnet sessions

前端 未结 1 1555
误落风尘
误落风尘 2021-01-19 15:04

Background

Part of my work in networking and telco involves automating telnet sessions when legacy hardware doesn\'t offer easy solutions in other i

相关标签:
1条回答
  • 2021-01-19 15:44

    Take a look at demos/Expect/term_expect in the ActiveTcl distribution. It emulates a cursor-addressable terminal and allows you to test output at specific screen locations. Check out the example screen-scraping code at the end of the file.

    0 讨论(0)
提交回复
热议问题