s***@gmail.com
2015-08-12 15:24:46 UTC
C:\Users\Public\Downloads>plink -load HP_Procurve_Telnet
←[2J←[?7l←[3;23r←[?6l←[1;1H←[?25l←[1;1HHP J9147A E2910al-48G Switch
Software revision W.15.08.0012
I started encountering this issue when adapting a Powershell utility (that works for Cisco switches) to telnet to HP Procurve switches.
MS telnet from Windows command window showed no such problem. i.e. that *is* usable but I want to find a way to deal with the hidden characters to go back to my powershell code.
Putty shows no such problem (i.e. it translates away or filters these characters).
I even tried saving the session from Putty and using this in plink call but that did not circumvent the issue.
here is what plink returns:
Please register your products now at: www.hp.com/networking/register
←[1;22r←[1;1H←[1;24r←[22;1H←[24;1HUsername: ←[?25h←[24;1H←[?25h←[24;11H←[24;11H←[?25h←[24;11H←[1;1H←[?25l
←[24;11H←[24;1H
←[?25h←[24;11H←[1;24r←[24;1H←[24;1HPassword: ←[?25h←[24;1H←[?25h←[24;11H←[1;1H←[?25l←[24;11H←[24;1H
←[?25h←[24;11H←[1;24r←[24;1H←[24;1HInvalid password←[?25h←[24;1H←[24;1H
←[?25h←[24;1H←[?25h←[24;1H←[1;24r←[24;1H←[24;1HUsername: ←[?25h←[24;1H←[?25h←[24;11H←[24;11H←[?25h←[24;11
H
I have tried UTF-8 (default) and Latin in Putty to modify the saved session but no success.
What do I have to do on this connection to filter out the extra characters ?
←[2J←[?7l←[3;23r←[?6l←[1;1H←[?25l←[1;1HHP J9147A E2910al-48G Switch
Software revision W.15.08.0012
I started encountering this issue when adapting a Powershell utility (that works for Cisco switches) to telnet to HP Procurve switches.
MS telnet from Windows command window showed no such problem. i.e. that *is* usable but I want to find a way to deal with the hidden characters to go back to my powershell code.
Putty shows no such problem (i.e. it translates away or filters these characters).
I even tried saving the session from Putty and using this in plink call but that did not circumvent the issue.
here is what plink returns:
Please register your products now at: www.hp.com/networking/register
←[1;22r←[1;1H←[1;24r←[22;1H←[24;1HUsername: ←[?25h←[24;1H←[?25h←[24;11H←[24;11H←[?25h←[24;11H←[1;1H←[?25l
←[24;11H←[24;1H
←[?25h←[24;11H←[1;24r←[24;1H←[24;1HPassword: ←[?25h←[24;1H←[?25h←[24;11H←[1;1H←[?25l←[24;11H←[24;1H
←[?25h←[24;11H←[1;24r←[24;1H←[24;1HInvalid password←[?25h←[24;1H←[24;1H
←[?25h←[24;1H←[?25h←[24;1H←[1;24r←[24;1H←[24;1HUsername: ←[?25h←[24;1H←[?25h←[24;11H←[24;11H←[?25h←[24;11
H
I have tried UTF-8 (default) and Latin in Putty to modify the saved session but no success.
What do I have to do on this connection to filter out the extra characters ?