Dennix @dennix@octodon.social
Follow

Anyone has an idea or hint on this problem?
I want to read a log from a device using telnetlib. I send "show log" and then get a reply, but if it's longer than 22 lines, the device waits for the user to press return before displaying the rest. I don't know an "expected" string to use with read_until, nor do I know how long the reply will be.
Any help would be appreciated :)

· Web · 1 · 0