On Tue, 15 Feb 2022, at 17:49, Adi Roiban wrote:
Hi
On Tue, 15 Feb 2022 at 15:47, Peter Westlake <peter.westlake@pobox.com> wrote:
I'm using twisted.conch.telnet to send commands to a switch, and the output is coming back with newlines added after the 80th character. It doesn't do that if I log in to the switch interactively. Is there some configuration setting in the telnet protocol that I haven't found, to stop it doing this?
I am not sure what "log in to the switch interactively" really means :)
"telnet switchname" at the Linux command line, instead of running my Twisted program.
Since this is telnet, I guess that you can capture the communication between and you and the switch and see what are the differences.
I'll try. But even if I find it, it will be Twisted sending the different messages, and I'll still need to know how to stop it wrapping. Peter.