knipknap / exscript

A Python module making Telnet and SSH easy
MIT License
367 stars 136 forks source link

Read Unitl hangs ? #240

Open nBoeninger opened 2 months ago

nBoeninger commented 2 months ago

Hello there,

so i'm using your pkgs and have a question about the read_until Functions in particular, from the Telnet Client Class.

I'm using the function like this in my code:

ret = read_until(b'\r', 10)

My issue is, that it always timesout. So it dosen#t stop after receiving '\r' . I've also used raw_getchar to verify that a \r received at all.

Am I missusing the function ? Since it was working like that with the TelnetLib...