Re: How to execute commands one by one (General questions)
Lax,
ok, assuming \r\n is your LF, wht do you receive in 'Received' line?
I would change ReceiveLine to Receive - perhaps ReceiveLine never returns because there's no full line inside?
Also, change screen = ... to screen = screen + ...., it's better to add to your buffer so if data arrives partially you still receive it. When you see your pattern, empty screen variable.
So, all is there but you're still missing last : ? If you, can you try to send only \n instead of \r\n sequence? Cisco doesn't like \r\n, perhaps this is simple problem.
Kreso
Complete thread:
- How to execute commands one by one - lax4u, 2007-07-03, 00:31
- Re: How to execute commands one by one - wodSupport, 2007-07-03, 01:38
- Re: How to execute commands one by one - lax4u, 2007-07-03, 06:54
- Re: How to execute commands one by one - woddrazen, 2007-07-03, 08:13
- Re: How to execute commands one by one - lax4u, 2007-07-03, 15:27
- Re: How to execute commands one by one - woddrazen, 2007-07-03, 15:53
- Re: How to execute commands one by one - lax4u, 2007-07-03, 15:59
- Re: How to execute commands one by one - wodSupport, 2007-07-03, 16:03
- Re: How to execute commands one by one - lax4u, 2007-07-03, 16:19
- Re: How to execute commands one by one - wodSupport, 2007-07-03, 16:26
- Re: How to execute commands one by one - lax4u, 2007-07-03, 17:10
- Re: How to execute commands one by one - wodSupport, 2007-07-03, 17:41
- Re: How to execute commands one by one - lax4u, 2007-07-03, 17:41
- Re: How to execute commands one by one - wodDamir, 2007-07-03, 17:57
- Re: How to execute commands one by one - lax4u, 2007-07-03, 18:15
- Re: How to execute commands one by one - wodDamir, 2007-07-03, 18:26
- Re: How to execute commands one by one - lax4u, 2007-07-03, 20:56
- Re: How to execute commands one by one - wodDamir, 2007-07-03, 21:10
- Re: How to execute commands one by one - lax4u, 2007-07-03, 20:56
- Re: How to execute commands one by one - wodDamir, 2007-07-03, 18:26
- Re: How to execute commands one by one - lax4u, 2007-07-03, 18:15
- Re: How to execute commands one by one - wodDamir, 2007-07-03, 17:57
- Re: How to execute commands one by one - lax4u, 2007-07-03, 17:41
- Re: How to execute commands one by one - wodSupport, 2007-07-03, 17:41
- Re: How to execute commands one by one - lax4u, 2007-07-03, 17:10
- Re: How to execute commands one by one - wodSupport, 2007-07-03, 16:26
- Re: How to execute commands one by one - lax4u, 2007-07-03, 16:19
- Re: How to execute commands one by one - wodSupport, 2007-07-03, 16:03
- Re: How to execute commands one by one - lax4u, 2007-07-03, 15:59
- Re: How to execute commands one by one - woddrazen, 2007-07-03, 15:53
- Re: How to execute commands one by one - lax4u, 2007-07-03, 15:27
- Re: How to execute commands one by one - woddrazen, 2007-07-03, 08:13
- Re: How to execute commands one by one - lax4u, 2007-07-03, 06:54
- Re: How to execute commands one by one - wodSupport, 2007-07-03, 01:38