Hello. I have a question about Scripting mechanism.
I got the following result after executing SSH command.
2016-11-18 13:31:15.630 VERBOSE Ssh(1)[10] Info: Received data:
0000 |1B-5B-34-32-44-20-20-20 20-20-20-20-20-20-20-20| .[42D
0010 |20-20-20-20-20-20-20-20 20-20-20-20-20-20-20-20|
0020 |20-20-20-20-20-20-20-20 20-20-20-20-20-20-20-1B| .
0030 |5B-34-32-44 | [42D
2016-11-18 13:31:15.630 VERBOSE VirtualTerminal(0)[10] Scripting: WaitFor: polling data for max 50 ms.
2016-11-18 13:31:15.644 VERBOSE Ssh(1)[12] SSH: Received packet SSH_MSG_CHANNEL_DATA (51 bytes).
0000 |5E-00-00-00-00-00-00-00 2A-20-6E-74-70-2D-73-65| ^.......* ntp-se
0010 |72-76-69-63-65-20-75-6E 69-63-61-73-74-2D-73-65| rvice unicast-se
0020 |72-76-65-72-20-31-39-32 2E-31-36-38-2E-31-30-30| rver 192.168.100
0030 |2E-32-38 | .28
Scripting.ReceivedData return:
" ntp-service unicast-server 192.168.100.28"
or
"42D 42D ntp-service unicast-server 192.168.100.28"
I tried to use all terminal types (Ansi, Wyse60, Pick, VT52).
I expect to see:
" ntp-service unicast-server 192.168.100.28"
(all without double quotes)
Does the Scripting mechanism support "1B-5B-xx-xx-44" (ESC[nD) sequence? How i can properly use it?