in reply to Re^2: Telnet command with more than 1024 chars (updated)
in thread Telnet command with more than 1024 chars

While I'd second going to a different protocol than telnet, I know SSH has to be installed from external sources, e.g. Cygwin or KpyM. Perhaps on newish systems with their "Linux subsystem" it might be included.

However, your problem sounds similiar to one that occurs when accessing routers, which typically default to paging after 24 lines and/or inserting line breaks after 80 characters. So my suggestion is: telnet in manually, issue the "escape character" (usually something like ctrl+] ), and enter "display". According to this, that should show you the parameters that are in effect. Perhaps you can see/set line width and/or page length there. In that case, Net::Telnet's option_state, option_send, etc. could be used.

  • Comment on Re^3: Telnet command with more than 1024 chars (updated)

Replies are listed 'Best First'.
Re^4: Telnet command with more than 1024 chars (updated)
by ElectricCheese (Initiate) on Jul 25, 2017 at 19:17 UTC

    Hi soonix, I gave a look at you suggestion, indeed I thought there were should be a setting but unfortunaly I didn't found anything useful. Regarding the TELNET protocol, it is a legacy server, but I doubt if the infra team are willing to change the server... But thanks for your help my fellow monk!